$pdocrud = new PDOCrud();
$pdocrud->FormSteps(array("pick_up_location", "pick_up_date", "pick_up_time", "drop_off_location", "drop_off_date", "drop_off_time", "car_type"), "Car Info.");
$pdocrud->FormSteps(array("first_name", "last_name", "email", "phone"), "Personal Info.");
$pdocrud->FormSteps(array("car_with", "additional_request"), "Extra Info.");
$pdocrud->fieldAttributes("first_name", array("placeholder" => "First name")); //add placeholder attribute
$pdocrud->fieldAttributes("last_name", array("placeholder" => "Last name")); //add placeholder attribute
$pdocrud->fieldAttributes("email", array("placeholder" => "Email")); //add placeholder attribute
$pdocrud->fieldAttributes("phone", array("placeholder" => "Contact Number")); //add placeholder attribute
$pdocrud->fieldAttributes("zip/pin_code", array("placeholder" => "Zip/Pin Code")); //add placeholder attribute
$pdocrud->fieldAttributes("comments", array("placeholder" => "Message")); //add placeholder attribute
$pdocrud->fieldTypes("gender", "radio"); //change donation amount to radio button
$pdocrud->fieldDataBinding("gender", array("Male", "Female"), "", "", "array"); //add data for radio button
$pdocrud->fieldTypes("city", "select"); //change type to select
$pdocrud->fieldDataBinding("city", "city", "city_id", "city_name", "db"); //add data using another table name city
$pdocrud->fieldTypes("state", "select"); //change type to select
$pdocrud->fieldDataBinding("state", "state", "state_id", "state_name", "db"); //add data using another table name country
$pdocrud->fieldTypes("country", "select"); //change type to select
$pdocrud->fieldDataBinding("country", "country", "country_id", "country_name", "db"); //add data using another table name country
$pdocrud->fieldGroups("pick_up", array("pick_up_date", "pick_up_time"));
$pdocrud->fieldGroups("drop_off", array("drop_off_date", "drop_off_time"));
$pdocrud->fieldGroups("name", array("first_name", "last_name"));
$pdocrud->fieldGroups("contact", array("email", "phone"));
$pdocrud->fieldTypes("car_type", "radio"); //change donation amount to radio button
$pdocrud->fieldDataBinding("car_type", array("Standart Cars", "Convertibles", "Luxury Cars", "Vans", "SUVs"), "", "", "array"); //add data for radio button
$pdocrud->fieldTypes("car_with", "radio"); //change donation amount to radio button
$pdocrud->fieldDataBinding("car_with", array("GPS Navigation system", "Booster", "Child Safety Seat", "Additinal Driver"), "", "", "array"); //add data for radio button
$pdocrud->fieldHideLable("first_name"); // Hide label
$pdocrud->fieldHideLable("last_name"); // Hide label
$pdocrud->fieldHideLable("email"); // Hide label
$pdocrud->fieldHideLable("phone"); // Hide label
$pdocrud->fieldHideLable("comments"); // Hide label
$pdocrud->fieldHideLable("zip/pin_code"); // Hide label
echo $pdocrud->setLangData("save", "Finish")->dbTable("car_booking")->render("insertform");