I have the following:
$wwpn = new Zend_Form_Element_Text('wwpn');
$wwpn->setLabel('WWPN')
->setRequired(true)
->addFilter('StripTags')
->addFilter('StringTrim')
->addFilter('StringToUpper')
->addValidator('NotEmpty')
->addValidator('Regex', false,
array('/^(NONE|RESERVED|[0-9A-F]{16,})$/'))
->addValidator('stringLength', false, array(4,16));
It appears to shift to uppercase for validation but the form data is not. Is
there a know bug in the StringToUpper filter?
Thanks,
Tim
--
View this message in context:
http://www.nabble.com/StringToUpper-Filter-not-working-tp20507982p20507982.html
Sent from the Zend Framework mailing list archive at Nabble.com.