Liking cljdoc? Tell your friends :D

formulario.validation


on-submitcljs

(on-submit valid?)
source

valid?cljs

(valid? validation-result)

Returns true if the validation result values are nil, or is empty. False otherwise

Returns true if the validation result values are nil, or is empty. False otherwise
sourceraw docstring

validatecljs

(validate form-data validation-map)

Validates a map of data with a map of validations. Runs each function on the validation map by passing as a parameter the value of the associated key in the form data

Validates a map of data with a map of validations.
Runs each function on the validation map by passing as a parameter the value
of the associated key in the form data
sourceraw docstring

validationscljs

(validations & validations)

Returns a function that composes the given validations. Validations are run one after the other, shortcutting when one returns a not nil value

Returns a function that composes the given validations.
Validations are run one after the other, shortcutting when one returns a not nil value
sourceraw docstring

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

× close