How include userform to a parent?

Silverstripe Version: ss4

Question:How include userform to a parent?

In my project, I use userforms and I want include form to parent page. How to do it??

Hi, I know it’s been ages but did you fix the issue yourself in the end?

In case it’s useful, you can do something like this:

In your model:

use SilverStripe\UserForms\Control\UserDefinedFormController;
use SilverStripe\UserForms\Model\UserDefinedForm;

class ContactPage extends UserDefinedForm
private static $table_name = ‘ContactPage’;


class ContactPageController extends UserDefinedFormController


And in your theme’s layout page: