domci : form was invalid
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5625 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
17
form.php
17
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))
|
||||
|
||||
Reference in New Issue
Block a user