you can do for example (assuming trunk) form.element(_name=='password').insert(INPUT(_name='password2',requires=IS_EQUAL_TO(request.vars.password)))
if you do not use trunk instead of IS_EQUAL_TO(request.vars.password) you can use IS_EXPR('value=%s' % repr(request.vars.password)) On 2 Lug, 04:58, elfuego1 <elfue...@gmail.com> wrote: > Since I am customizing my registration form, can you tell me what to > do to have password verification functionality? I don’t know how to > implement it in my form. I have password input field in the form and > corresponding field in my database. Do I have to add additional field > for password2 and somehow compare those two fields or is there some > functionality in web2py which I could use out of the box? > > Best regards.