Foundation validation example for form 'on submit' GRANITE UI



Hello everyone. I ran into a problem with form validation using this API  -

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)