The IS_NOT_EMPTY validator is not compatible with a list:string field. A 
list can have zero elements. What you want it 

IS_LIST_OF(other_validator_for_elements, minimum, maximum)

On Sunday, 2 June 2013 07:14:19 UTC-5, BlueShadow wrote:
>
> when one has a database field with a list:reference type it can be empty. 
> For quite a few scenarios this is undesirable. but if you use requires 
> is_not_empty() it first of all doesn't show the reference table entries. 
> And it still allows you to leave the field empty.
>
>

-- 

--- 
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