Jump to:

10849 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Multiform - MultiFormSessionID in template

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 971 Views
  • mattisimo
    Avatar
    Community Member
    9 Posts

    Multiform - MultiFormSessionID in template Link to this post

    Hi,

    I'm trying to customise the form steps in a multiform using templates. All is working fine other than I can't get the MultiFormSessionID field to render as a hidden field. Any ideas how to include this field in the template and for the value to be set?

    I've tried calling the field $dataFieldByName(MultiFormSessionID) and that didn't seem to work and I've tried adding the field to the template but leaving the value blank.

    Also, is there any way of hiding the back button?

    Many thanks

  • phillprice
    Avatar
    Community Member
    6 Posts

    Re: Multiform - MultiFormSessionID in template Link to this post

    This comes up quite well for removing the back button still so in case anyone finds it like I did:

    To remove the back button simply declare this at the stop of the step(s);

    public static $can_go_back = false;


       

    971 Views
Page: 1
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.