In a function I have the following line of code:
form=form_factory(SQLField('plaats',requires=IS_NOT_EMPTY
(),widget=lambda self, value:INPUT
(_type='text',_id='clubbyplace',_class='ac_input',_name='plaats',requires=self.requires)))
When the view is displayed I would like the input field to have the
focus. How do I set the focus in case of from_factory?
Kind regards,
Annet.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---