Last Updated: February 25, 2016
·
637
· code_arts

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.