1 answer
0 votes
Asked by marcusj, on 11/11/09 in
FormHelper ignores 'class' attribute for hidden fields
When I try to pass a class attribute to a hidden field, FormHelper ignores that. My code:
<?php echo($form->input('Foo.bar', array('type' => 'hidden', 'class' => 'baz')); ?>
FormHelper::input() calls[1] FormHelper::hidden() where name and class...
<< previous next >>