[html-formfu] Element labels - documentation suggestion

Carl Franks fireartist at gmail.com
Wed May 27 08:26:39 GMT 2009


2009/5/27 Toby Corkindale <toby.corkindale at strategicdata.com.au>:
> Hi,
> I may be missing something obvious here, but must be searching in the wrong
> places.
>
> I wanted to set labels for my elements..
>
> Initially I was using "auto_label: %n" to generate labels for my elements,
> but I wanted to set the labels by hand to prettier things.
>
> I couldn't find documentation anywhere, but eventually figured out that I
> should be using the "label:" attribute on elements.
>
> Could I suggest you include it in the documentation, perhaps at least in
> HTML::FormFu and HTML::FormFu::Element?

It's documented in lib/HTML/FormFu/Element/_Field.pm as that's where
the method is defined.

I hope to implement some sort of pod processor that will copy method
documentation into all sub-classes, without having to manually
duplicate the docs - but it's still in the to-do list.

Carl



More information about the HTML-FormFu mailing list