proc newFormValidation(validator: openArray[(string, seq[ValidateHandler])]): FormValidation {...}{.
inline, raises: [], tags: [].}
-
Source
Edit
proc validate(formValidation: FormValidation; textTable: StringTableRef;
allMsgs = true): Info {...}{.raises: [ValueError, Exception, KeyError],
tags: [RootEffect].}
-
Source
Edit
proc isInt(msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc isNumeric(msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc isBool(msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc minValue(min: float; msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc maxValue(max: float; msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc rangeValue(min, max: float; msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc minLength(min: Natural; msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc maxLength(max: Natural; msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc rangeLength(min, max: Natural; msg = ""): ValidateHandler {...}{.inline, raises: [],
tags: [].}
-
Source
Edit
proc equals(value: string; msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc accepted(msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
if lowerAscii input in {"yes", "on", "1", or "true"}, return true
Source
Edit
proc required(msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc matchRegex(value: Regex; msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit
proc matchUrl(msg = ""): ValidateHandler {...}{.inline, raises: [], tags: [].}
-
Source
Edit