cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

Formula help - Fill textbox only when text is added otherwise keep it clear

Hello,

 

I'm trying to create a formula that fills a text box with a certain color only if it is not empty, so any value will change its fill color, otherwise keep it empty/void of color.  Attached is where I've started.

 

Trish

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: Formula help - Fill textbox only when text is added otherwise keep it clear

Try the following instead

If(DataCardValue59_2.Text="", RGBA(222, 223, 234, 1),RGBA(0,114,152,1))


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User II
Dual Super User II

Re: Formula help - Fill textbox only when text is added otherwise keep it clear

Try the following instead

If(DataCardValue59_2.Text="", RGBA(222, 223, 234, 1),RGBA(0,114,152,1))


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
Post Patron
Post Patron

Re: Formula help - Fill textbox only when text is added otherwise keep it clear

Thanks @Pstork1 , God bless. 

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,149)