Hi,
I have two text boxes textbox1 with token name 'texttok' and
textbox2 with token name 'cputok'
Now, i want to set 'cputok' token with the value of 'texttok' when that 'texttok' token met some condition.
Any suggestion?
As far as you are not going to set the value from the second text box, you can use initialValue and default properties of the second text box to fetch value from first text box on its change event.
In the following example I am looking for Text Box 1 value to be test to be populated to second text box.
<input type="text" token="textBox1" searchWhenChanged="true">
<label>Text Box 1</label>
<change>
<condition match="$value$=="test"">
<set token="texttok">$value$</set>
</condition>
</change>
</input>
<input type="text" token="cputok" searchWhenChanged="true">
<label>Text Box 2</label>
<default>$texttok$</default>
<initialValue>$texttok$</initialValue>
</input>