Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions /

Arrays of fields


Reply


2 Posts   350 Views

Avatar
tafftoo

Community Member, 1 Post

20 September 2011 at 9:49am

Hi,

I'm a bit stuck here. I'm trying to build a form where I need to submit arrays of values, but no matter what I try I seem to be hitting a brick wall with it.

I need to build a form where I can dynamically add groups of fields named field1[], field2[], and field3[].

Anybody done this?

Avatar
swaiba

Forum Moderator, 1799 Posts

22 September 2011 at 1:53am

Hi tafftoo,

Welcome!

Is this the kind of thing you are looking for?
https://github.com/nyeholt/silverstripe-multivaluefield