Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Is it possible to get a widget by its ID?

$
0
0
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!

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>