Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » Custom Form in a Page holder page - Possible

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

Page: 1
Go to End
Author Topic: 384 Views
  • SaturnJ
    Avatar
    Community Member
    4 Posts

    Custom Form in a Page holder page - Possible Link to this post

    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.

  • SaturnJ
    Avatar
    Community Member
    4 Posts

    Re: Custom Form in a Page holder page - Possible Link to this post

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

    384 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.