-- Enzo Labianca <[EMAIL PROTECTED]> wrote
(on Tuesday, 01 April 2008, 02:17 AM -0700):
> $address = new Zend_Form_Element_Text('address');
> $address->setLabel('Address:')
> ->setRequired(true)
> ->setAttrib('maxlength', '50')
> ->setAttrib('size', '50')
> ->setAutoInsertNotEmptyValidator(false)
> ->addValidator('Alnum', false, array('allowWhiteSpace' => true));
>
> Is it possible to allow other chars, for example ","?
No. You would need to create your own validator.
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/