[html-formfu] how to specify 'label-for' using configuration file for html::formfu

Ashley Pond V ashley.pond.v at gmail.com
Wed Mar 25 16:15:37 GMT 2009


On Wed, Mar 25, 2009 at 1:42 AM, Carl Franks <fireartist at gmail.com> wrote:
> 2009/3/24 Ashley Pond V <ashley.pond.v at gmail.com>:
>> Carl? I want it enough to do a patch if you think it sounds reasonable
>> and you're busy.
>
> Sorry, no - this'll break most css-based layouts.
> I've tested it with the included "vertically-aligned" css file, and that breaks.
>

> In the "best practices" section of the docs, I recommend having global
> settings in an external config file, and including that in every form.
> If you set this, you'll get the same effect:
>
>    id: form
>    auto_id: %f_%n
>    default_args:
>      elements:
>        Radiogroup:
>          auto_id: $f_%n_%c
>        Checkboxgroup:
>          auto_id: %f_%n_%c
>

Great stuff. Thanks again!

-Ashley



More information about the HTML-FormFu mailing list