URL params and dropdown dependencies
-
Hi,
Im trying to select option values based on url params. This works fine as long as my dropdown values doesnt have any dependencies. Otherwise I get some strange behavior.
My setup is like this:
ParentSelection
– Red
– Blue
– GreenBased on those values I have child selections.
with jQuery(‘ParentSelection’).val(‘Red’).prop(‘selected’, true); the value gets selected. But the subselections which have preselected elements stays empty. Also changing the value of my ParentSelection keeps showing “Red” but reacts on my dependencies onchange (e.g. selecting “Blue” shows blue child selection but jumps back to “Red” while the blue child selector is still visible)
I hope my explanation wasnt to complicated. Im no native english speaker ??
https://www.ads-software.com/plugins/calculated-fields-form/
- The topic ‘URL params and dropdown dependencies’ is closed to new replies.