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:

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Custom Form in a Page holder page - Possible


Go to End


2 Posts   905 Views

Avatar
SaturnJ

Community Member, 4 Posts

25 November 2013 at 12:54am

Hi, I have a page holder page, and in the controll section if I try to create the form, the entire site goes down when it hits to go past the following;

class blahholder_Controller extends Page_Controller
{
....junk..... and BANG....
$form = new Form($this, 'EventSearchForm', $fields, $actions,);

}
}

What am I missing? It is making me think, custom form is not possible in Page holder page. If I comment that line above which creates the form, then everything runs and my site is back. Any suggestions are welcome.

Avatar
SaturnJ

Community Member, 4 Posts

25 November 2013 at 1:04am

Please ignore the above post :), I found the spare , in the command.