Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I've created a custom contact form for a new site I am building. The form is submitting correctly, however one field that is actually quite important is not coming through on the email notification. I got the code for this field off of a YouTube video, but I can't figure out why the field doesn't come through. Can anyone help?
Here is my code for the field in question:
<div class="field">
<div class="select">
<select id="ContactFormProduct" style="font-size: inherit; padding-top: 0.8rem;" class="field__input select__select" name="contact[product]">
<option selected disabled required value="">Choose a product:</option>
<option value="EpiGlare Single Phoropter Kit">EpiGlare Single Phoropter Kit</option>
<option value="EpiGlare Binocular Phoropter Kit">EpiGlare Binocular Phoropter Kit</option>
<option value="EpiGlare Handheld Desk Kit">EpiGlare Handheld Desk Kit</option>
</select>
<svg class="icon-caret" aria-hidden="true" focusable="false" viewBox="0 0 10 6">
<use href="#icon-caret" />
</svg>
</div>
<label for="ContactFormProduct" style="visibility: hidden;" class="field__label">Product</label>
</div>
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025