new Validator(_form)
Validates fields
Parameters:
Name | Type | Description |
---|---|---|
_form |
Picasso.form.Form |
- Source:
Methods
-
validate(pField) → {Picasso.pjo.Validation}
-
Validates a field
Parameters:
Name Type Description pField
Picasso.form.field.PicassoField - Source:
Returns:
-
validateForm(pForm) → {Object}
-
Validates a entire form, returning the id and the validation value
Parameters:
Name Type Description pForm
Picasso.form.PicassoForm - Source:
Returns:
- Type
- Object