To build a form in Webflow with two dropdown selectors—one visible for “Location” and one hidden to send data to Zapier or a CRM—you’ll configure both elements within the form component using Webflow's form builder and custom settings.
Location—Zapier will use this to identify the field.
Since Webflow doesn’t support conditional logic on the native form, create a second Select element and hide it from the user:
LocationEmail.ny-team@example.comla-team@example.comhidden-field and hide it manually.
To make the hidden field reflect the visible choice, use a simple custom script:
```js
<script>
document.addEventListener("DOMContentLoaded", function() {
const locationSelect = document.querySelector('select[name="Location"]');
const emailSelect = document.querySelector('select[name="LocationEmail"]');
locationSelect.addEventListener('change', function() {
emailSelect.value = emailSelect.querySelector(
option[label='${locationSelect.value}']
)?.value || '';
});
});
</script>
```
label in the hidden field matches the visible dropdown.ny-team@example.com.
LocationEmail field to the target email/CRM recipient.
Create one visible dropdown for user location selection and one hidden dropdown containing mapped email addresses. Sync them via custom JavaScript so the correct email populates during form submission, enabling Zapier or your CRM to route the data appropriately.