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

UserForms - get form from control Children

Go to End

2 Posts   1586 Views


Community Member, 63 Posts

7 December 2010 at 3:35am

Edited: 07/12/2010 3:37am


I am trying to build a PageScroller collecting all children pages with <% control Children %>.

One of this pages is a UserForm page. I am able to get the $Content of every normal Page but unfortunately I do not know howto get the form from User itself.



<% control Children %>
<div class="sectionElement">
	<div class="elementContent">
<% end_control %>

How to get the form itself? Any idea?



Community Member, 72 Posts

22 February 2011 at 11:52am

You can't access functions in the Controller of the children pages.

This discussion talks about it and has a possible hack for getting it to work