$pdocrud = new PDOCrud(); $pdocrud->addPlugin("bootstrap-colorpicker");//to add plugin $pdocrud->formFields(array("product_name")); echo $pdocrud->dbTable("producttable")->render("insertform"); echo $pdocrud->loadPluginJsCode("bootstrap-colorpicker","input[type=text]");//to add plugin call on input[type=text] elements