Show/Hide Toolbars

The following are examples of how tc:conditional can be used to compare a custom field value with the value specified in the tag to include static text and retrieve data.

Date

<tc:conditional condition="greater" compare="Detail[CLAM]/DetailValue[AwardDate],2003-01-01">Date Awarded: <tc:detail select="CLAM/AwardDate" /></tc:conditional>

Number

<tc:conditional condition="less" compare="Detail[CLAM]/DetailValue[ClaimEstimate],10000">Claim Estimate: <tc:detail select="CLAM/ClaimEstimate" /></tc:conditional>

List

<tc:conditional compare="Detail[CLAM]/DetailValue[Fatality],Yes">Unfortunately there was a fatality.</tc:conditional>

Check Box

<tc:conditional compare="Detail[CLAM]/DetailValue[PoliceInvolved],true">Police Involved: <tc:detail select="CLAM/PoliceOfficer" /></tc:conditional>

Text

<tc:conditional compare="Detail[CLAM]/DetailValue[LossLocation],Near Residence">Loss Location: <tc:detail select="CLAM/LossLocation" /></tc:conditional>