[html-formfu] docs - CookBook
Benjamin Martin
benjamin at opusvl.com
Fri Jul 16 12:04:21 GMT 2010
Hello,
I think I spotted abit of an error in the FormFu::CookBook.
Under "MODIFYING A FORM"
It sites the following example:
my $fieldset = $form->get_element({ type => 'Fieldset' });
$fieldset->insert_before(
$form->element(\%specs),
$form->get_field($name)
);
But *I think* it should be:
my $fieldset = $form->get_element({ type => 'Fieldset' });
$fieldset->insert_before(
$fieldset->element(\%specs),
$fieldset->get_field($name)
);
Just letting you know... please ignore me if I am wrong (but it seemed
to worked for me)
cheers,
-Ben
More information about the HTML-FormFu
mailing list