Is Current Page Valid

Definition:

NDLLibrary.isCurrentPageValid(ndlParams)

 

Description:

Performs data validation for all Elements on the currently displayed page, which have data validation criteria specified.

 

 

Returns:

true if no validation errors found.

false if validation errors are found.

 

Code Sample:

return NDLLibrary.isCurrentPageValid(ndlParams);

 

Notes:

This function uses the default ndlParams object because it requires the scope property contained in the default object. If you want to include this function within your own custom JavaScript, you will need to generate a JavaScript function from an Element's properties in order to obtain the default ndlParams and then modify that function or make its default ndlParams object available to other functions that you write.

 

Using as Predefined Action in Event:

When assigned to an Event as a predefined action, this function doesn’t require any editing.

 

 


See also:

Validate Data Input