I need to change the color of the input field depending on the condition. For example: <pega: when name = "testWhen"> border: solid 2px red; </ pega: when>. But the color of the border does not change on the input field, but on the entire div including the label.
I need to change exactly the color of the border of the input field. How can i do this?
But I need to change the color not by focus, but by onLoad the page. That is, we determine the color based on the previously entered data. At the previous assignment the client enters the data and we compare it with the data from the database and if the entered value is greater than the value in the database, then at the next approve/reject stage we change the border color.
How can I fulfill this requirement?
Posted: 2 years ago
Posted: 26 Jul 2019 16:01 EDT
Bala Gangadhar Tilak Cherukuri (cherb)
Technical Lead, Client Support Engineering - India