Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » Arrays of fields

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 334 Views
  • tafftoo
    Avatar
    Community Member
    1 Post

    Arrays of fields Link to this post

    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?

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Arrays of fields Link to this post

    Hi tafftoo,

    Welcome!

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

    334 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.