Hello
I have two questions regarding generating html form elements :
1)
I want to generate a set of radio buttons.
How is it possible to convert the code below ?
<input type="radio" name="search" value="simple" id="simpleSearch" checked>
Simple
<br>
<input type="radio" name="search" value="advanced" id="advancedSearch">
Advanced
<br>
<input type="radio" name="search" value="full" id="fullSearch"> Full
each radio button has an idea to be accessible in javascript.
But I can see that formRadio method will set all the same attributes for
each radiobutton with the $attribs parameter.
2)
Also how is it possible to specify that the helper need to generate HTML
4.0.1 code and not XML
e.g. <?php echo $this->formText('email', '[EMAIL PROTECTED]', array('size' =>
32)) ?>
becomes <input type="text" name="email" value="[EMAIL PROTECTED]" size="32" />
But this is not HTML 4.0.1
Thank you for any help.
--
View this message in context:
http://www.nabble.com/Zend-View-Helper---generate-radio-tf4649689s16154.html#a13283527
Sent from the Zend Framework mailing list archive at Nabble.com.