The <if> element is a conditional logic statement that is used with the optional <elseif> and <else> elements. It is used to define content to be executed in a specific condition.
|
|
Attribute |
Description |
|
cond |
An ECMAScript expression to be evaluated and used as a boolean value for this conditional logic statement. Required. |
Block Catch Error Filled ForEach Help If Noinput Nomatch
Assign Audio Clear Data Disconnect Else ElseIf Enumerate Exit ForEach Goto If Log Prompt Reprompt Return Script Submit Throw Value Var #PCDATA
None
<if> cannot be used as a child of <foreach> when <foreach> is a child of <prompt> and vxmli.conformance.disallow_exec_content_within_prompts is set to true.
|