Download and import script into your OS Reactive application. Then attach script to SCREEN or UI under required script property
Then attach script to SCREEN or UI under required script property
Use OsValidator function as mentioned below
#returns <boolean>
OsValidator(WidgetId).then(function(result) { // ... your logic here $resolve(); });
Pass widget #id as param to this function. Promise callback will return true or false via argument result.
widget #id
result
1. Target Form or Element should marked a `mandatory`. 2. Trigger form validation from anywhere in the same screen. 3. No restriction for Form which present in different blocks.