What is "multiple=(1,5)". It should be True or False.

On Wednesday, 21 August 2013 13:14:24 UTC-5, Annet wrote:
>
> I have a validator:
>
> requires=IS_EMPTY_OR(IS_IN_DB(db,'plugin.id','%(name)s',orderby='plugin.id
> ',multiple=(1,5)))
>
> When the field is empty it contains an empty list [] when there are 
> plugins selected the field contains
> for example: [2L, 4L, 6L, 7L], how do I revert back to an empty list, in 
> appadmin and in a custom form?
>
> At the moment always one plugin remains selected in the options.
>
>
> Kind regards,
>
> Annet
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to