Forum Discussion
ClaudiusH
8 years agoKhoros Alumni (Retired)
Hi cgauthier444
The logical "or" in Freemarker are two vertical pipe characters: ||
So your code would look like
<#if role.name?? && (role.name == "firstrole" || role.name == "secondrole")>
cgauthier444
8 years agoContributor
Thank you so much!
Related Content
- 11 years ago
- 11 years ago