FOFModel::validateForm
Method to validate the form data.
Signature
public function validateForm(FOFForm
$form,
[array
$data = null,
[string
$group = null]] )
Parameters
-
$form
- The form to validate against.
-
$data
- The data to validate.
-
$group
- The name of the field group to validate.
Returns
- mixed
- Array of filtered data if valid, false otherwise.