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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   3450 Views


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.


Go to Top