It is possible but you would need to create your own validator and
wdget for that.

Is the "unique items in a given field" the same field you need to
validate? If not you also need an ajax callback to handle the creation
of the new entry.

Massimo

On Jun 29, 12:56 pm, MikeEllis <michael.f.el...@gmail.com> wrote:
> I'm taking the liberty of extending this topic with a (somewhat)
> related question. Hope that's all right.
>
> Is it possible to use SQLFORM to create a dropdown entry with the
> following properties?
> 1. Display a list of unique items in a given field AND
> 2. Accept new items typed into the entry box.
>
> Background:
> My application is a control interface that runs on a PDA (N8x0 at this
> time, perhaps iPhone later). Web2py runs on the PDA serving on
> localhost;  user(s) access the application on the PDA's browser.  The
> users are the engineers and techs testing the system in the field
> (literally out-of-doors). Since the keyboards on these devices are
> extremely inconvenient especially in bright sunlight, the DRY
> principle applies to the user's experience even more than to the
> programmer! I want to avoid having them enter the same information
> twice.
>
> Thanks,
> Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@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