45 lines
2.3 KiB
HTML
45 lines
2.3 KiB
HTML
<div id="reply-message"></div>
|
|
<div>
|
|
<fieldset>
|
|
<legend>Please fill in the form to submit your request</legend>
|
|
<form action="https://contact-request-endpoint/" method="post">
|
|
<!-- uncomment this div block when enabling reCaptcha
|
|
<script src="https://www.google.com/recaptcha/api.js"></script>
|
|
-->
|
|
<div class="form-item">
|
|
<label for="name">Name</label>
|
|
<input type="text" name="name" id="name" placeholder="Mr. Smith" />
|
|
</div>
|
|
<div class="form-item">
|
|
<label for="email">Email <span class="req"></span></label>
|
|
<input type="text" name="email" id="email" class="required email" placeholder="smith@company.com" />
|
|
</div>
|
|
<div class="form-item">
|
|
<label for="organization">Organization</label>
|
|
<input type="text" name="organization" id="organization" placeholder="Company, Inc." />
|
|
</div>
|
|
{{ if in .Params.tags "contact" }}
|
|
<div class="form-item">
|
|
<label for="subject">Subject</label>
|
|
<input type="text" name="subject" id="subject" value="" placeholder="Need help or expertise?" />
|
|
<input type="hidden" name="target" id="target" value="contact" />
|
|
<!-- 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. -->
|
|
<input class="form-input" type="hidden" name="requestOrigin" id="requestOrigin" value="" />
|
|
</div>
|
|
<div class="form-item">
|
|
<label for="message">Message</label>
|
|
<textarea rows="6" name="message" id="message" placeholder="Please add details concerning your request."></textarea>
|
|
</div>
|
|
{{ else }}
|
|
<div class="form-item">
|
|
<input type="hidden" name="subject" id="subject" value="Your Access to Product Demo!" />
|
|
<input type="hidden" name="target" id="target" value="demo" />
|
|
</div>
|
|
{{ end }}
|
|
<!-- uncomment the below div when enabling reCaptcha
|
|
<div class="g-recaptcha" data-sitekey="{{.Site.Params.reCaptchaPrivateKey}}"></div>
|
|
-->
|
|
<input class="button" type="submit" value="Submit">
|
|
</form>
|
|
</fieldset>
|
|
</div> |