bootforms
bootforms copied to clipboard
Change columnSizes per form-group?
I use Bootform::openHorizontal with an array with my columnSizes and it is applied to all form-groups I add to the form. On some fields I have a relatively long title and the input control is just a checkbox or date-field. I wonder if it is possible to override the columnSizes for specific form-groups?
I'd suggest you use open()
instead of openHorizontal()
and use labels and form controls (see base form package) and bootstrap grid, to suit your own custom layout. It's more work layout-wise, but bootforms still does the hard stuff like binding and validation handling.