Foundation validation example for form 'on submit' GRANITE UI

yats1k

24-02-2020

Hello everyone. I ran into a problem with form validation using this API  - https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui...

This documentation does not contain a detailed example of the implementation of validation and registration of the validator for the form (upon confirmation of submission).

I would really appreciate an example of form validation on submit using this API.(registration validator and implementation)

P.S. The field should be checked only when the submit button is pressed, and not after the user enters the field.

Answers (0)