2012-08-26, 22:05:27
Hi,
I posted over in the plugins section but have not had any response so I thought I'd try here - I'll delete that post if I get a solution here.
I'm trying to add a custom contact form to one of my pages (not the theme). I was creating a component and then trying to add the component to the page but it seems I cannot add the PHP call to include the component.
What is the best way to create a custom contact form to include in only one page and has anyone an example? I don't want to add it to the template and I'd like to avoid using EXEC-PHP if possible.
Sample fields that I intended to use via a component are:
(% contact : blah@example.com,
subject => Feedback,
name,
email,
radio "OK to publish your comments on our website?" = "Yes" | "No" selected,
radio "OK to associate your name with comments on our website?" = "Yes" | "No" selected,
select = "One" selected | "Two" | "Three" | "Four" | "Five" ,
message = Any Further Comments?,
captcha,
askcopy %)
Any help/guidance much appreciated.
Ronan
I posted over in the plugins section but have not had any response so I thought I'd try here - I'll delete that post if I get a solution here.
I'm trying to add a custom contact form to one of my pages (not the theme). I was creating a component and then trying to add the component to the page but it seems I cannot add the PHP call to include the component.
What is the best way to create a custom contact form to include in only one page and has anyone an example? I don't want to add it to the template and I'd like to avoid using EXEC-PHP if possible.
Sample fields that I intended to use via a component are:
(% contact : blah@example.com,
subject => Feedback,
name,
email,
radio "OK to publish your comments on our website?" = "Yes" | "No" selected,
radio "OK to associate your name with comments on our website?" = "Yes" | "No" selected,
select = "One" selected | "Two" | "Three" | "Four" | "Five" ,
message = Any Further Comments?,
captcha,
askcopy %)
Any help/guidance much appreciated.
Ronan