Hello!!!!
Is it possible to change the color of a text box if the date on a label is a holiday?
I have created a holiday table:
This is my label and the syntax in my label
This is my text box i want to change the color if its label is a holiday date based off of the Holiday table.
Appreciate the help!!!
Thank you so much Tina!!!! it worked great. I changed it to the fill property ..... appreciate your response.
Hi @jubae22 ,
We made a sample for you.
Dataverse:
Color of Text Box(TextInput):
If(CountRows(Filter(Holidays,Text('Hoiiday Date',"[$-en-US]mm-dd-yyyy") = Label1.Text))>0,Color.Red,Color.Black)
If you want to change another properties instant of font color, this is the reference Document.
Text input control in Power Apps - Power Apps | Microsoft Learn
Hope this will help you,
Best Regards,
Tina
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional