FIX Try getting field with ID suffix
This commit is contained in:
parent
44f77ecdac
commit
906c29444b
|
@ -104,6 +104,9 @@ class RequiredFields extends Validator
|
||||||
$fieldName = $fieldName->getName();
|
$fieldName = $fieldName->getName();
|
||||||
} else {
|
} else {
|
||||||
$formField = $fields->dataFieldByName($fieldName);
|
$formField = $fields->dataFieldByName($fieldName);
|
||||||
|
if (is_null($formField)) {
|
||||||
|
$formField = $fields->dataFieldByName($fieldName . 'ID');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// submitted data for file upload fields come back as an array
|
// submitted data for file upload fields come back as an array
|
||||||
|
|
Loading…
Reference in New Issue