2009/7/20 Toby Corkindale <toby.corkind...@strategicdata.com.au>:
> I would like it if there was a way to adjust the defaults, ie. so all
> checkboxes/radio-buttons would have their labels to the right.


(Ronald - I'm starting to look at your patch - but just want to
respond to Toby's issue first)

You can automatically set defaults using $form->default_args()
And if you set this in a Catalyst app config file, it'll take effect
throughout your entire application!
e.g.:

myapp.yml
---
'Controller::HTML::FormFu':
  constructor:
    default_args:
      elements:
        Checkbox:
          reverse_single: 1
        Radio:
          reverse_single: 1

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to