[Catalyst] filling fields through FromBuilder dynamically
rahed
raherh at gmail.com
Fri Apr 13 08:57:05 GMT 2007
Hello,
I render forms in the TT template with [% FormBuilder.render %]. The
forms are defined in file.fb.
I would like to dynamically change one of the predefined values
(date), something like this:
[% FOREACH field IN formbuilder.fields %]
[% IF field.name == 'my_name' %]
[% field.value == 'MY_DATE' %]
[% END %]
[% END %]
But this doesn't work because of FormBuilder.render.
I'd like to keep my external source file to generate the forms. Is
there any way out?
Thank you.
--
Radek
More information about the Catalyst
mailing list