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
The extended property would be only to helps you to find the element (by using a JQuery attribute selector, for example). But actually you don't need that. You can create a "SetWidgetValidationNameById" function that receives as input paramenter the WidgetId. What this actions would do is to execute a RunJavascript action (from HTTPRequestHandler extension) containing the script to change the validation message at client side. I can't say exactly how this script would work, but if you find your widget element by its id on the html you will find the way to change the validation message (it is probably some span)

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



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