[html-formfu] patch for insert_before()

Carl Franks fireartist at gmail.com
Thu Jun 5 13:37:36 BST 2008


2008/5/15 Ferruccio Zamuner <nonsolosoft at diff.org>:
> Hi,
>
> The problem:
>
> my $new = $form->element({
>       type=>'Checkboxgroup',
>       name=>'emblem',
>       label_loc=>'Emblems',
>       options=>$emblems,
>       attributes=>{class=>'emblems'}});
>
> $form->insert_before( $new , $submit );
>
> adds twice the Checkboxgroup:
> * one before submit
> * other after the last element of the form (submit element).

Thanks - this has been applied in svn - r1010

Cheers,
Carl



More information about the HTML-FormFu mailing list