A shadow variable is referenced as name$.shadowvar where name is the value of the input item’s name attribute, and shadowvar is the name of a specific shadow variable. E.g. the <record> element's "duration" variable can be accessed thusly:
Code: Select all
<form id="shadowvar_test">
<record name="foo" beep="true">
<prompt>
Please record a message after the tone.
</prompt>
<filled>
<if cond="foo$.duration > 10000">
Wow, long message!
</if>
</filled>
</record>
</form>