Same as usual -- you have to create a FORM (or SQLFORM) object in the 
controller and use form.accepts (or the newer form.process). You can create 
the form manually in HTML and just make sure you include the _formname 
hidden field 
(see http://web2py.com/book/default/chapter/07#SQLFORM-in-HTML), though that 
won't involve a _formkey and therefore won't provide CSRF protection. A 
better way is probably to use SQLFORM.factory and use the method described 
here (http://web2py.com/book/default/chapter/07#Custom-forms) to customize 
the HTML.

Anthony

On Tuesday, October 11, 2011 7:01:53 AM UTC-4, Web2Py Freak wrote:
>
> Dear All , 
>
> i want to build a form in html and when the form is accepted  send its 
> content  in a Email , i know how to email it  but i want to know how 
> can i catch it in the controler and see if its accepted  , how can i 
> do that ??

Reply via email to