To clarify what I’m trying to achieve: I want to go to the first dropdown and manually choose a drop down option, which will reset it's token. I expect the second drop down to re-evaluate automatically since it references the first dropdown's token. I tested your recommendation and your XML doesn't solve this.
Without this functionality, we can end up inconsistent like this Screenshot below. Notice how the "Lower" droppdown's value is "Y" in the dropdown itself, but Upper thinks it's "X" and thus prints the wrong value in the dashboard. The only way to avoid this is: everytime i touch dropdown "Lower", i need to subsequently touch dropdown "Upper", which defeats the purpose of having them as separate widgets.
IMAGE:
here's the updated XML that matches the image:
<form>
<label>Testing Dropdowns</label>
<description>Expectation is that the upper dropdown sets a token and the lower dropdown displays it in the dashboard... and vice versa</description>
<fieldset submitButton="false">
<input type="dropdown" token="upper" searchWhenChanged="true">
<label>Upper</label>
<choice value="A">A</choice>
<choice value="B">B</choice>
<default>A</default>
<change>
<condition value="A">
<eval token="UpperShowLowerValue">$lower$</eval>
</condition>
<condition value="B">
<eval token="UpperShowLowerValue">$lower$</eval>
</condition>
</change>
</input>
<input type="dropdown" token="lower" searchWhenChanged="true">
<label>Lower</label>
<choice value="X">X</choice>
<choice value="Y">Y</choice>
<change>
<condition value="X">
<set token="LowerShowUpperValue">$upper$</set>
</condition>
<condition value="Y">
<set token="LowerShowUpperValue">$upper$</set>
</condition>
</change>
</input>
</fieldset>
<row>
<panel>
<html>
<b>Token Values</b>
<br/>
<div>
Upper thinks Upper Value is: $upper$<br/>
Upper thinks Lower Value is: $UpperShowLowerValue$<br/>
Lower thinks Lower Value is: :$lower$<br/>
Lower thinks Upper Value is: $LowerShowUpperValue$<br/>
</div>
</html>
</panel>
</row>
</form>
... View more