Skip to main content
Participant
November 28, 2017
Question

Using one Dropdown list to Populate another works, but can't make selections in second Dropdown

  • November 28, 2017
  • 1 reply
  • 613 views

I was using the switch script in a custom calculation script in a dropdown to populate a 2nd dropdown (which works correctly), but I can't actually make a selection in the 2nd dropdown list. The list is made and I can click on it to see the populated options, but clicking off the dropdown list after selecting an option besides the first causes it to revert back to the default choice. I assume it has something to do with the list being re-populated after making my choice, but I have no idea on how to stop it.

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
November 28, 2017

Don't use a calculation script for this.

Participant
November 28, 2017

What do you suggest I use instead?

Inspiring
November 28, 2017

The first dropdown calculation script gets triggered whenever any field value changes, so when you make a selection in the second dropdown, it gets triggered and resets the second dropdown. Without knowing more about how the form is intended to work, it's hard to give a specific recommendation. Using a custom validation or keystroke script instead in the first dropdown would probably be better. It would probably help if you posted the calculation script you're using now.