Warning: include(../../script/pdocrud.php): Failed to open stream: No such file or directory in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-bootstrap-tag-input.php on line 1

Warning: include(../../script/pdocrud.php): Failed to open stream: No such file or directory in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-bootstrap-tag-input.php on line 1

Warning: include(): Failed opening '../../script/pdocrud.php' for inclusion (include_path='.:/opt/remi/php81/root/usr/share/pear:/opt/remi/php81/root/usr/share/php:/usr/share/pear:/usr/share/php') in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-bootstrap-tag-input.php on line 1
PDOCrud - CRUD application generator for PHP and Mysql, Pgsql and Sqlite database.

Plugin bootstrap tag input example

Convert any input type text field to tags field. You can write tags and move focus out of the text area to convert the value in tags.

  
                                $pdocrud = new PDOCrud();
                                $pdocrud->formFields(array("membership_categories"));
                                $pdocrud->addPlugin("bootstrap-tag-input");//to add plugin      
                                $pdocrud->fieldAttributes("membership_categories", array("data-role"=>"tagsinput"));
                                $pdocrud->fieldCssClass("membership_categories", array("tagsinput"));// add css classes
                                echo $pdocrud->dbTable("library_membership")->render();
                                echo $pdocrud->loadPluginJsCode("bootstrap-tag-input",".tagsinput");//to add plugin call on .tagsinput class
                            

Plugin bootstrap tag input example - PDOCrud


Fatal error: Uncaught Error: Class "PDOCrud" not found in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-bootstrap-tag-input.php:50 Stack trace: #0 {main} thrown in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-bootstrap-tag-input.php on line 50