Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to have inputs with array value #847

Open
Open
Labels
help wantedExtra attention is needed questionFurther information is requested
@RomainGoncalves

Description

Hi,

I'm not sure if I'm clear so let me show an example. In HTML I can do this:

First user:
<input type="text" name="users[0][name]" />
<input type="text" name="users[0][age]" />
Second user:
<input type="text" name="users[1][name]" />
<input type="text" name="users[1][age]" />

Once submitted that form will send data as an array.

How can I reproduce that with Form Builder?
I have a form right now that creates a new input group when a button is clicked. But I don't know what name to give these inputs. Is there a trick already available?

Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed questionFurther information is requested

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /