Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We are trying to customize our newsletter form to include also Name and Country and not only e-mail but we don´t know how to do it. We found some guidance on the internet which made us change the code but now we have by mistake even added something in the code that shouldn´t be there because our footer suddenly looks very strange. This is only a problem when using safari, not chrome which is also very strange.
Thank you for your help!
Make sure you know how to rollback themes and always make backups before editing theme files.
Docs on optional fields in contact forms
https://shopify.dev/docs/themes/customer-engagement/add-contact-form#optional-inputs
A simple text field for Country would be like the following:
<div class="contact-country">
<label for="contact-country">Email</label>
<input type="text" name="contact[Country]" id="contact-country" />
</div>
Though you'd probably want this to be a dropdown list of all relevant countries.
If you need theme damage undone or this customization finished you can contact me directly for services.
Please provide context: store url, theme name, post url(s) and any further detail. Contact Info in signature.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
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