Hi All.
I have a Gallery where leave requests are submitted via MS form landing in a MS SharePoint List. Within this gallery I have a label displaying the date of the first day of the request so I know when I have to action the request by.
When the request arrives, by default its status is set to 'New', this displays the label 'Action Before dd/mm/yy' however when I set the status to 'Requires Approval', this label disappears.
I need this label to display when the status is either 'New' or 'Requires Approval'
Currently this is the code I'm using on the 'Visible' tab
If(ThisItem.Status.Value="New", true,false)
Many thanks
Hi @Angry_Sys_Admin,
You can achieve this by extending the condition with the 'or' operator '||'.
We can also remove the if statement.
Your visible property would look as follows:
ThisItem.Status.Value = "New" || ThisItem.Status.Value = "Requires Approval"
If this solves your question, would you be so kind as to accept it as a solution.
Thanks!
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional