Johnn Posted December 1, 2019 Report Share Posted December 1, 2019 Is there any way I can individually set the color of a certain text field? For example, The text field for first name has different color compared to the last name. Thank you for those who can answer my inquiry Quote Link to comment Share on other sites More sharing options...
Vitalikssssss Posted December 2, 2019 Report Share Posted December 2, 2019 Hi @Johnn, Yes, it is possible with CSS. Here is an example of CSS code. It should go into Datapage Header and also make sure that you disable HTML editor. <style> input#InsertRecordYOUR_FIELD_NAME { background: #008000; } input#InsertRecordYOUR_FIELD_NAME { background: #00bfff; } </style> Replace "YOUR_FIELD_NAME" with your actual fields name and change the color according to your preferences. You can use this color picker. Hope this helps. Regards, vitalikssssss Quote Link to comment Share on other sites More sharing options...
Kurumi Posted September 29, 2023 Report Share Posted September 29, 2023 Hi - Just an update, for dynamically changing the font color of field values based on a condition - you can use this solution/CSS: https://howto.caspio.com/tech-tips-and-articles/dynamically-changing-colors-of-values/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.