On 10 March 2015 at 06:53, horridohobbyist <[email protected]> wrote:
I use SQLFORM to add records to a table. However, one of the fields is a > password which requires=[IS_STRONG(upper=2),CRYPT(salt=False)]. > > I would like to use SQLFORM to update records in the table, but I run into > a problem: the password field contains the hash of the password, which > will not pass validation. So even if I don't change the password field, > SQLFORM insists that I enter something that can be validated. > > If I can't use SQLFORM, then I will have to build my own form and do > everything from scratch, essentially mimicking SQLFORM. That seems to me to > be a lot of unnecessary work. > > Is there an easy workaround? > > (Yeah, I'm still a web2py newbie.) > Showing your code will help people on this list to help you. Regards Johann -- 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/d/optout.

