Liking cljdoc? Tell your friends :D

validator-lib.core


generate-validation-messagecljs

(generate-validation-message element validator-message)

Generate validation message

Generate validation message
sourceraw docstring

validate-fieldcljs

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

Read validation attributes of particular fields

validator-fn (fn [input-elem] (let [input-value (md/get-value-as-number input-elem)] (if (= input-value 888) "" "Number is not 888")) )

Read validation attributes of particular fields

validator-fn
  (fn [input-elem]
    (let [input-value (md/get-value-as-number
                        input-elem)]
      (if (= input-value
             888)
        ""
        "Number is not 888"))
   )
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