Re: Validating mutltiple uploads in a single action

2010-06-23 Thread Burton Rhodes
I think it would best to validate the type in a 'validate' function and make your action implement Validateable. It will give you greater control on the action/field errors that you present to the end user as well. Thanks, Burton On 6/23/10, john.vargh...@smartonline.com wrote: > Hi, >

Validating mutltiple uploads in a single action

2010-06-23 Thread john . varghese
Hi, I have two file fields in my Action, one is an Image and one is a document. Is there a way I can use the allowedTypes filter to specify the valid content types specific to each type of field in the same action Thanks in advance. Regards, JOHN VARGHESE Sr. Developer Smart Online