Thanks, that makes sense.

On Apr 10, 7:58 am, DenesL <denes1...@yahoo.ca> wrote:
> You can set the field's requires using IS_EMAIL and IS_IN_DB
> validators and on form.accepts (if using FORM or SQLFORM) check if it
> is different from the initial setting.
>
> On Apr 10, 1:34 am,waTR<roman.goldm...@gmail.com> wrote:
>
> > I have a field whose value I set to a user's email, from the DB. I
> > need to have the field check the following:
>
> > If user enters NEW email, check if email is already in DB and flash
> > error message if it does, otherwise, if user doesn't change their
> > email, process form normally.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to