In every AspDotNetStorefront site, there is a contact form page that visitors can use to send you a message.
This is set up as a topic, and you can find it by going to www.yourdomain.com/t-contact.aspx.
This page can be modified through the HTML editor just like any other topic by going to Content > Manage Topics in version 8.0 or Misc > Topics in earlier versions.
Here, you can make any changes you like to the layout of the page, but what about modifying the actual email you get in your inbox when the contact form is submitted?
Unfortunately, there’s no HTML editor for that. Luckily, we found a great feature built right into AspDotNetStorefront that allows you to customize the contact form! Without this feature, you’ll still get your contact form results in your inbox, but using this feature will allow you to change the way it’s displayed.
This is especially useful for quoting the original message in an email response to the visitor, but if you don’t want those extra strange form tags to show up. What’s a ‘B1′? Who knows…let’s get rid of it!
This tutorial will show you how to turn this:
Name=Nicole Swan
Phone=541-201-9965
EMail=nicole@vortx.com
Subject=Contact Form Submit Test
S1=This is a test message submitted from the Contact Us page.
B1=Submit
into this:
Name: Nicole Swan
Phone Number: 541-201-9965
Email: nicole@vortx.com
Subject: Contact Form Submit Test
Message: This is a test message submitted from the Contact Us page.
This tutorial requires a basic knowledge of HTML and XML Packages. If you know a little HTML but you’re not familiar with XML Packages, read on! This tutorial will help you get to know them.
(more…)
Written by Nicole