If Conditional Tag

The <div od-if="<>"> tag provides a simple conditional branching capability. It uses the following format:

<div od-if="<>"> ... <!--od <tagName> close--> </div>

The <div od-if="<>"> tag includes the Condition attribute. Siebel CRM does the following:

  • If the condition is TRUE, then Siebel CRM processes the body of the <div od-if="<>"> tag.

  • If the condition is FALSE, then Siebel CRM skips the body of the <div od-if="<>"> tag.

The <div od-if="<>"> tag does not provide an else capability. To implement an else condition, you can use some combination of the <div od-switch>, <div od-case="<>">, and <div od-default> tags.