On May 2, 4:25 pm, Yarko Tymciurak <[email protected]> wrote:

> Since you probably don't want student name dropdown boxes in the form, then
> this will work:
>
>   db.student.student_name.requires = [
> IS_NOT_IN_DB(db,"student.student_name") ]

Dropdown boxes are only created for values required to be in a
definite set or a database, i.e. IS_IN_SET or IS_IN_DB validators. If
you don't want the dropdown then you put in a list.
--~--~---------~--~----~------------~-------~--~----~
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