Hi,
I try to create a form with a file upload.
xml and form work perfect when I use the following XML
file
Logo
size
50
2097152
Die Dateigröße der gewählten Datei ist zu klein
Die Dateigröße der gewählten Datei ist zu gross
Die Datei kann nicht gefunden werden.
count
1
1
Bitte eine Datei auswählen
Bitte nur eine Datei auswählen
isImage
imageSize
File
htmlTag
label
But when trying to add a user message for the isImage validator like count
or size validator and it works.
isImage
Die augewählte Datei ist keine Bild-Datei1
Die augewählte Datei ist keine Bild-Datei2
the validation fails everytime even if the file is a correct image.
I think it's a bug. Same thing I do with
Regards
Bernd Brämer
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/isImage-Validator-in-Zend-Form-Object-from-XML-file-tp3341914p3341914.html
Sent from the Zend Framework mailing list archive at Nabble.com.