How to allow duplicate separate values on a dropdown?

By: Kiley Werezak | Asked: 06/17/2025
ForumsCategory: How-toHow to allow duplicate separate values on a dropdown?
Kiley Werezak asked 3 weeks ago

I have a dropdown field where I need two of the options to have different labels but the same value. However FF 'detects' a duplicate and will will only pass the first option if the second is selected. Is there a way to turn off the duplicate detection? Or is there another field I could use to make this work?

Example:

Label | Value
A | 1
B | 1
C | 2

If B is selected, it passes A in the form actions (email/salesforce/etc).

1 Answers
Rob LeVineRob LeVine Staff answered 3 weeks ago

HTML doesn't impose that restriction, so it could be a bug, though it's worth revisiting your design that's forcing you to do this because it feels odd to me. Note that if you get it working and the user selects A or B, "1" will be saved to the database and you'll never know whether they selected A or B which is probably what you're running into in the form action.

Kiley Werezak replied 3 weeks ago

Ah that makes sense. I also had conditional logic based on the dropdown field that wasn't working, but that makes sense I can't base it off the label.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right