Hi Richard,
Thanks for your reply.
I had a couple of IS_NOT_EMPTY() validators in some modules which modify
the default
settings of a table. Adding error message to these validators solved the
problem.
Kind regards,
Annet
--
---
You received this message because you are subscribed to
In my table definitions I have validators like this one:
IS_NOT_EMPTY(error_message='Enter your last name')
In appadmin: http://127.0.0.1:8000/dbModel/appadmin/insert/db/register#
when I leave the field last_name empty and submit the form the error_message
is being displayed, however, in the
Where do you set the IS_NOT_EMPTY() validator? Do you redefine you
validator for this field in you controller?? Something like this
# model
Field('youfield', 'type', requires=IS_NOT_EMPTY(error_message='Enter your
last name'))
# If you do that in the controller
3 matches
Mail list logo