Javier Rojas <[EMAIL PROTECTED]> writes:

> I have a multipleSelectField, and when I use a validator with it, the 
> validation and conversion is made over every selected element (e.g, with 
> validators.Int); if I select no items from it, the validator doesn't get 
> called. I need the validator to check if the list (the selected elements) is 
> empty. What validator should I use?

The same.  There are several possibilities on what you can do with an empty
input.  Take a look at the docs for the validators and you'll see, for
examplo, if_empty, not_empty et al. 

> how can I use validators with compound widgets? I've defined validators for 
> all the elements within the compound widget, but they don't seem to work.

Take a look at the Select Shuttle I posted in another message.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

Attachment: pgpWMx4nx04iz.pgp
Description: PGP signature

Reply via email to