$pdocrud = new PDOCrud();
$pdocrud->formStaticFields("personalinfo", "html", "");
$pdocrud->formStaticFields("personalinfo1", "html", "
");
$pdocrud->fieldDisplayOrder(array("personalinfo", "personalinfo1"));
$pdocrud->formFields(array("personalinfo", "personalinfo1", "job_title", "job_description", "salary_range", "expiration_date"));
$pdocrud->fieldTypes("salary_range", "radio"); //change donation amount to radio button
$pdocrud->fieldDataBinding("salary_range", array("0-500$", "500-1000$", "1000-20005$", "2000-3000$"), "", "", "array"); //add data for radio button
$pdocrud->fieldTooltip("salary_range", "Please select a range of the job salary per month."); //tooltip
$pdocrud->fieldTooltip("expiration_date", "When the Job Interviews will ended."); //tooltip
$pdocrud->fieldTypes("education", "select"); //change education to select dropdown
$pdocrud->fieldDataBinding("education", array("B.A.", "B.E.", "B.Ed.", "M.C.A.", "M.B.A."), "", "", "array"); //add data using array in select dropdown
$pdocrud->fieldTypes("applying_for_position", "multiselect"); //change applying_for_position to multiselect dropdown
$pdocrud->fieldDataBinding("applying_for_position", array("Manager", "Hr", "Developer", "Tester"), "", "", "array"); //add data using array in multiselect
$pdocrud->fieldTypes("resume", "image"); //change type to image
//$pdocrud->formFields(array("first_name","resume"));
$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
$pdocrud->buttonHide("cancel"); // Hide button
$pdocrud->setLangData("save", "SUBMIT");
$pdocrud->fieldCssClass("first_name", array("form-first-name")); // add class
$pdocrud->fieldCssClass("last_name", array("form-first-name")); // add class
$pdocrud->fieldCssClass("email", array("form-first-name")); // add class
$pdocrud->enqueueCss("font-awesome.min", "../../assets/font-awesome/css/font-awesome.min.css");
$pdocrud->enqueueCss("form-elements", "../../assets/css/form-elements.css");
$pdocrud->enqueueCss("style", "../../assets/css/style.css");
echo $pdocrud->dbTable("job")->render("insertform");