It depends on other things but required=True does not mean that the field cannot be '' or None. It means that a value must be specified when doing an insert (that value can be '' or None). It is different from requires=IS_NOT_EMPTY() which means that the value cannot be '' or None.
On Monday, 20 January 2014 18:20:56 UTC-6, horridohobbyist wrote: > > When I specify "required=True" in a Field definition, Database > Administration STILL lets me insert records with empty fields. What am I > missing? > > Thanks. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

