Methods
validate
(
-
value -
options -
model -
attribute
Parameters:
-
valueAny -
optionsObject-
allowNoneBooleanIf true, skips validation if the value is null or undefined. Default: true
-
allowBlankBooleanIf true, skips validation if the value is empty
-
useBetweenMessageBooleanIf true, uses the between error message when
maxandminare both set -
isNumberThe exact length the value can be
-
minNumberThe minimum length the value can be
-
maxNumberThe maximum length the value can be
-
-
modelObject -
attributeString