Hello,
I'm running into a little issue here.
I need a button to submit my form. But it does not seem we can do that natively.
I'm wanting to use the fieldset class and everything, not just the plain old \Form::input() or html_tag() helper.
// This stuff
$fieldset->add('name', 'label', array(
'type' => 'button',
));
When using type => submit then <input type="submit"> is used.
When using type => button then <button type="button"> is used.
I don't see how I can print <button type="submit">
I'm not sure wether the Core team planned to make the button a submit field or it was planned all along that the 'button' type from the fieldset / form feature use a type="button" which does nothing without additional javascript (or onclick attribute).
There is this type => reset which prints a <button type="reset">.
What should I do?