Skip to content

Instantly share code, notes, and snippets.

@bheyde
Created January 5, 2019 00:30
Show Gist options
  • Save bheyde/9cdbece4e0fb510cb3b1a64536488c19 to your computer and use it in GitHub Desktop.
Save bheyde/9cdbece4e0fb510cb3b1a64536488c19 to your computer and use it in GitHub Desktop.
Customer Quote Form
<mvt:if expr="l.settings:messages:error_message_count">
<div class="error-message">
<mvt:foreach iterator="error" array="messages:error_messages">
&mvt:error;
</mvt:foreach>
</div>
</mvt:if>
<mvt:if expr="l.settings:messages:information_message_count">
<div class="information-message">
<mvt:foreach iterator="message" array="messages:information_messages">
&mvt:message;
</mvt:foreach>
</div>
</mvt:if>
<form action="&mvte:urls:_self:auto;" method="POST">
<input type="hidden" name="Action" value="MIVA_REQUEST_QUOTE">
<label for="RequestQuote_Include">Include Basket Contents in Quote Request?</label>
<input type="radio" name="RequestQuote_Include" value="1" checked> Yes
<input type="radio" name="RequestQuote_Include" value=""> No<br>
<label for="RequestQuote_FirstName">First Name:</label>
<input type="text" name="RequestQuote_FirstName" id="RequestQuote_FirstName" value="&mvte:global:RequestQuote_FirstName;" required/><br>
<label for="RequestQuote_LastName">Last Name</label>
<input type="text" name="RequestQuote_LastName" value="&mvte:global:RequestQuote_LastName;" required /><br>
<label for="RequestQuote_Phone">Phone</label>
<input type="text" name="RequestQuote_Phone" value="&mvte:global:RequestQuote_Phone;" required /><br>
<label for="RequestQuote_Email">Email</label>
<input type="text" name="RequestQuote_Email" value="&mvte:global:RequestQuote_Email;" required /><br>
<label for="RequestQuote_Country">Country</label>
<input type="text" name="RequestQuote_Country" value="&mvte:global:RequestQuote_Country;" /><br>
<label for="RequestQuote_Zip">Zip</label>
<input type="text" name="RequestQuote_Zip" value="&mvte:global:RequestQuote_Zip;" /><br>
<label for="RequestQuote_Comment">Comment</label>
<textarea rows="4" cols="50" name="RequestQuote_Comment">
</textarea>
<br>
<input type="submit" value="Send Quote">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment