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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

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

Let user add fields on custom form


Go to End


1385 Views

Avatar
socks

Community Member, 191 Posts

13 July 2013 at 8:33am

SS2.4

What's the best way to let the user click "Add" and show a set of form fields? Need to allow them to add as many as they want and of course Remove them as well.

Is this a job for DOM or jQuery? Any examples of a form like this?

Thanks