[Catalyst] C::C::FormBuilder and custom template

Juan Camacho jc5826 at gmail.com
Tue Jan 2 15:44:28 GMT 2007


On 1/2/07, Goetz Bock <bock+catalyst at blacknet.de> wrote:
>
> On Mon, Dec 11 '06 at 10:23, Juan Camacho wrote:
> > On 12/11/06, Goetz Bock <bock+catalyst at blacknet.de> wrote:
> > >
> > >When I build my TT2 Template accourding to the docs, I'm unable to
> > >submit it, as the hidden "_submitted" field is not generated and
> > >form->submitted() always is false.
> > >
>
> > Under TT2 the [% form.start %] will include the statetags.   The [%
> > form.statetags %] doesn't seem to work, and the C::C::FormBuilder docs
> > should not mention it.
>
> Just for the records, I'm now using C::C::FB 0.02 and I need to add
>
> [% FormBuilder.statetags %]
>
> or I'm unable to submit my form.
> --


That really shouldn't be necessary.  As I mentioned before [%
form.start %] ( $formbuilder.start by default) will add the hidden
field. That's how CGI::FormBuilder natively works.



More information about the Catalyst mailing list