| 1 |
<div id="reply-message"></div> |
| 2 |
<div> |
| 3 |
<fieldset> |
| 4 |
<legend>Please fill in the form to submit your request</legend> |
| 5 |
<form action="https://contact-request-endpoint/" method="post"> |
| 6 |
<!-- uncomment this div block when enabling reCaptcha |
| 7 |
<script src="https://www.google.com/recaptcha/api.js"></script> |
| 8 |
--> |
| 9 |
<div class="form-item"> |
| 10 |
<label for="name">Name</label> |
| 11 |
<input type="text" name="name" id="name" placeholder="Mr. Smith" /> |
| 12 |
</div> |
| 13 |
<div class="form-item"> |
| 14 |
<label for="email">Email <span class="req"></span></label> |
| 15 |
<input type="text" name="email" id="email" class="required email" placeholder="[email protected]" /> |
| 16 |
</div> |
| 17 |
<div class="form-item"> |
| 18 |
<label for="organization">Organization</label> |
| 19 |
<input type="text" name="organization" id="organization" placeholder="Company, Inc." /> |
| 20 |
</div> |
| 21 |
{{ if in .Params.tags "contact" }} |
| 22 |
<div class="form-item"> |
| 23 |
<label for="subject">Subject</label> |
| 24 |
<input type="text" name="subject" id="subject" value="" placeholder="Need help or expertise?" /> |
| 25 |
<input type="hidden" name="target" id="target" value="contact" /> |
| 26 |
<!-- Leave blank or set the value of this field is set with valid URL. If set, the backend service will use the value as redirect URL once the form submitted. --> |
| 27 |
<input class="form-input" type="hidden" name="requestOrigin" id="requestOrigin" value="" /> |
| 28 |
</div> |
| 29 |
<div class="form-item"> |
| 30 |
<label for="message">Message</label> |
| 31 |
<textarea rows="6" name="message" id="message" placeholder="Please add details concerning your request."></textarea> |
| 32 |
</div> |
| 33 |
{{ else }} |
| 34 |
<div class="form-item"> |
| 35 |
<input type="hidden" name="subject" id="subject" value="Your Access to Product Demo!" /> |
| 36 |
<input type="hidden" name="target" id="target" value="demo" /> |
| 37 |
</div> |
| 38 |
{{ end }} |
| 39 |
<!-- uncomment the below div when enabling reCaptcha |
| 40 |
<div class="g-recaptcha" data-sitekey="{{.Site.Params.reCaptchaPrivateKey}}"></div> |
| 41 |
--> |
| 42 |
<input class="button" type="submit" value="Submit"> |
| 43 |
</form> |
| 44 |
</fieldset> |
| 45 |
</div> |