How to Dynamically Change Form Label Colors
Comments
-
How do I change form label color based on dynamic input? I.e. If the form receives "True" a label becomes green, and if "False" the label becomes red.
-
You could do this by using an HTML Display component instead of a label. If you set the Source Type to “Data” and set the Display Mode to “Inline”, you can pass in a string with html tags to set the color of the text. Then all you need to do is set up the logic to the right tags depending on if you are displaying True or False.
Howdy, Stranger!
Categories
- 4.4K All Categories
- 84 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 111 Rules
- 275 Administration
- 214 Portal
- 498 General Q & A
- 716 Forms
- 350 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 188 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 70 Repository
- 231 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions