Custom Zend Validators: form data missing from $context
When creating custom validators in Zend, if you are using the $context parameter to get the array of values of your fieldset, some fields will be missing if they are not part of the corresponding input filter specification.
If any field in form data is missing in the $context param for validation, check if the corresponding field is in the input filter specification.
Written by Pradeep
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#