diff --git a/Core/Frameworks/Formal/Form.php b/Core/Frameworks/Formal/Form.php index ac67447..c60bf99 100644 --- a/Core/Frameworks/Formal/Form.php +++ b/Core/Frameworks/Formal/Form.php @@ -309,7 +309,7 @@ class Form { public function validateTokenid($sValue, \Formal\Form\Morphology $oMorpho, \Formal\Element $oElement) { if(!preg_match("/^[a-z0-9\-_]+$/", $sValue)) { - return "" . $oElement->option("label") . " is not valid. Allowed characters are digits, lowercase letters and the dash symbol '-'."; + return "" . $oElement->option("label") . " is not valid. Allowed characters are digits, lowercase letters, the dash and underscore symbol."; } return TRUE;