You have your DropDown, let us give this dropdown the following ID —> “DD1”.
Ok, you have now defined the ID for your dropdown.
When you change the VALUES of your “DD1”(dropdown) an event is fired-up.
You can targeting this events value. And this is exacly what J.D. did in his example.
Nice solution by the way!
Next step is to take the targeted VALUE (selected in the “DD1”-dropdown) and pass it over to the “MSB” Multi-State-Box, in your project → “Comm”
So when for example you choose “LNG” in your dropdown, an onChangeEvent start his job and changes the state in your MSB to the state of the choosen dropdown-value.
To explain it more simply:
-You have 2x values in your DropDown → “LNG” + “GAS”
-And you have the corresponding 2x states in your MSB → “LNG” + “GAS”
-You change DD —> targeting-process —> “LNG” —> changing MSB-state—> “LNG”
@markabroad
Test this first and look into your CONSOLE! You will understand the rest.
-Paste this little code-part into your page.
-Rename the ID to corresponding to your elements-ID (blue codeline).
-Open your console (F-12 in google-chrome)
-Do a value-change in your dropdown —> an event will start.
-Take a look onto your console.