[html-formfu] Fields with visual indicator

Ferruccio Zamuner nonsolosoft at diff.org
Fri Dec 28 12:53:15 GMT 2007

Hello Carl Franks, you wrote:
> btw, with the code examples you gave in your original bug report
> (http://code.google.com/p/html-formfu/issues/detail?id=16 ) setting
> the INCLUDE_PATH isn't enough to make formfu use Template to render
> the form anymore - you also have to set $form->render_method('tt') -
> otherwise it'll use internal methods to generate the markup.
First I've tried to modify formfu/input creating formfu/myinput TT:
[% WRAPPER field %][% INCLUDE $self.field_filename %][% END %]
<img ...>

it works but I prefer to include my images in the content <span>, then 
I've tried to create a 'myfield' TT

How can I tell to 'formfu/myinput' to include 'formfu/myfield' TT 
instead of 'formfu/field' TT ?

Thank you in advance,              \fer

More information about the HTML-FormFu mailing list