[web2py] Re: Odd field validation issue

2014-11-11 Thread Willoughby
I think one is for forms, one is for the insert. From the book: Notice that requires=... is enforced at the level of forms, required=True is enforced at the level of the DAL (insert), while notnull, unique and ondelete are enforced at the level of the database. While they sometimes may seem

[web2py] Re: Odd field validation issue

2014-11-11 Thread Cliff Kachinske
OK, except I have other apps where required=True works as expected, that is, it causes a validation failure when the field is submitted empty. These other apps are running on the same Web2py instance, so this is puzzling. On Tuesday, November 11, 2014 10:54:21 AM UTC-5, Willoughby wrote: I

[web2py] Re: Odd field validation issue

2014-11-11 Thread Anthony
On Tuesday, November 11, 2014 10:59:19 AM UTC-5, Cliff Kachinske wrote: OK, except I have other apps where required=True works as expected, that is, it causes a validation failure when the field is submitted empty. These other apps are running on the same Web2py instance, so this is