[html-formfu] enhance form
Carl Franks
fireartist at gmail.com
Tue Sep 25 12:19:05 GMT 2007
On 25/09/2007, Josef Chladek <josef.chladek at gmail.com> wrote:
> hello,
>
> I have my form-config in yml. my application checks if a user is
> logged on and is of a certain type, if so, the form should be
> enhanced with 4 select fields.
> the rendered form has all the fields in it, but whenever the form is
> submitted,
>
> $c->stash->{form}->param(xxx)
>
> is empty - although I can see the param(s) in the catalyst body posted.
> how would I do that?
After submission, you need to add those extra fields again, because
input for unknown fieldnames is ignored.
After you've done that, you'll need to call $form->process()
Carl
More information about the HTML-FormFu
mailing list