I am working on a Zend form application where my form contains text boxes with watermarks.
we can achieve this in HTML by the following code:
<input type="text" placeholder="Search" name="q" />
My question is how to add the placeholder attribute in my input-box using Zend form ?
It’s already been mentioned to use:
You can also use it like this when extending Zend_Form
Or inside the view using Zend_View_Helper_FormText