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