did you set requires=IS_IN_DB(....) without the [ ] ?

On Dec 1, 5:42 pm, Fran <[EMAIL PROTECTED]> wrote:
> I want to restrict a field to just a few specific options.
> Only 1 record should exist for each option.
> So I need both sets of requires.
>
> The vlaidation works fine, however the form generated (in T2 at least)
> isn't the expected dropdown, but rather a straight textbox.
> Is this a bug?
> Meanwhile, is there a way of forcing the dropdown?
>
> Many thanks,
> Fran.
--~--~---------~--~----~------------~-------~--~----~
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