Chapter 7: 
http://web2py.com/books/default/chapter/29/07/forms-and-validators
in different sections:
process 
http://web2py.com/books/default/chapter/29/07/forms-and-validators#The-process-and-validate-methods
custom & widget 
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms


On Tuesday, April 5, 2016 at 4:12:20 PM UTC-4, Jun Q wrote:
>
> May be a dummy question, I am a new user of Web2py
>
> * I have created a table with couple attributes in the model
>
> I saw a code written in the following way:
> *In the controller:*
> myform = SQLFORM(db.tablename).process()
> ....
>
> *In the view:*
> {{=myform.custom.begin}}
> ....
> {{=myform.custom.widget.attribute1}}
> ....
> {{=myform.custom.widget.attribute2}}
> ....
> {{=myform.custom.end}}
>
> Could any one tell me what is the SQLFORM(db.tablename).process() return ? 
> And what is the "custom" and "widget" here? 
> Which part in the web2py manual I can look for more detail?
>

-- 
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