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 - Step names


Go to End


3 Posts   2188 Views

Avatar
mattisimo

Community Member, 9 Posts

24 November 2009 at 5:29am

Hi,

Is there a way of giving each step an alias with a multiform so that when you include the step indicator is says 1. Contact Details. 2. More details. 3. Even more details etc. rather than e.g. mmStep1FormStep, mmStep2FormStep, mmStep3FormStep

Many thanks,

Matt

Avatar
Willr

Forum Moderator, 5523 Posts

24 November 2009 at 11:20am

You can define a title for the step by adding a $title var to your multiform step.

YourMultiformStep.php

protected $title = 'Nice Step Title';

Avatar
mattisimo

Community Member, 9 Posts

24 November 2009 at 12:41pm

Thanks Will. Still on the learning curve but am really liking what I'm finding.
Cheers