custom-form-validator
Reactive icon

Custom Form Validator

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 27 December 2021
 by 
0.0
 (0 ratings)
custom-form-validator

Custom Form Validator

Documentation
1.0.1

Usage

Step 1

Download and import script into your OS Reactive application. Then attach script to SCREEN or UI under required script property

Step 2

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.


Key Points
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.