[Catalyst] HTML::FormFu - how to manually control the rendering?

ivorw m9tn-oh4c at xemaps.com
Mon Aug 18 14:28:12 BST 2008


kakimoto at tpg.com.au wrote:
>
> hello there
>    I love using HTML::FormFu in these two aspects:
> 1) Validation - oh ,yeah :)
> 2) configuration (via yaml in my case)
>
>
> nevertheless, is there any way we can control the rendering (in TT2)? 
>  From what has been done in the catalyst tute for html::FormFu, i
> noticed that it just lists down form elements line by line...
> I am sure there are websites whereby the graphics designer would place
> form elements in different styles..
>   
Try including the following line in your yaml:

auto_id: %n

This will add an id attribute to every element tag, using the element name.

By the way, please join the HTML::FormFu mailing list as this is a good
place to post such questions:  html-formfu at lists.scsys.co.uk



More information about the Catalyst mailing list