Change text field border color in inline style
Hello
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?



Hi Maximl83,
This can be done by creating another set of input fields with back ground color and toggle them with visibility conditions.
Like, when giving input, user should see a set of input fields with no background color
when it is approver screen, approver can see a different section/input fields with background color.
This is the simplest and maintainable way of achieving your requirement.
Hope this helps,
Regards, cherb.