Thanks again but I think I found a good way to do it.
All my validations are custom so I check them when the input is changed. Depending on the result of those validations I will then change the widget state by modifying its className.
Through inspecting the html, I found that the class name of a invalid input widget is:
className += " Not_Valid Not_Valid"
At the end of the screen action I run my RunJavaScript function using the WidgetId and I get the expected result.
Thanks a lot André :)
Cheers!
All my validations are custom so I check them when the input is changed. Depending on the result of those validations I will then change the widget state by modifying its className.
Through inspecting the html, I found that the class name of a invalid input widget is:
className += " Not_Valid Not_Valid"
At the end of the screen action I run my RunJavaScript function using the WidgetId and I get the expected result.
Thanks a lot André :)
Cheers!