MvContact Form Mailer / MvContact Advanced Contact Form
This is the same form we use on Scot's Scripts. It contains some CSS and Scot's Script's content to remove or edit. It should work as-is on most systems and look fairly decent.
Be sure to assign the MvCONTACT item in your contact page when you install the module.
<h1>Contact Scot's Miva Scripts</h1> <mvt:if expr="l.settings:mvcontact:success"> <p>Thanks for contacting Scot's Scripts. We'll respond to your message soon.</p> </mvt:if> <mvt:if expr="l.settings:mvcontact:error OR NOT l.settings:mvcontact:success"> <mvt:if expr="l.settings:MvCONTACT:error"> <p>There was an error with your message. Perhaps the information below can help.</p> <ul> <mvt:if expr="l.settings:MvCONTACT:first_error"><li>There was an error with your first name.</li></mvt:if> <mvt:if expr="l.settings:MvCONTACT:last_error"><li>There was an error with your last name.</li></mvt:if> <mvt:if expr="l.settings:MvCONTACT:email_error"><li>There was an error with your email address.</li></mvt:if> <mvt:if expr="l.settings:MvCONTACT:verify_email_error"><li>There was an error with your email verification entry.</li></mvt:if> <mvt:if expr="l.settings:MvCONTACT:subject_error"><li>There was an error with the subject.</li></mvt:if> <mvt:if expr="l.settings:MvCONTACT:message_error"><li>There was an error with the message.</li></mvt:if> </ul> </mvt:if> </div> </div> <form action="&mvt:global:sessionurl;Screen=CTUS&Store_Code=&mvte:store:code;" method="post"> <input type="hidden" name="MvCONTACT_required" value="first,last,email,verify_email,message"> <div class="row-fluid"> <div class="span4 offset1"> <label>First Name</label> <input type="text" name="MvCONTACT_first" value="&mvte:global:MvCONTACT_first;" placeholder="Your First Name"> <label>Last Name</label> <input type="text" name="MvCONTACT_last" value="&mvte:global:MvCONTACT_last;" placeholder="Your Last Name"> <label>Email Address</label> <input type="text" name="MvCONTACT_email" value="&mvte:global:MvCONTACT_email;" placeholder="Your email address"> <label>Verify Email Address</label> <input type="text" name="MvCONTACT_verify_email" value="&mvte:global:MvCONTACT_verify_email;" placeholder="Type your email address again"> <label>Subject</label> <select id="subject" name="MvCONTACT_subject"> <option value="na" selected="">Choose One:</option> <option value="service">General Customer Service</option> <option value="suggestions">Suggestions</option> <option value="product">Product Support</option> </select> </div> <div class="span6"> <label>Message</label> <textarea style="width: 100%;" name="MvCONTACT_message" id="message" class="input-xlarge" rows="10">&mvte:global:MvCONTACT_message;</textarea> <br> <button class="btn btn-primary pull-right">Send Message</button> </div> </div> </form> </mvt:if>