zend-validate
Problem with zend validate on zend form element
I used to have this form element to validate an email and display an error message if the format was invalid:[详细]
2023-01-20 16:06 分类:问答Zend changing validation error behavior: wrapping element in another tag
I\'ve set a validator for the email so it can\'t be empty. This is the markup of the usual form that zend_form generates:[详细]
2023-01-19 04:23 分类:问答How to use Zend_Validate_File_MimeType()?
I´m trying to use the zend mime validator and I´m doing this: $mime = array(\'image/jpeg\',\'image/gif\');[详细]
2023-01-12 06:03 分类:问答Zend Framework: Conditional validation
I need to set up some validation for a form field based on a value of another field. For instance if profession is Doctor, then require specialty not to be blank (\'\') or none (\'none\').[详细]
2023-01-11 05:43 分类:问答Zend Validate, Display one message per validator
I am validating an email address using zend_validate_email. For example, for email address aa@aa it throws several error messages including very technical describing that DNS mismatch (:S).[详细]
2023-01-06 11:23 分类:问答Recommended place for pre-translated Zend Framework resources
Since zf 1.10 Zend Framework ships with pre-translated validation messages. They are outside the library path.[详细]
2022-12-31 12:24 分类:问答Zend_Validate_Abstract custom validator not displaying correct error messages
I have two text fields in a form that I need to make sure neither have empty values nor contain the same string.[详细]
2022-12-30 22:03 分类:问答validate input data with symfony, doctrine or zend_validate?
im using symfony with doctrine and zend. i wo开发者_JAVA技巧nder if i wanna validate the user input data, should i use validation from symfony, zend or even doctrine?[详细]
2022-12-29 09:52 分类:问答Suspend file validation on Zend Framework
Currently on my application I have a form where I ask the user to upload an image file to be used as a logo. I want to allow the user to reset that to nothing by supplying no file (by just pressing th[详细]
2022-12-27 15:57 分类:问答How do I write a custom validator for a zend form element with customized error messages?
I have a question field with a list of allowed characters : A-Z,0-9,colon (:), question mark (?), comma(,), hyphen(-), apostrophe (\').[详细]
2022-12-26 11:46 分类:问答