<div dir="ltr"><div>Anyone know how to use a specific input format for a textarea in form api? There's no property for this option.<br></div><div><br></div><div>// This is my form element:</div><div> $form['easyco_custom']['easyco_custom_query'] = array(<br>
'#type' => 'textarea',<br>'#title' => t(My Query'),<br> '#size' => 1000,<br>'#maxlength' => 1000,</div><div>'#prefix' => '', <br> '#suffix' => '', <br>
);</div><div><br></div><div>I've created a new input_format using admin/settings/filters and I need to use it here. It's a SQL syntax highlighter(it's not about executing this sql, so no injection)</div><div>
<br></div><div>Thanks in advanced</div><div><br></div><div><br></div></div>