[html-formfu] Problems with HTML::FormFu::Element::Repeatable, DateTime and Checkboxgroup

Carl Franks fireartist at gmail.com
Tue Apr 28 12:20:47 GMT 2009


2009/4/28 Mike Glen <mike.glen at mindsweep.net>:

> the form displays the section twice as expected but does not display the
> selects for the datetime
> (if I remove the repeatable type the datetime displays properly)

This should already be fixed in svn, and will be in the next cpan release.

> without the repeatable I can call
>
> my $checkboxgroup = $form->get_element( name => 'trainers' );
> $checkboxgroup->options(\@options);
>
> to populate it
>
> but with the repeatable section I get a "Can't call method "options" on an
> undefined value " error

That should be get_field(), not get_element()

Cheers,
Carl



More information about the HTML-FormFu mailing list