Add custom radio buttons to Shopify contact form with HTML code example
Example: Add custom radio buttons to Shopify contact form with HTML
<!--
Add the below code to your page.contact.liquid file
Note: dont forget to repalce the "dummy text" (coffee, tea, etc...) with your own value!
-->
<label>Do you prefer tea or coffee?</label><br />
<input
type="radio"
id="ContactFormTea"
name="contact[Tea or Coffee]"
value="Tea"
/>
Tea<br />
<input
type="radio"
id="contactFormCoffee"
name="contact[Tea or Coffee]"
value="Coffee"
/>
Coffee
<!--
Bonus: This is where you will find all the info that you need (link below):
https://shopify.dev/tutorials/customize-theme-add-fields-to-your-contact-form#customize-your-form-fields
-->
<!-- Happy coding, my homies <3 -->