- Set the file element to required = false
- The file element can not edit database records

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "Shalanga" <[email protected]>
To: <[email protected]>
Sent: Thursday, January 08, 2009 4:00 PM
Subject: [fw-general] Condicional validation with File Element



Hi all, I'm new to ZF and here. I have search a lot but i find nothing about
condicional validations.

What I need with Zend_Form_Element_File component is this:
- Insert is not allow empty file.
- Edit an existing record with file associated, is optional.

I couldn't archieve with the component.

Any ideia how to solve this?

Thanks for any help!
--
View this message in context: http://www.nabble.com/Condicional-validation-with-File-Element-tp21353398p21353398.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to