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

Userform - hidden forms with $Title

Go to End

11 Posts   3282 Views


Community Member, 219 Posts

6 October 2010 at 4:30am

done it :)
return new HiddenField($this->Name, null, $this->CurrentPage()->Title);


Community Member, 6 Posts

11 October 2010 at 6:43am

Is there a way to make a custom field for $legend as well? I don't see a way to add <legend></legend> to the Userform template.


Community Member, 219 Posts

14 June 2011 at 4:31am

Edited: 14/06/2011 4:32am

I've written a little tutorial on including data into forms, such as $member, $title etc:

hope it helps some in the future!

Go to Top