Liking cljdoc? Tell your friends :D

f-form.validation

Functions for setting or checking the validation on the form as a whole.

A f-form.form is validated as a whole, and a summary is placed on the form. Field errors are placed on the fields themselves.

f-form delegates validation to other validation libraries. See f-form.validation.vlad for more information about validating with vlad.

Functions for setting or checking the validation on the form as a whole.

A [[f-form.form]] is validated as a whole, and a summary is placed on the
form. Field errors are placed on the fields themselves.

f-form delegates validation to other validation libraries. See
[[f-form.validation.vlad]] for more information about validating with
[vlad](https://github.com/logaan/vlad).
raw docstring

invalid?clj/s

(invalid? form)

Check whether the form has some validation errors.

Check whether the `form` has some validation errors.
sourceraw docstring

set-validclj/s

(set-valid form valid?)

The integration point for validation libraries. Any external validation system should call this when a form becomes valid or invalid. See f-form.validation.vlad/validate for an example.

The integration point for validation libraries. Any external validation
system should call this when a form becomes valid or invalid. See
[[f-form.validation.vlad/validate]] for an example.
sourceraw docstring

valid?clj/s

(valid? form)

Check whether the form has no validation errors.

Check whether the `form` has no validation errors.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close