diff --git a/form.php b/form.php index 9f8729c..92cd86c 100644 --- a/form.php +++ b/form.php @@ -62,6 +62,7 @@ class form - [hidden] : hide the field (add a style='display:hidden' to the field) - [rows] : Number of rows - [cols] : Number of columns + - [placeholder] : The text to be displayed in the placeholder @param array $fields The fields to be displayed */ @@ -280,7 +281,7 @@ class formfield /** Return the checkbox defined */ public function fieldcheckbox () { - // No $this->multiple, $this->rows $this->cols + // No $this->multiple, $this->rows $this->cols $this->placeholder $res = ""; $res .= "