Field not required Set directly not required fields

By default, all fields are required fields, You can set fields not required using the fieldNotMandatory() function. Also, you can set all fields not required using the settings also

  
                            $pdocrud = new PDOCrud();
                            $pdocrud->fieldNotMandatory("phone");
                            echo $pdocrud->dbTable("users")->render("insertform");
                            

Field not mandatory using PDOCrud