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

Extending Userforms ('Email submission to'-field on other tab)


Go to End


1567 Views

Avatar
theAlien

Community Member, 131 Posts

16 March 2009 at 12:38pm

Edited: 16/03/2009 2:51pm

Hi,

I'm extending UserForms v0.1.0 and I want to move the following fields to a custom tab:
- Email submission to
- Email form on submit
- Text on submit button

I've been looking into the UserDefinedForm.php file but I can't find how these fields are created. I guess the first two fields are created in FieldEditor.php (function FormOptions(), line 177), but I really don't know how they're put on their current place and how to move them to an new tab. Also the 'Text on submit button'-field is still lost.

Does someone know how I get these fields on their own custom tab?