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.

All other Modules /

Discuss all other Modules here.

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

Add form fields in backend


Go to End


3 Posts   1573 Views

Avatar
m-phil

Community Member, 37 Posts

4 August 2010 at 1:22am

Does anyone has experience with implementing a functionality like adding form fields for a specific page directly in the backend?
I think it would be nice to handle this with a dropdown to select the field type (textfield, selectbox, checkbox, captcha, ...) and the name, options, required field and default value etc.
Thx for your ideas or recommendations

EDIT: I've found a good base! In the newsletter subscription form (Newsletter module) you can edit the form fields and drag them in the order you like. You can also set the name, default error message and if it's required.

Avatar
TotalNet

Community Member, 181 Posts

4 August 2010 at 10:47am

Avatar
m-phil

Community Member, 37 Posts

4 August 2010 at 4:56pm

No, but I have to :)

Perfect thx!