Handbook
Glossary
validation-error ( message -- )
Furnace framework
»
Furnace presentation layer
»
HTML forms
»
HTML form infrastructure
Prev:
begin-form ( -- )
Next:
validation-failed? ( -- ? )
Vocabulary
html
.
forms
Inputs
message
a
string
Outputs
None
Word description
Reports a validation error not associated with a specific form field.
Notes
Such errors can be rendered by calling the
render-validation-errors
word.
Definition
USING:
accessors
namespaces
sequences
;
IN:
html.forms
:
validation-error
( message -- )
form
get
t
>>validation-failed
errors>>
push
;