You are right. There is a bug. It is fixed in trunk.

On Apr 5, 2:50 am, ab <adam.ba...@googlemail.com> wrote:
> Hi
>
> I have problem with custom message on url field validation. I set
> following rule in db.py
>
> db.mytable.url.requires=IS_URL(error_message='Must be URL')
>
> but validation always returns 'invalid url!' message . Custom
> validation message working fine for other validators, like
> IS_NOT_EMPTY or IS_DATE, I have problem only with IS_URL. I'm using
> web2py 1.59
--~--~---------~--~----~------------~-------~--~----~
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