I'm having a very frustrating problem with the .NET Contact Form that comes out of the box. Somebody messed with some code here and suddenly the Macro displays like this in the browser:
In other words, it's botched. There seems to be no connection between the values you enter in the UI and what you get on the screen. The only way I can get the form to appear now is to hard-code it in the Macro (eg., EmailTo="[email protected]"). But this doesn't work because the email is not sending the values the user entered. What mechanism exactly does that? Is it the [#xyz] syntax that tells the system it's a variable?
Can anyone offer some help on this broken contact form? Need to get it up and running today.
Help. How do the contact form values make their way into the email message which gets sent to the EmailTo address? Here is my code:
<umbraco:Macro EmailTo="[email protected]" EmailSubject="Request for Contact from InterCLICK.com" EmailBody="[#name], [#Company], [#emailAddress], [#Role], [#message]" EmailReplyFrom="[email protected]" EmailReplySubject="Thank You for Contacting InterCLICK" EmailReplyBody="A representative will contact you shortly." EnableSSL="0" FormHeader="Enter your inquiry below for a quick response:" FormText=" " ThankYouHeaderText="Thanks!" ThankYouMessageText="Thank you for contacting us. A representative will be with you shortly." Alias="CWS_ContactForm" runat="server"> </umbraco:Macro>
Regarding the emailBody, these are indeed the exact names of the form fields, but the content of the email that comes to [email protected] is literally nothing but "[#message]". What is happening here??? This should be simple.
Problem with CWS_ContactForm
Hi,
I'm having a very frustrating problem with the .NET Contact Form that comes out of the box. Somebody messed with some code here and suddenly the Macro displays like this in the browser:
Even though it looks like This in the template:
In other words, it's botched. There seems to be no connection between the values you enter in the UI and what you get on the screen. The only way I can get the form to appear now is to hard-code it in the Macro (eg., EmailTo="[email protected]"). But this doesn't work because the email is not sending the values the user entered. What mechanism exactly does that? Is it the [#xyz] syntax that tells the system it's a variable?
Can anyone offer some help on this broken contact form? Need to get it up and running today.
Thanks,
Garrett
Help. How do the contact form values make their way into the email message which gets sent to the EmailTo address? Here is my code:
Regarding the emailBody, these are indeed the exact names of the form fields, but the content of the email that comes to [email protected] is literally nothing but "[#message]". What is happening here??? This should be simple.
Thanks,
Garrett
Can anyone offer any advice on this? What's happening is that the email is being sent, but the content/body of it is
[#message]
(if I put the pound signs in it)
and
[name]
if I leave them out.
How can I get the form values to show up in the response email?????
//Garrett
is working on a reply...