Non-blank required fields

A place to discuss development of the Xataface core.

Non-blank required fields

Postby 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.
sheriff_deadeye
 
Posts: 11
Joined: Mon Feb 22, 2010 10:46 am

Re: Non-blank required fields

Postby shannah » Fri May 14, 2010 10:56 am

You could use a regex validator in addition to required.
http://xataface.com/wiki/validators
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Developers

Who is online

Users browsing this forum: No registered users and 22 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved