Hi all,
Is there any way to access the token of a sibling input within the condition-match of another input when handling a change? From what I can tell, trying to access the $token$ of another input gives you some kind of empty/null value.
Basic illustration:
...
<fieldset autoRun="true" submitButton="true">
<input type="text" token="srch_form">
<label>Search</label>
<default></default>
</input>
<input type="dropdown" token="srch_dropdown">
<label>Select dropdown</label>
<default>option1</default>
<choice value="option1">option1</choice>
<choice value="option2">option2</choice>
<change>
<condition match="len($srch_form$) == 0">
<set token="temp_token">srch_form length is 0, dropdown value = $value$</set>
</condition>
<condition match="len($srch_form$) > 0">
<set token="temp_token">srch_form length is greater than 0, dropdown value = $value$</set>
</condition>
</change>
</input>
</fieldset>
I can't seem to hit "len($srch_form$) > 0" regardless of what I type in the first text input, so I'm guessing I'm doing something wrong or the capability isn't there.
Thanks for your help!
... View more