Field not mandatory using PDOCrud

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
For Mysql database, fields with the default database values can be set whether they are required or not using the config["defaultValueFieldRequired"] = true; This will remove the required validation from the fields with default database value.
$pdocrud = new PDOCrud(); $pdocrud->fieldNotMandatory("phone"); echo $pdocrud->dbTable("users")->render("insertform");