INPUT(_name='title',_value=session.data['title'])

On 20 feb, 17:36, weheh <richard_gor...@verizon.net> wrote:
> I'm trying to set the default value of a form ... something like this:
>
> form=FORM(T('Title: '),
>       INPUT(_name='title',default=session.data['title']),
>       INPUT(_type='submit',_value='Set'))
>
> But when the form pops up in the view, the title field is blank, even
> though the session.data['title'] is not blank.
>
> Anybody know what I'm doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to