What is the procedure to see that the optional file is detected? - Zend
What is the way in which the HTML can be used to form elements?
- The form elements can be customized using the decorators and using the Zend_Form for the rendering of the output.
- The description decorator can be used to have an instance running that allow the HTML to create the form elements.
- The turning of escape characters is required for the output of the decorator and it can be represented as shown below:
$element->setDecorators(array(
array('ViewHelper'),
array('Description', array('escape', false)),
array('Errors'),
array('HtmlTag', array('tag' => 'dd')),
array('Label', array('tag' => 'dt')),
));
- The element can be set to use the description by adding the extra HTML to this and it can be done using this:
$element->setDescription('<strong>Hello World</strong>');