Skip to main content

Utils

The utils object contains helper methods for miscellaneous functionalities such as showing/hiding loaders and setting/unsetting errors.

Usage

To access Utils object and all its customization options use your browsers console and type:

window?.esForms?.utils

You can find all methods and their documentation on this link.

Example

This example will reset all errors to its original state.

window?.esForms?.utils?.resetErrors('<formId>');

This example will show a loader element.

window?.esForms?.utils?.showLoader('<formId>');