Yes, it IS possible to have HTML emails with conditional attributes.
Following is a sample of an HTML Document Template used in an email notification.
Note this is using Build 1900.
<b>Game date:</b> <<GameAssignments.TeamTextSC>> - <<GameAssignments.EventDateSC@EEEE, MMM d, yyyy - h:mm a>>
<br><br>
<<IF GameAssignments.GameOverSC='Yes' AND GameAssignments.GameTypeSC='Dual' THEN SHOW SECTION_START>><b>Result:</b> <<GameAssignments.TeamTextSC>> --> LW: <<GameAssignments.Game.OurScore>> <<GameAssignments.OpponentSC>>: <<GameAssignments.Game.TheirScore>>
<br><br>
<b>Win/Loss:</b> <<GameAssignments.Game.WinLoss>><<SECTION_END>>
<br><br>
<<IF GameAssignments.GameOverSC='Yes' AND GameAssignments.GameTypeSC='Invitational' AND (GameAssignments.Score_Inv_Place<>'Postponed' OR GameAssignments.Score_Inv_Place<>'Cancelled') THEN SHOW SECTION_START>><b>Invitational Place:</b> <<GameAssignments.Score_Inv_Place>><<SECTION_END>>
<br>
<<IF (GameAssignments.Score_Inv_Place='Postponed' OR GameAssignments.Score_Inv_Place='Cancelled') THEN SHOW SECTION_START>><b>Postponed / Cancelled:</b> <<GameAssignments.Score_Inv_Place>><<SECTION_END>>
<br><br>
<<IF (GameAssignments.SportSC='Baseball' OR GameAssignments.SportSC='Football') THEN SHOW SECTION_START>><b>Show Game Cast link?:</b> <<GameAssignments.GameCastLinkShow>>
<br>
<b>Game Cast link:</b> <<GameAssignments.GameCastLink>><<SECTION_END>>
<br><br>
<b>Abstract:</b> <<GameAssignments.Game.Abstract>>
<br><br>
<b>Score input by:</b> <<LoggedInSystemUser.Name>> on <<CURRENT_TIMESTAMP@EEEE, MMM d, yyyy - h:mm a>>
<br><br>
<b>Update link:</b> <a href="<<GameAssignments.Edit_Game_URL>>">Edit this game</a>
<br><br>
<b>Update link MOBILE:</b> <a href="<<GameAssignments.Edit_Game_URL_MOBILE>>">Edit this game on phone</a>
<br><br>
<b>Tweet edit link:</b> <a href="<<GameAssignments.Edit_Tweet_URL>>">Tweet this game</a>
<br><br>
<b>Schedule / Results Page:</b> <a href="<<GameAssignments.Team_ScheduleSC>>"><<GameAssignments.TeamTextSC>></a>
<br><br>
<u><i><b>Assignments:</b></i></u>
<br><br>
<b>Score / Abstract:</b> <<GameAssignments.Assigned_ScoreAbstracts>>
<br><br>
<b>Article:</b> <<GameAssignments.Assigned_Articles>>
<br><br>
<b>Photos:</b> <<GameAssignments.Assigned_Photographers>>
<br>
== END ==
HTML email notifications with conditional attributes
HTML email notifications with conditional attributes
Tom - V8.8 build 3137 - MySql / PostGres