Still more things that don't work with Repeatable increment_field_names = 0:
use HTML::FormFu;
my $form = HTML::FormFu->new;
$form->elements({ type => 'Repeatable', increment_field_names => 0,
elements => [ { type => 'Date',
name => 'date',
} ] });
my $rep = $form->get_element;
$rep->repeat(2);
$form->process( { date_year => [ 1970, 2009 ],
date_month => [ 11, 12 ],
date_day => [ 10, 13 ]
} );
print $form->param_list( 'date' ), "\n";
This prints "%d-%m-%Y". And, if I set auto_inflate = 1, it prints
nothing at all.
Thanks,
--Doug Orleans
[email protected]
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu