>
> 2. hidden is included to make sure that the update back end operation does 
> not make those fields as NULL. Not sure if the below alternatives will 
> work: (a) using 'readonly' attribute so that the values go to the back end 
> - but does it happen in all the browsers? (b) may be we can remove the 
> disabled attribute just before submitting the form?)
>

Yes, but note that SQLFORM will not actually do anything with the values in 
the hidden fields, so you would have to write additional code to update 
form.vars with those values before processing the form.

Anthony

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to