gshank/html-formhandler

repeatable fields

nicolasfranck opened this issue · 1 comments

I want to create
this:

<form name="test">
  <input type="text" name="name">
  <input type="text" name="name">
</form>

When creating a dynamic HTML::FormHandler, it "seems" possible
to repeat fields ...

my $f = HTML::FormHandler->new(
  name => "test",
  field_list => [
    name => "Text",
    name => "Text"
  ]
);

...because "field_list" is an arrayref. But looking at the code,
this array is in fact handled as an hashref.

Is there no other way to repeat fields?

We need a new type of field to handle this. I started working on it, but haven't had time to finish yet.