there is no string validator, i just use IS_IN_DB to create drop down widget

On Thursday, March 21, 2013 10:26:38 PM UTC+3:30, Alan Etkin wrote:
>
> the form is created by the admin app, no validation error, just i get this 
>> error for any insert with relation.
>>
>
> Wait, your model has something odd (at least for me)
>
> Since countries is a reference value, AFAIK, it must be an integer. But 
> you are using a string validator. I don't think that's legal. If you remove 
> the validator, it should work fine. I think you need to set the constraint 
> in another way.
>  
>

-- 

--- 
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/groups/opt_out.


Reply via email to