Non-blank required fields

Archived from the Xataface Developers forum.

sheriff_deadeye — Fri May 14, 2010 9:49 am

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.


shannah — Fri May 14, 2010 10:56 am

You could use a regex validator in addition to required.
http://xataface.com/wiki/validators