[Catalyst] HTML::FormFu form elements

Greg Coates gcoates at csuchico.edu
Thu Feb 12 00:15:29 GMT 2009


I've run into a scenario where I need to be able to build an 
HTML::FormFu form and then only display portions of it in my template. 
(So, the typical [% form %] in the template will be replaced by 
something else, at least in my ideal world.)

I tried doing this in the template:
[% form.get_element('name' => 'element_name') %]

I didn't get an error, but it didn't display.

Does anyone know if what I'm trying to do is possible, and if so, how to 
do it?

Thanks,
Greg Coates



More information about the Catalyst mailing list