diff --git a/forms/RequiredFields.php b/forms/RequiredFields.php index d01384424..e4500e8fa 100755 --- a/forms/RequiredFields.php +++ b/forms/RequiredFields.php @@ -102,7 +102,7 @@ JS; $fieldName, sprintf( _t('Form.FIELDISREQUIRED'), - strip_tags($formField->Title()) + strip_tags('"' . ($formField->Title() ? $formField->Title() : $fieldName) . '"') ), "required" );