Liking cljdoc? Tell your friends :D

validator-lib.core


custom-validatorcljs

(custom-validator input-element
                  validator-predicate
                  custom-validator-message
                  validator-message-a)

Validates field with custom validator

Validates field with custom validator
sourceraw docstring

generate-validation-messagecljs

(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
sourceraw docstring

validate-fieldcljs

(validate-field input-element
                is-valid
                &
                [custom-validator-message validator-predicate])

Read validation attributes of particular fields

Read validation attributes of particular fields
sourceraw docstring

validate-inputcljs

(validate-input evt-p element event)

Validate input that happened on field

Validate input that happened on field
sourceraw docstring

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

× close