Plugin chosen example

  
$pdocrud = new PDOCrud();
$pdocrud->addPlugin("chosen");//to add plugin      
$pdocrud->fieldTypes("product_name", "select"); //change donation amount to radio button
$pdocrud->fieldDataBinding("product_name", array("Mobile", "Pendrive", "Harddisk"), "", "", "array"); //add data for radio button
echo $pdocrud->dbTable("producttable")->render("insertform");
echo $pdocrud->loadPluginJsCode("chosen","input[type=text]");//to add plugin call on input[type=text] elements
                            

Plugin chosen example - PDOCrud