Jump to:

10987 Posts in 2724 Topics by 1817 members

All other Modules

SilverStripe Forums » All other Modules » Extend user defined form with 'Keep with next' configuration

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2433 Views
  • Garrett
    Community Member
    245 Posts

    Re: Extend user defined form with 'Keep with next' configuration Link to this post

    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.


Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.