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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions