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))