hi, it's possible to validate an input after ai inserted it in a form?

auth_form = auth.register()

auth_form.custom.widget.ebayusername = INPUT(_name='ebayusername', 
 _type='text', requires=IS_NOT_EMPTY()) 
auth_form[0].insert(-1, auth_form.custom.widget.ebayusername)

response.view = 'registration/step1.html'
return dict(auth_form=auth_form)

actually i need to use validator without adding a field in 'define table'. 
a second solution i saw is to create another form in my function but in 
this case i will have 2 forms and i need just 1 submit. any ideas? thanks

-- 
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/groups/opt_out.

Reply via email to