Just use pure HTML as usual and (a) make sure the "name" attributes of form 
fields correspond to the names of your database table fields, and (b) at 
the end of the form, include the following:

{{=form.custom.end}}

in place of:

</form>

form.custom.end includes the two hidden fields used by web2py for form 
processing as well as the closing form tag.

You might find, though, that you can handle most custom forms via the 
method discussed here: 
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms.

Anthony

On Friday, February 6, 2015 at 1:49:41 PM UTC-5, JoeCodeswell wrote:
>
> Dear Anthony,
>
> You said, "And if you need a completely customized form, you can do so by 
> writing a formstyle function, using form.custom, or with hand-coded HTML. 
> With the latter two options, if you need to re-use the form code, you can 
> put it in a template and "include" it where needed."
>
> Thanks, Anthony. I often find I "need a completely customized form". 
>
> Is there an example of using a hand-coded HTML form with standard web2py 
> Model/Controller-Action code? I'm sure you know about it if there is.
>
> Thanks, Anthony.
>
> Love and peace,
>
> Joe
>
> On Tuesday, January 27, 2015 at 9:14:06 AM UTC-8, JoeCodeswell wrote:
>>
>> Dear web2py-users,
>>
>> Here is my question about the roadmap goals for web2py development. 
>>
>> Will the goals for web2py development be oriented to serve 
>>     Web Developers MORE THAN Website Administrators or 
>>     vice versa? 
>>
>> I personally think web2py should serve Web Developers MORE THAN Website 
>> Administrators.
>>
>> However, i think it is often the case that web2py serves Website 
>> Administrators MORE THAN Web Developers. I think this is especially true 
>> regarding the target users of plugins and wizards.
>>
>> Thanks for a GREAT framework.
>>
>> Love and peace,
>>
>> Joe
>>
>

-- 
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/d/optout.

Reply via email to