diff --git a/src/B8Framework/Form/Element.php b/src/B8Framework/Form/Element.php index a4f81693..8cd6a43b 100644 --- a/src/B8Framework/Form/Element.php +++ b/src/B8Framework/Form/Element.php @@ -28,7 +28,7 @@ abstract class Element public function setName($name) { - $this->_name = strtolower(preg_replace('/([^a-zA-Z0-9_\-])/', '', $name)); + $this->_name = strtolower(preg_replace('/([^a-zA-Z0-9_\-%])/', '', $name)); return $this; }