Page 1 of 1

Non-blank required fields

PostPosted: Fri May 14, 2010 9:49 am
by sheriff_deadeye
A field with a 'required' validator, still allows all spaces. So, if I open an edit form and put all spaces in a required field and save, the record will save. When i return to the list screen, that record does not appear.

so question is...can a 'no all spaces' validator be created in the fields.ini file, or is a custom validation function needed ?

thanks once again steve, you have been a tremendous help.

Re: Non-blank required fields

PostPosted: Fri May 14, 2010 10:56 am
by shannah
You could use a regex validator in addition to required.
http://xataface.com/wiki/validators