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

Extend user defined form with 'Keep with next' configuration


Go to End


9 Posts   3716 Views

Avatar
Garrett

Community Member, 245 Posts

2 February 2011 at 3:06am

Thanks for your reply.

No, it's not a template issue. I'm talking about the PHP which outputs the fields. That happens in sapphire/forms/FormField.php. What I am trying to do here is *replace* the id attribute of each of the fields with the CMS user input. Right now, it uses function id() (line 106 of FormField class) where it outputs the id of the field dynamically. I want it to use my newly created custom field but can't figure out how.

//Garrett

Go to Top