Annet,

to create an auto-complete field in form_factory I would use a widget,
as in:

form=form_factory(SQLField('plaatsnaam',
  label='Type eenplaatsnaam',
  requires=IS_NOT_EMPTY(),
  widget=lambda self,  value:TAG[''](
    INPUT(_class="string",
              _id="plaatsnaam",
              _name="plaatsnaam",
              _type="text",
              _onkeyup="ajax('ctl_that_returns_citylist',
['plaatsnaam'],'citylist')"),
    DIV(_id="citylist")
  )
))
--~--~---------~--~----~------------~-------~--~----~
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