Added a dropdown to my contact form - but selections not showing in email.

Topic summary

A Shopify store owner added a location dropdown to their contact form, but the selected city wasn’t appearing in notification emails—only the default “other” value was being transmitted.

The Problem:

  • The dropdown displayed correctly on the form
  • Submissions showed “location” field in emails but always displayed “other” regardless of selection
  • Code implementation was missing critical attributes

The Solution:

  • The <select> element was missing name and id attributes
  • Adding these attributes to the select tag resolved the issue
  • Proper format should include: <select name="contact[location]" id="location">

Status: Resolved. The form now correctly passes the selected city value to notification emails.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

I’ve added a “location” dropdown to the contact form using info from this community

it looks great and the “location” section is showing on the email but the selection isn’t transferring, it’s just showing as “other”

my website is taskerandshaw.com and the form is on the weddings page here > https://www.taskerandshaw.com/pages/weddings

Here is the code I used, the CS I used, how the form looks and also how the email looks.`

`i’m looking for the selected city to come through on the email

Thanks everyone
James.

Hi, normally a select element should look like this


what is inside the value will be submitted

Thank you so much, that worked perfectly when I added the name and Id tags to the select line.

1 Like