Question
4
Replies
7215
Views
Murex
Posted: July 4, 2016
Last activity: March 16, 2017
Closed
Solved
Custom css based on a when condition
Hi, I have this onserted in inline style and it works perfectly
<pega:when test='Active==false'>background-color: red; </pega:when>
it checks if bool active is false and makes the background red f it false.
However I want to check more than 1 parameter. I want to check if active == false && available == false
How to achieve that?
Best Regards,
Mohammad Bashir Sidani.
Message was edited by: Lochan to add Category
Please check if nested when tags could be used for your scenario:
<pega:when test='Active==false'>
<pega:when test='available == false'>background-color: red; </pega:when>
</pega:when>
Murali...