Toggle menu

helper.validatePage(currentForm)

This function performs validation of all fields on the current page.

It is supplied with a DOM element, or server-side equivalent, that represents the current form. It returns an array of validation errors.

Argument

ArgumentTypeDescription
currentFormObject, requiredDOM-style representation of the current form

Returns

Array

Last modified on March 06, 2020

Share this page

Facebook icon Twitter icon email icon

Print

print icon