Skip to main content
Participant
February 16, 2018
Question

Dropdown menu multiple instances

  • February 16, 2018
  • 1 reply
  • 427 views

Hi,

I am creating a form with three instances of a dropdown menu. All three menus have the same name as I want them to auto populate the same value. However, there may be times when the user will need to change the value of just one of the fields. So, my question is this:

Is there a way to link three dropdown menus so that they display the same value unless the user selects another option from the list?

I may be missing some very simple solution, but I'm at a loss.

Thanks for any help you're able to give!

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
February 16, 2018

There's no simple way of doing it. You will have to give them unique names and use a script to copy the value from one field to the rest.

It's not clear from your description based on what to decide when the value should be copied, and when not, though.

Participant
February 16, 2018

The form is for wage increases and the list consists of two options /hour and /year. Most of the time, all instances will be the same, but there may be time when an employee is going from hourly pay to salary. In those cases, the first instance would need to have /hour selected and the other two instances would need to have /year selected.

I don't want to get into any complicated scripting though, so I think I'll just leave it where the user will have to choose from the individual dropdown lists.

Thanks for your help!