Hi All,
         It may be simple one but I want to know how to *add multiple 
onvalidation functions/methods* in my code. For example If I want to check 
for userlimit reached for users before adding one as well as want to check 
for duplicate users for the same form which exists in other function. 

form = SQLFORM(db.numbers)
if form.process(*onvalidation*=*my_form_processing*).accepted:
      do something .... 

def my_form_processing(form): 
       do something ... 

Regards,

Rahul

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/3d4fcb20-8e3b-483e-afe9-dbf40739df60n%40googlegroups.com.

Reply via email to