I want to write the following HTML in symfony forms.
<textarea name="styled-textarea" onfocus="this.value=''; setbg('#e5fff3');" onblur="setbg('white')">Enter your comment here...</textarea>
Please show me the exact sfwidgetformtextarea syntax for the above HTML textarea. Thanks in advance
You must create new Class extending a symfony class for forms.
class YourForm extends sfBaseForm{Then just make instances of your class in the your views, good luck