(custom-validator input-element
validator-predicate
custom-validator-message
validator-message-a)
Validates field with custom validator
Validates field with custom validator
(generate-validation-message element
validator-message
&
[{value-missing :value-missing
too-long :too-long
step-mismatch :step-mismatch
range-overflow :range-overflow
custom-error :custom-error
type-mismatch :type-mismatch
range-underflow :range-underflow
too-short :too-short
bad-input :bad-input
pattern-mismatch :pattern-mismatch}])
Generate validation message
Generate validation message
(validate-field input-element
is-valid
&
[custom-validator-message validator-predicate])
Read validation attributes of particular fields
Read validation attributes of particular fields
(validate-input evt-p element event)
Validate input that happened on field
Validate input that happened on field
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close