Jump to:

23450 Posts in 18899 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Form Templates

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 281 Views
  • Schippie
    Community Member
    28 Posts

    Form Templates Link to this post

    I have been having a question about form templates. Since i have noticed that trying to overrule them simply by including them in your own theme template files (under the folder forms) doesn't always seem to work. Which is quite strange, since some do work but others don't seem to have any effect. Now is my question am i simply overlooking something really easy that causes some to work and others to be ignored and not used?

    Also have already tried the standard /dev/build en flush=1 / =all to no avail .

  • Willr
    Forum Moderator
    5497 Posts

    Re: Form Templates Link to this post

    You can call setTemplate() to set the form template (http://api.silverstripe.org/3.0/source-class-Form.html#766-775)

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.