
form.pl -- Form handling utilities
This module simplifies handling input from forms in the SWISH interface.
The values from a form can be turned into an object using
notebook.formData(form). The returned dict may be passed to a
predicate inside SWISH.
validate_form(+Dict, +Fields) is detfield(Name, Value, Options)
validate_field(+Dict, +Field, -Value, +Options) is dethttp also allows for https
validate_step(+Step, +Value0, -Value) is semidet[private]
is_url(?Scheme, +URL) is semidet[private]
string_value(+String, +Value) is semidet[private]The following predicates are exported, but not or incorrectly documented.
input_error(Arg1, Arg2)