Numeric entry field invalidStyle expand style to other components

I have numeric entry component .When data is out of input bounds I have the invalidStyle with red color borders on this numeric field.
I want to expand invalidStyle to modify other components styles

  1. Hide the green tick mark when this invalidStyle class is active on the component .alternatively change the fill color to red.
  2. show the message below the numeric field in red color.

I know I can do this via scripting but I am thinking If i can expand on this invalidStyle to set other components style

1 Like