cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Getting a value out of a field and changing the color of the output based on the value.

Looking to write an expression that takes the value of a field (ConditionStatus), where the output can be Good, Poor, Bad, NA and add a color to the output. Green=Good, NA=Grey, Bad=Red, Poor=Yellow. This is being written out in HTML and then create a PDF in the end.

<p>['QuestionID']. ['QuestionText']</p><p> ['ConditionStatus']</p><p>['Note']</p>

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: Getting a value out of a field and changing the color of the output based on the value.

Never mind, it was easy. I used CSS to change the color. I was so focused on code that I forgot I could use CSS.

View solution in original post

2 REPLIES 2
Highlighted
Frequent Visitor

Re: Getting a value out of a field and changing the color of the output based on the value.

Never mind, it was easy. I used CSS to change the color. I was so focused on code that I forgot I could use CSS.

View solution in original post

Highlighted
Community Support
Community Support

Re: Getting a value out of a field and changing the color of the output based on the value.

Hi @ceuser ,

 

It seems that your problem has been solved, if yes, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

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