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

Multiform - MultiFormSessionID in template


Go to End


2 Posts   1603 Views

Avatar
mattisimo

Community Member, 9 Posts

24 November 2009 at 5:37am

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

Avatar
phillprice

Community Member, 6 Posts

7 April 2011 at 7:45pm

Edited: 07/04/2011 7:46pm

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;