Parents: | html |
Tags: | web |
Authors: | Slava Pestov |
Class | Superclass | Slots |
form | tuple | errors values validation-failed |
validation-error-state | tuple | value message |
nested-forms |
Word | Stack effect |
<form> | ( -- form ) |
<validation-error-state> | ( value message -- validation-error-state ) |
begin-form | ( -- ) |
check-value-name | ( name -- name ) |
define-validators | ( class validators -- ) |
from-object | ( object -- ) |
nest-form | ( name quot -- ) |
prepare-value | ( name object -- value name object ) |
render-validation-errors | ( -- ) |
set-value | ( value name -- ) |
to-object | ( destination names -- ) |
validate | ( value quot -- result ) |
validate-value | ( name value quot -- ) |
validate-values | ( assoc validators -- ) |
validation-error | ( message -- ) |
validation-failed? | ( -- ? ) |
value | ( name -- value ) |
values | ( -- assoc ) |
with-each-object | ( name quot -- ) |
with-each-value | ( name quot -- ) |
with-form | ( name quot -- ) |
Word | Stack effect |
form? | ( object -- ? ) |
validation-error-state? | ( object -- ? ) |