|
|||
|
hi,
I have created a simply form with an input like this: $name = new Zend_Form_Element_Text('name'); $name->setLabel('Nome') ->setRequired(true) ->addFilter('StripTags') ->addFilter('StringTrim') ->addValidator('NotEmpty'); do you know why my input is not valid w3c? my output-> <input type="text" name="name" id="name" value=""> zend guide output-> <input type="text" name="name" id="name" value="" /> I have to configure something? Thanks |
|
|||
|
In your bootstrap, you need to call something like
PHP Code:
You need to set the appropriate XHTML doctype to produce tags that end with /> |
![]() |
| Thread Tools | |
| Display Modes | |
|
|