Let me think about adding this:

db.mytest.person.requires=IS_NULL_OR(IS_ALPHANUMERIC(), IS_IN_DB
(db,'dogs.dog_name',
                                                                '%
(dog_name)s'))

In general I am against a proliferation of validators. This is because
everybody has flightly different needs and it is easy enought to
define your own.

I am usually in favor of extending existing validators.


On May 25, 4:37 am, Timmie <timmichel...@gmx-topmail.de> wrote:
> Hello!> You must create your own widget do to this. If I have time I will post
> > an example.
>
> I have just seen that DenesL was faced with the same 
> problem:http://groups.google.com/group/web2py/msg/089cee9b4fdf11b3
>
> What happened to his patch 
> in:http://groups.google.com/group/web2py/msg/44cc5a60564d0f93?
>
> Any chance that I can do
>
> db.mytest.person.requires=IS_NULL_OR(IS_ALPHANUMERIC(), IS_IN_DB(db,
> 'dogs.dog_name',
>                                                                 '%
> (dog_name)s'))
>
> where IS_IN_DB could also be IS_IN_SET.
>
> Kind regards,
> Timmie
--~--~---------~--~----~------------~-------~--~----~
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