hasn't effect.
My form configure likes followed:
[Profile]
;;;; Signup form ;;;
form.action = "/user.php?switch=editprofile"
form.enctype="multipart/form-data"
form.method = "post"
form.id = "editprofile"
form.name = "editprofile"
form.elementsBelongTo = "profile"
;; Avatar
form.elements.Avatar.type = "file"
form.elements.Avatar.options.label = "Avatar: "
form.elements.Avatar.options.validators.Count.validator = "1" ; 1个文件
form.elements.Avatar.options.validators.Size.validator = "1024000" ; 1M
form.elements.Avatar.options.validators.Extension.validator = "jpg,png,gif"
Thanks for any posts.
--
View this message in context: http://www.nabble.com/The-validation-for-Zend_Form_Element_File-with-belongsTo-attrubite-hasn%27t-effect.-tp19247887p19247887.html
Sent from the Zend Core mailing list archive at Nabble.com.
没有评论:
发表评论