Re: [web2py] Problem with IS_URL

2010-05-12 Thread Jonathan Lundell
On May 12, 2010, at 6:09 AM, Sverre wrote: > I have a field in DB to store URLs. But for the user this is optional. > So the user should put in nothing or a URL. But if I use IS_URL in the > database specification this field is demands always an URL. Is there a > solution? IS_EMPTY_OR(IS_URL())

[web2py] Problem with IS_URL

2010-05-12 Thread Sverre
I have a field in DB to store URLs. But for the user this is optional. So the user should put in nothing or a URL. But if I use IS_URL in the database specification this field is demands always an URL. Is there a solution? Thanks in advance