Answer the question
In order to leave comments, you need to log in
How to connect a feedback form on Shopify?
Good afternoon! There is a page on the Shopify engine and on this page you need to make the feedback form work. Tell me which script in JS or in what other way you can make it work! Thank you!
<div class="s-contact__col">
<form class="b-form b-form--contact js-validate s-contact__form" action="#" method="POST"
id="b-form-contact">
<div class="field field--type-text b-form__field"><label class="field__label visually-hidden"
for="b-form-contact-name">Name <span class="field__required">*</span></label>
<div class="field__field"><input type="text" name="name" placeholder="Name"
id="b-form-contact-name" required="required"
data-validator-required-message="This field is required" /></div>
</div>
<div class="field field--type-email b-form__field"><label class="field__label visually-hidden"
for="b-form-contact-email">E-mail <span class="field__required">*</span></label>
<div class="field__field"><input type="email" name="email" placeholder="E-mail"
id="b-form-contact-email" required="required"
data-validator-required-message="This field is required"
data-validator-email-message="This field requires a valid e-mail address" /></div>
</div>
<div class="field field--type-textarea b-form__field"><label
class="field__label visually-hidden" for="b-form-contact-message">Message <span
class="field__required">*</span></label>
<div class="field__field"><textarea name="message" placeholder="Message"
id="b-form-contact-message" required="required"
data-validator-required-message="This field is required"></textarea></div>
</div>
<button class="button b-form__submit button--black" type="submit">Send message</button>
</form>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question