Page 1 of 1

allowed values for numeric custom field

Posted: Thu Jan 05, 2012 8:16 pm
by backupbetter
TL 1.9.3

on previous version we use TL 1.7.4, the custom field type "numeric" allowed us to enter the value eg "1.2.3.4" however in TL 1.9.3 it will only accept the value "1234" without the "."s. was there a change in the allowed value for this custom field type?

thanks!

Re: allowed values for numeric custom field

Posted: Fri Jan 06, 2012 8:35 am
by fman
1.2.3.4 is not a numeric value => if 1.7.4 accepted it was an bug.
IMHO instead of breaking new checks change type to string.
if in anyway you want to change this you need to look for the Javascript validation functions normally present on
gui/javascript/

Re: allowed values for numeric custom field

Posted: Fri Jan 06, 2012 6:08 pm
by backupbetter
thanks fman!

i've implemented the CF as a string.