Beagle v1.6 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
The validator component is an interface that informs to the Form when to enable the FormSubmit
button. It is based on the observability
concept, which FormInput will validate the submitted information and then send them to the Validator.
There are two ways to use Form Validator:
FormSubmit
notifyObservers
method inside the FormInput
.Atenção: Validator ≠FormValidation
Despite the similar names, it’s important to mention that Validator is different of the FormValidation. The first one authenticates the filled form and the second returns error messages in case of failed information in the form.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.