diff --git a/extension/qfq/qfq/AbstractBuildForm.php b/extension/qfq/qfq/AbstractBuildForm.php
index b0c3e8f289e9375426c7a9565b4fa5300314c4bd..deaac4be888eb82c859b1ca36649d9c1184e9a14 100644
--- a/extension/qfq/qfq/AbstractBuildForm.php
+++ b/extension/qfq/qfq/AbstractBuildForm.php
@@ -3177,7 +3177,6 @@ abstract class AbstractBuildForm {
         // 'maxLength' needs an upper 'L': naming convention for DB tables!
         $attribute .= $this->getAttributeList($formElement, ['size', 'maxLength']);
         $attribute .= Support::doAttribute('value', htmlentities($value), false);
-        $attribute .= $this->getAttributeList($formElement, [F_FE_DATA_PATTERN_ERROR, F_FE_DATA_REQUIRED_ERROR, F_FE_DATA_MATCH_ERROR, F_FE_DATA_ERROR]);
 
         if ($formElement[FE_PLACEHOLDER] == '') {
             $timePattern = ($formElement[FE_SHOW_SECONDS] == 1) ? 'hh:mm:ss' : 'hh:mm';
@@ -3198,6 +3197,10 @@ abstract class AbstractBuildForm {
             $formElement[FE_PLACEHOLDER] = $placeholder;
         }
 
+        if ($formElement[F_FE_DATA_PATTERN_ERROR] == '')
+            $formElement[F_FE_DATA_PATTERN_ERROR] = "Please match this format: $placeholder";
+        $attribute .= $this->getAttributeList($formElement, [F_FE_DATA_PATTERN_ERROR, F_FE_DATA_REQUIRED_ERROR, F_FE_DATA_MATCH_ERROR, F_FE_DATA_ERROR]);
+
         $attribute .= $this->getAttributeList($formElement, [FE_INPUT_AUTOCOMPLETE, 'autofocus', 'placeholder']);
         $attribute .= Support::doAttribute('data-load', ($formElement[FE_DYNAMIC_UPDATE] === 'yes') ? 'data-load' : '');
         $attribute .= Support::doAttribute('title', $formElement[FE_TOOLTIP]);
diff --git a/extension/qfq/qfq/helper/Support.php b/extension/qfq/qfq/helper/Support.php
index a8a024a8ca6c72076873fc84071f406c48655da7..7e6c560a2696e4691573e486c36c4160cc94ec75 100644
--- a/extension/qfq/qfq/helper/Support.php
+++ b/extension/qfq/qfq/helper/Support.php
@@ -798,6 +798,8 @@ class Support {
         }
         self::setIfNotSet($formElement, FE_DECIMAL_FORMAT);
 
+        self::setIfNotSet($formElement, F_FE_DATA_PATTERN_ERROR);
+
         return $formElement;
     }