Re: Form width fieldset and different button types

2015-05-19 Thread Rob M
In CakePHP 2.x, FormHelper::inputs doesn't make buttons. It makes input elements. If you want a button, try using FormHelper::submit for a submit button, or in this case FormHelper::button as in: echo $this-Form-button('Cancel upload', array('type' = 'reset', 'class' = 'btn

Re: Form width fieldset and different button types

2015-05-19 Thread Sam Clauw
FormHelper::inputs does create more than only input elements. I have forms where I've included textareas and selects in it. So I hoped we could also put some submit and reset buttons in it ;) -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP

Form width fieldset and different button types

2015-05-18 Thread Sam Clauw
Hi there! I'm trying to use the jquery file uploader https://github.com/blueimp/jQuery-File-Upload/wiki in combination with CakePHP. The HTML form uses 3 different button types: - submit (button type=submitStart upload/submit) - reset (button type=resetStart upload/submit) - button