Expand my Community achievements bar.

SOLVED

Foundation validation example for form 'on submit' GRANITE UI

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor