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.

General Questions /

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

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

How to include form to somepage

Go to End

2 Posts   933 Views


Community Member, 349 Posts

11 March 2011 at 2:51am

Edited: 11/03/2011 3:02am

If i have Pagetype named Houses.php and template how can i add the contact form to this pagetype.
Also if i use on Houses the tille as house name how can i add the housename to subject value automaticly.

Need something like this:

Subject: Name of house already set on page load
email: client puts email into emailfield
Message: client writes something here


Community Member, 43 Posts

12 March 2011 at 10:18am

This tutorials show you just about everything you need to know for that type of form:

I shows you how to add the contact form to the template and how the handle it by emailing it :-)