Placeholder Default placeholder on load (Added in v 3.6)

You can enable the placeholder settings in config to show the default placeholder for input elements. By default, placeholder will have save value as the label of field. You can also set the particular placeholder value.

  
                                $pdocrud = new PDOCrud();
                                // This will show placeholder for all input type text elements, value of placeholder will be same 
                                // as the lable shown
                                $pdocrud->setSettings("placeholder", true);
                                // optional: change the value of particular field (This function is already available before)
                                $pdocrud->fieldAttributes("order_status", array("placeholder"=>"status of order"));//add placeholder attribute
                                echo $pdocrud->dbTable("orders")->render("INSERTFORM");