On Wednesday, February 25, 2015 at 10:55:51 AM UTC-8, Annet wrote:
>
> In a table definition I have the following field:
>
> Field('URL', length=128, 
> requires=IS_EMPTY_OR(IS_URL(prepend_scheme=None)), label='Url - formaat: 
> www.domeinnaam.extensie')
>
> in form = SQLFORM() this field contains the folliwng code by default:
>
> <gluon.validators.IS_LENGTH object at 0x7ff634b8a3d0>
>
> I have no idea where this come from, how do I get rid of it?
>

Is "URL' supposed to be the name of the field, or the type? 

/dps
 

>
>
> Kind regards,
>
> Annet
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to