Hi,

I have a single file field in a form. I would like to have different  
file size limits for different files, and I have tried using several  
validators grouped within an 'or' validator as in 
http://blog.veikko.fi/post/68983308/agavi-tip-validation-gotchas

However, I have a few issues:

- If no file is uploaded, I am presented with an error message by the  
FPF (at the top of my form in my case). However, the 'error' class is  
not attached to the label

- If I do upload a file, then even though for one of the validators it  
is valid, for the others it is not. So whenever a file is uploaded,  
the error class is attached to the field label, and divs for errors  
are added above the form.

Any suggestions as to how to solve these issues? Would I have to write  
my own validator class for this?

Michal.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to