Forum Discussion
SGThompson
11 months agoCommunity Member
Text color change for variable
I have a text entry screen where users complete a few text-entry boxes. I want to be able to validate their entries and to color-code valid entries as green and invalid entries as red. Is there a way to change the color of the text in a text entry field on the fly (i.e. when the control loses focus)?
- PhilMayorSuper Hero
You should be able to change the text colour using JavaScript. Maths Noterdams has some examples on here.