2002 Posts in 1422 Topics by 616 members
|Go to End|
5 September 2013 at 11:45pm
As I understand the Form class the only method available to set form attributes is setAttribute( String $name, String $value ).
But to set the novalidate attribute, there is only one parameter, novalidate.
How do I add the novalidate attribute to a form object?
6 September 2013 at 8:57pm
$field->setAttribute('formnovalidate', 'true'); should work.
|Go to Top|