From 3d45646dd91542789a7d1695d7c6b37f927c7a8e Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Thu, 31 Oct 2019 08:03:16 +0000 Subject: [PATCH] domci : form was invalid git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5625 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- form.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/form.php b/form.php index c55d1c8..b5419d5 100644 --- a/form.php +++ b/form.php @@ -149,7 +149,8 @@ class form } /** Set the Form Templating to use. - * Can be : Bootstrap3 (and later Bootstrap4, Bulma) + * Can be : Bootstrap3, Bootstrap4 (later Bulma) + * @param string $formTemplate The template to use */ public function formTemplate ($formTemplate) { @@ -1593,7 +1594,7 @@ class formfield { $res .= " is-invalid"; } - $res .= "'"; + $res .= "'"; if (isset ($this->help)) { $res .= " aria-describedby='".$this->formName."_"; @@ -1699,7 +1700,7 @@ class formfield $res .= " class='form-control"; if (isset ($this->errors)) $res .= " is-invalid"; - $res .= "'"; + $res .= "'"; if (isset ($this->hidden) && $this->hidden !== FALSE) $res .= " style='display:none'"; if (isset ($this->cols)) @@ -1796,7 +1797,7 @@ class formfield $res .= " class='form-check-input"; if (isset ($this->errors)) $res .= " is-invalid"; - $res .= "'"; + $res .= "'"; if (isset ($this->help)) { $res .= " aria-describedby='".$this->formName."_"; @@ -1901,7 +1902,7 @@ class formfield $res .= " class='form-control"; if (isset ($this->errors)) $res .= " is-invalid"; - $res .= "'"; + $res .= "'"; if (isset ($this->rows)) $res .= " size='".$this->rows."'"; if (isset ($this->help)) @@ -2047,7 +2048,7 @@ class formfield $res .= " class='form-control"; if (isset ($this->errors)) $res .= " is-invalid"; - $res .= "'"; + $res .= "'"; if (isset ($this->hidden) && $this->hidden !== FALSE) $res .= " style='display:none'"; if (!isset ($this->cols)) @@ -2139,7 +2140,7 @@ class formfield $res .= " class='form-control"; if (isset ($this->errors)) $res .= " is-invalid"; - $res .= "'"; + $res .= "'"; if (isset ($this->hidden) && $this->hidden !== FALSE) $res .= " style='display:none'"; if (isset ($this->cols)) @@ -2230,7 +2231,7 @@ class formfield $res .= " class='form-control"; if (isset ($this->errors)) $res .= " is-invalid"; - $res .= "'"; + $res .= "'"; if (isset ($this->hidden) && $this->hidden !== FALSE) $res .= " style='display:none'"; if (isset ($this->cols))