form=FORM('enter your name:', INPUT(_'name',_value='John Doe'),
INPUT
(_type='submit'))

On Feb 12, 9:40 pm, ionel <[email protected]> wrote:
> Hello everyone,
>
> There is a way to pre-populate a simple form?
>
> Ex:
>
>     form=FORM('enter your name:', INPUT(_'name'), INPUT
> (_type='submit'))
>
> I tried
>
>     form.vars.name="John Doe"
>
> No succes
>
> Thank you for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to