<?php



$tdataOnlineApplicationForm20181 = array();
$tdataOnlineApplicationForm20181[".searchableFields"] = array();
$tdataOnlineApplicationForm20181[".ShortName"] = "OnlineApplicationForm20181";
$tdataOnlineApplicationForm20181[".OwnerID"] = "";
$tdataOnlineApplicationForm20181[".OriginalTable"] = "applicform";


$defaultPages = my_json_decode( "{\"add\":\"add\",\"edit\":\"edit\",\"export\":\"export\",\"import\":\"import\",\"search\":\"search\",\"view\":\"view\"}" );

$tdataOnlineApplicationForm20181[".pagesByType"] = my_json_decode( "{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"search\":[\"search\"],\"view\":[\"view\"]}" );
$tdataOnlineApplicationForm20181[".pages"] = types2pages( my_json_decode( "{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"search\":[\"search\"],\"view\":[\"view\"]}" ) );
$tdataOnlineApplicationForm20181[".defaultPages"] = $defaultPages;

//	field labels
$fieldLabelsOnlineApplicationForm20181 = array();
$fieldToolTipsOnlineApplicationForm20181 = array();
$pageTitlesOnlineApplicationForm20181 = array();
$placeHoldersOnlineApplicationForm20181 = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsOnlineApplicationForm20181["English"] = array();
	$fieldToolTipsOnlineApplicationForm20181["English"] = array();
	$placeHoldersOnlineApplicationForm20181["English"] = array();
	$pageTitlesOnlineApplicationForm20181["English"] = array();
	$fieldLabelsOnlineApplicationForm20181["English"]["Surname"] = "Surname";
	$fieldToolTipsOnlineApplicationForm20181["English"]["Surname"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["Surname"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FirstName"] = "First Name";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FirstName"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FirstName"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["Gender"] = "Gender";
	$fieldToolTipsOnlineApplicationForm20181["English"]["Gender"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["Gender"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["DateofBirth"] = "BirthDate ";
	$fieldToolTipsOnlineApplicationForm20181["English"]["DateofBirth"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["DateofBirth"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["PlaceofBirth"] = "Birthplace";
	$fieldToolTipsOnlineApplicationForm20181["English"]["PlaceofBirth"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["PlaceofBirth"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["DistrictOfBirth"] = "Birth District ";
	$fieldToolTipsOnlineApplicationForm20181["English"]["DistrictOfBirth"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["DistrictOfBirth"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["ProvinceOfBirth"] = "Birth Province ";
	$fieldToolTipsOnlineApplicationForm20181["English"]["ProvinceOfBirth"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["ProvinceOfBirth"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FatherVillage"] = "Father Village";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FatherVillage"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FatherVillage"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FatherLLG"] = "Father LLG";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FatherLLG"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FatherLLG"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FatherDistrict"] = "Father District";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FatherDistrict"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FatherDistrict"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FATHERJOB"] = "Occupation";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FATHERJOB"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FATHERJOB"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FATHERSNAME"] = "First Name:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FATHERSNAME"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FATHERSNAME"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FATHERSURNAME"] = "Surname:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FATHERSURNAME"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FATHERSURNAME"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FATHERPROV"] = "Province:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FATHERPROV"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FATHERPROV"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MOTHERJOB"] = "Occupation:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MOTHERJOB"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MOTHERJOB"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MOTHERNAME"] = "Name:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MOTHERNAME"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MOTHERNAME"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MOTHERSURNAME"] = "Surname:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MOTHERSURNAME"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MOTHERSURNAME"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MOTHERNATIONAL"] = "Nationality:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MOTHERNATIONAL"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MOTHERNATIONAL"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FATHERNATIONAL"] = "Nationality:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FATHERNATIONAL"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FATHERNATIONAL"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FATHERCLAN"] = "Clan:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FATHERCLAN"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FATHERCLAN"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MOTHERCLAN"] = "Clan:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MOTHERCLAN"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MOTHERCLAN"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MOTHERRELIGION"] = "Religion:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MOTHERRELIGION"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MOTHERRELIGION"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FATHERRELIGION"] = "Religion:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FATHERRELIGION"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FATHERRELIGION"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["FATHERBIRTHPLACE"] = "Birth Place:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["FATHERBIRTHPLACE"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["FATHERBIRTHPLACE"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MOTHERBIRTHPLACE"] = "Birth Place:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MOTHERBIRTHPLACE"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MOTHERBIRTHPLACE"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MotherVillage"] = "Village:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MotherVillage"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MotherVillage"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MotherLLG"] = "LLG:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MotherLLG"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MotherLLG"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MotherDistrict"] = "Mother District";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MotherDistrict"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MotherDistrict"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MOTHERPROV"] = "Province:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MOTHERPROV"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MOTHERPROV"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["LastInstitutuonAttended"] = "Last Institutuon";
	$fieldToolTipsOnlineApplicationForm20181["English"]["LastInstitutuonAttended"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["LastInstitutuonAttended"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["HighestGradeCompleted"] = "Highest Grade";
	$fieldToolTipsOnlineApplicationForm20181["English"]["HighestGradeCompleted"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["HighestGradeCompleted"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["YearHighestGradeCompleted"] = "Year Completed";
	$fieldToolTipsOnlineApplicationForm20181["English"]["YearHighestGradeCompleted"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["YearHighestGradeCompleted"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["TertiaryInstitutionAdmitted"] = "Tertiary Institution";
	$fieldToolTipsOnlineApplicationForm20181["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["ProgramName"] = "Program Name";
	$fieldToolTipsOnlineApplicationForm20181["English"]["ProgramName"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["ProgramName"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["ProgramCode"] = "Program Code";
	$fieldToolTipsOnlineApplicationForm20181["English"]["ProgramCode"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["ProgramCode"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["NewApplicant"] = "New Applicant";
	$fieldToolTipsOnlineApplicationForm20181["English"]["NewApplicant"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["NewApplicant"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["Reapply"] = "Reapply";
	$fieldToolTipsOnlineApplicationForm20181["English"]["Reapply"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["Reapply"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["EmailAddrssAppl"] = "Email";
	$fieldToolTipsOnlineApplicationForm20181["English"]["EmailAddrssAppl"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["EmailAddrssAppl"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MobileNoAppl"] = "Mobile:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MobileNoAppl"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MobileNoAppl"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["Photo"] = "Photo";
	$fieldToolTipsOnlineApplicationForm20181["English"]["Photo"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["Photo"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["MPGID"] = "MPGID/ Username";
	$fieldToolTipsOnlineApplicationForm20181["English"]["MPGID"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["MPGID"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["WitnessName"] = "Witness Name";
	$fieldToolTipsOnlineApplicationForm20181["English"]["WitnessName"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["WitnessName"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["WitnessOccupation"] = "Witness Occupation";
	$fieldToolTipsOnlineApplicationForm20181["English"]["WitnessOccupation"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["WitnessOccupation"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["WitnessAddress"] = "Signature:";
	$fieldToolTipsOnlineApplicationForm20181["English"]["WitnessAddress"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["WitnessAddress"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["Documents"] = "Documents";
	$fieldToolTipsOnlineApplicationForm20181["English"]["Documents"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["Documents"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["firstyear"] = "Year of this Application";
	$fieldToolTipsOnlineApplicationForm20181["English"]["firstyear"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["firstyear"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["acceptletter"] = "Acceptance Letter";
	$fieldToolTipsOnlineApplicationForm20181["English"]["acceptletter"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["acceptletter"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["gradetencert"] = "Grade Ten Certificate";
	$fieldToolTipsOnlineApplicationForm20181["English"]["gradetencert"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["gradetencert"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["grade12cert"] = "Grade12 Certificate";
	$fieldToolTipsOnlineApplicationForm20181["English"]["grade12cert"] = "";
	$placeHoldersOnlineApplicationForm20181["English"]["grade12cert"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["StudentSchoolID"] = "Student School ID / Password";
	$fieldToolTipsOnlineApplicationForm20181["English"]["StudentSchoolID"] = "StudentID issued by your institution. This will be your username in our system";
	$placeHoldersOnlineApplicationForm20181["English"]["StudentSchoolID"] = "";
	$fieldLabelsOnlineApplicationForm20181["English"]["Passdd5thYr"] = "I hereby Agree that all information submitted in this application are true and I accept that my Scholarship will be foreithed if any information submitted here is found to be false. I Agree that MPG Scholarships is a privilege and not a birth-right. I accept by ticking the box below that my application meets all Guidelines and Policies of the Gerson Solulu Scholarships.";
	$fieldToolTipsOnlineApplicationForm20181["English"]["Passdd5thYr"] = "License Agreement: ";
	$placeHoldersOnlineApplicationForm20181["English"]["Passdd5thYr"] = "";
	$pageTitlesOnlineApplicationForm20181["English"]["add"] = "Jiwaka Online Application Form";
	$pageTitlesOnlineApplicationForm20181["English"]["edit"] = "Jiwaka Online Application Form, Edit [{%MPGID}]";
	$pageTitlesOnlineApplicationForm20181["English"]["view"] = "Jiwaka Online Application Form {%MPGID}";
	if (count($fieldToolTipsOnlineApplicationForm20181["English"]))
		$tdataOnlineApplicationForm20181[".isUseToolTips"] = true;
}


	$tdataOnlineApplicationForm20181[".NCSearch"] = true;



$tdataOnlineApplicationForm20181[".shortTableName"] = "OnlineApplicationForm20181";
$tdataOnlineApplicationForm20181[".nSecOptions"] = 0;

$tdataOnlineApplicationForm20181[".mainTableOwnerID"] = "";
$tdataOnlineApplicationForm20181[".entityType"] = 1;

$tdataOnlineApplicationForm20181[".strOriginalTableName"] = "applicform";

	



$tdataOnlineApplicationForm20181[".showAddInPopup"] = true;

$tdataOnlineApplicationForm20181[".showEditInPopup"] = true;

$tdataOnlineApplicationForm20181[".showViewInPopup"] = true;

//page's base css files names
$popupPagesLayoutNames = array();
			;
$popupPagesLayoutNames["add"] = "add";
			;
$popupPagesLayoutNames["edit"] = "add";
			;
$popupPagesLayoutNames["view"] = "add";
$tdataOnlineApplicationForm20181[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


	$tdataOnlineApplicationForm20181[".listAjax"] = true;
//	temporary
$tdataOnlineApplicationForm20181[".listAjax"] = false;

	$tdataOnlineApplicationForm20181[".audit"] = false;

	$tdataOnlineApplicationForm20181[".locking"] = false;


$pages = $tdataOnlineApplicationForm20181[".defaultPages"];

if( $pages[PAGE_EDIT] ) {
	$tdataOnlineApplicationForm20181[".edit"] = true;
	$tdataOnlineApplicationForm20181[".afterEditAction"] = 2;
	$tdataOnlineApplicationForm20181[".closePopupAfterEdit"] = 1;
	$tdataOnlineApplicationForm20181[".afterEditActionDetTable"] = "Detail tables not found!";
}

if( $pages[PAGE_ADD] ) {
$tdataOnlineApplicationForm20181[".add"] = true;
$tdataOnlineApplicationForm20181[".afterAddAction"] = 2;
$tdataOnlineApplicationForm20181[".closePopupAfterAdd"] = 1;
$tdataOnlineApplicationForm20181[".afterAddActionDetTable"] = "Detail tables not found!";
}

if( $pages[PAGE_LIST] ) {
	$tdataOnlineApplicationForm20181[".list"] = true;
}

$tdataOnlineApplicationForm20181[".updateSelected"] = true;


$tdataOnlineApplicationForm20181[".strSortControlSettingsJSON"] = "";

$tdataOnlineApplicationForm20181[".strClickActionJSON"] = "{\"fields\":{\"DateofBirth\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"DistrictOfBirth\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"Documents\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"EmailAddrssAppl\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FATHERBIRTHPLACE\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FATHERCLAN\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FATHERJOB\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FATHERNATIONAL\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FATHERPROV\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FATHERRELIGION\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FATHERSNAME\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FATHERSURNAME\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FatherDistrict\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FatherLLG\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FatherVillage\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"FirstName\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"Gender\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"HighestGradeCompleted\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"LastInstitutuonAttended\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MOTHERBIRTHPLACE\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MOTHERCLAN\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MOTHERJOB\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MOTHERNAME\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MOTHERNATIONAL\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MOTHERPROV\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MOTHERRELIGION\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MOTHERSURNAME\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MPGID\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MobileNoAppl\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MotherDistrict\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MotherLLG\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"MotherVillage\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"NewApplicant\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"Photo\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"PlaceofBirth\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"ProgramCode\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"ProgramName\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"ProvinceOfBirth\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"Reapply\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"Surname\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"TertiaryInstitutionAdmitted\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"WitnessAddress\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"WitnessName\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"WitnessOccupation\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"YearHighestGradeCompleted\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"acceptletter\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"firstyear\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"grade12cert\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}},\"gradetencert\":{\"action\":\"noaction\",\"codeData\":{\"snippet\":\"\"},\"gridData\":{},\"openData\":{}}},\"row\":{\"action\":\"noaction\",\"codeData\":{},\"gridData\":{\"action\":\"checkbox\",\"table\":null},\"openData\":{\"how\":\"goto\",\"page\":\"view\",\"table\":null,\"url\":\"\"}}}";



if( $pages[PAGE_VIEW] ) {
$tdataOnlineApplicationForm20181[".view"] = true;
}

if( $pages[PAGE_IMPORT] ) {
$tdataOnlineApplicationForm20181[".import"] = true;
}

if( $pages[PAGE_EXPORT] ) {
$tdataOnlineApplicationForm20181[".exportTo"] = true;
}

if( $pages[PAGE_PRINT] ) {
$tdataOnlineApplicationForm20181[".printFriendly"] = true;
}



$tdataOnlineApplicationForm20181[".showSimpleSearchOptions"] = true; // temp fix #13449

// Allow Show/Hide Fields in GRID
$tdataOnlineApplicationForm20181[".allowShowHideFields"] = true; // temp fix #13449
//

// Allow Fields Reordering in GRID
$tdataOnlineApplicationForm20181[".allowFieldsReordering"] = true; // temp fix #13449
//

$tdataOnlineApplicationForm20181[".isUseAjaxSuggest"] = true;

$tdataOnlineApplicationForm20181[".rowHighlite"] = true;



						

$tdataOnlineApplicationForm20181[".ajaxCodeSnippetAdded"] = false;

$tdataOnlineApplicationForm20181[".buttonsAdded"] = false;

$tdataOnlineApplicationForm20181[".addPageEvents"] = false;

// use timepicker for search panel
$tdataOnlineApplicationForm20181[".isUseTimeForSearch"] = false;




$tdataOnlineApplicationForm20181[".allSearchFields"] = array();
$tdataOnlineApplicationForm20181[".filterFields"] = array();
$tdataOnlineApplicationForm20181[".requiredSearchFields"] = array();

$tdataOnlineApplicationForm20181[".googleLikeFields"] = array();
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MPGID";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "StudentSchoolID";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "Surname";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FirstName";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "Photo";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "Gender";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "DateofBirth";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "PlaceofBirth";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "DistrictOfBirth";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "ProvinceOfBirth";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FatherVillage";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FatherLLG";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FatherDistrict";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FATHERJOB";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FATHERSNAME";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FATHERSURNAME";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FATHERPROV";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MOTHERJOB";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MOTHERNAME";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MOTHERSURNAME";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MOTHERNATIONAL";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FATHERNATIONAL";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FATHERCLAN";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MOTHERCLAN";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MOTHERRELIGION";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FATHERRELIGION";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "FATHERBIRTHPLACE";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MOTHERBIRTHPLACE";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MotherVillage";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MotherLLG";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MotherDistrict";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MOTHERPROV";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "LastInstitutuonAttended";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "HighestGradeCompleted";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "YearHighestGradeCompleted";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "TertiaryInstitutionAdmitted";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "ProgramName";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "ProgramCode";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "NewApplicant";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "Reapply";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "EmailAddrssAppl";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "MobileNoAppl";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "WitnessName";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "WitnessOccupation";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "WitnessAddress";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "Documents";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "firstyear";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "acceptletter";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "gradetencert";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "grade12cert";
$tdataOnlineApplicationForm20181[".googleLikeFields"][] = "Passdd5thYr";



$tdataOnlineApplicationForm20181[".tableType"] = "list";

$tdataOnlineApplicationForm20181[".printerPageOrientation"] = 0;
$tdataOnlineApplicationForm20181[".nPrinterPageScale"] = 100;

$tdataOnlineApplicationForm20181[".nPrinterSplitRecords"] = 40;

$tdataOnlineApplicationForm20181[".geocodingEnabled"] = true;
$tdataOnlineApplicationForm20181[".geocodingData"] = array();
$tdataOnlineApplicationForm20181[".geocodingData"]["latField"] = "Lat";
$tdataOnlineApplicationForm20181[".geocodingData"]["lngField"] = "Lng";
$tdataOnlineApplicationForm20181[".geocodingData"]["addressFields"] = array();
	$tdataOnlineApplicationForm20181[".geocodingData"]["addressFields"][] = "FirstName";
	$tdataOnlineApplicationForm20181[".geocodingData"]["addressFields"][] = "Surname";
	$tdataOnlineApplicationForm20181[".geocodingData"]["addressFields"][] = "MPGID";
	$tdataOnlineApplicationForm20181[".geocodingData"]["addressFields"][] = "MobileNoAppl";
	$tdataOnlineApplicationForm20181[".geocodingData"]["addressFields"][] = "StudentSchoolID";




$tdataOnlineApplicationForm20181[".isDisplayLoading"] = true;

$tdataOnlineApplicationForm20181[".isResizeColumns"] = true;


$tdataOnlineApplicationForm20181[".noRecordsFirstPage"] = true;



$tdataOnlineApplicationForm20181[".pageSize"] = 20;

$tdataOnlineApplicationForm20181[".warnLeavingPages"] = true;

$tdataOnlineApplicationForm20181[".hideEmptyFieldsOnView"] = true;


$tstrOrderBy = "";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdataOnlineApplicationForm20181[".strOrderBy"] = $tstrOrderBy;

$tdataOnlineApplicationForm20181[".orderindexes"] = array();

$tdataOnlineApplicationForm20181[".sqlHead"] = "SELECT MPGID,  StudentSchoolID,  Surname,  FirstName,  Photo,  Gender,  DateofBirth,  PlaceofBirth,  DistrictOfBirth,  ProvinceOfBirth,  FatherVillage,  FatherLLG,  FatherDistrict,  FATHERJOB,  FATHERSNAME,  FATHERSURNAME,  FATHERPROV,  MOTHERJOB,  MOTHERNAME,  MOTHERSURNAME,  MOTHERNATIONAL,  FATHERNATIONAL,  FATHERCLAN,  MOTHERCLAN,  MOTHERRELIGION,  FATHERRELIGION,  FATHERBIRTHPLACE,  MOTHERBIRTHPLACE,  MotherVillage,  MotherLLG,  MotherDistrict,  MOTHERPROV,  LastInstitutuonAttended,  HighestGradeCompleted,  YearHighestGradeCompleted,  TertiaryInstitutionAdmitted,  ProgramName,  ProgramCode,  NewApplicant,  Reapply,  EmailAddrssAppl,  MobileNoAppl,  WitnessName,  WitnessOccupation,  WitnessAddress,  Documents,  `1styear` AS firstyear,  acceptletter,  gradetencert,  grade12cert,  Passdd5thYr";
$tdataOnlineApplicationForm20181[".sqlFrom"] = "FROM applicform";
$tdataOnlineApplicationForm20181[".sqlWhereExpr"] = "";
$tdataOnlineApplicationForm20181[".sqlTail"] = "";










//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataOnlineApplicationForm20181[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataOnlineApplicationForm20181[".arrGroupsPerPage"] = $arrGPP;


$tableKeysOnlineApplicationForm20181 = array();
$tableKeysOnlineApplicationForm20181[] = "MPGID";
$tdataOnlineApplicationForm20181[".Keys"] = $tableKeysOnlineApplicationForm20181;


$tdataOnlineApplicationForm20181[".hideMobileList"] = array();




//	MPGID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "MPGID";
	$fdata["GoodName"] = "MPGID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MPGID");
	$fdata["FieldType"] = 3;

	
		$fdata["AutoInc"] = true;

	
			

		$fdata["strField"] = "MPGID";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MPGID";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MPGID"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MPGID";
//	StudentSchoolID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "StudentSchoolID";
	$fdata["GoodName"] = "StudentSchoolID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","StudentSchoolID");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "StudentSchoolID";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "StudentSchoolID";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["StudentSchoolID"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "StudentSchoolID";
//	Surname
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "Surname";
	$fdata["GoodName"] = "Surname";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","Surname");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Surname";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Surname";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 91;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["Surname"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "Surname";
//	FirstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "FirstName";
	$fdata["GoodName"] = "FirstName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FirstName");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FirstName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FirstName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 99;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FirstName"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FirstName";
//	Photo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "Photo";
	$fdata["GoodName"] = "Photo";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","Photo");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "Photo";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Photo";

		$fdata["DeleteAssociatedFile"] = true;

	
		$fdata["UploadCodeExpression"] = true;

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "File-based Image");

	
	
				$vdata["ShowThumbnail"] = true;
	$vdata["ThumbWidth"] = 150;
	$vdata["ThumbHeight"] = 150;
	$vdata["ImageWidth"] = 320;
	$vdata["ImageHeight"] = 240;

			$vdata["multipleImgMode"] = 1;
	$vdata["maxImages"] = 0;

			$vdata["showGallery"] = true;
	$vdata["galleryMode"] = 1;
	$vdata["captionMode"] = 2;
	$vdata["captionField"] = "";

	$vdata["imageBorder"] = 1;
	$vdata["imageFullWidth"] = 1;


	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
	$vdata = array("ViewFormat" => "File-based Image");

	
	
				$vdata["ShowThumbnail"] = true;
	$vdata["ThumbWidth"] = 150;
	$vdata["ThumbHeight"] = 150;
	$vdata["ImageWidth"] = 320;
	$vdata["ImageHeight"] = 240;

			$vdata["multipleImgMode"] = 1;
	$vdata["maxImages"] = 0;

			$vdata["showGallery"] = true;
	$vdata["galleryMode"] = 1;
	$vdata["captionMode"] = 2;
	$vdata["captionField"] = "";

	$vdata["imageBorder"] = 1;
	$vdata["imageFullWidth"] = 1;


	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["list"] = $vdata;
	$vdata = array("ViewFormat" => "File-based Image");

	
	
				$vdata["ShowThumbnail"] = true;
	$vdata["ThumbWidth"] = 150;
	$vdata["ThumbHeight"] = 150;
	$vdata["ImageWidth"] = 320;
	$vdata["ImageHeight"] = 240;

			$vdata["multipleImgMode"] = 1;
	$vdata["maxImages"] = 0;

			$vdata["showGallery"] = true;
	$vdata["galleryMode"] = 1;
	$vdata["captionMode"] = 2;
	$vdata["captionField"] = "";

	$vdata["imageBorder"] = 1;
	$vdata["imageFullWidth"] = 1;


	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["print"] = $vdata;
	$vdata = array("ViewFormat" => "File-based Image");

	
	
				$vdata["ShowThumbnail"] = true;
	$vdata["ThumbWidth"] = 150;
	$vdata["ThumbHeight"] = 150;
	$vdata["ImageWidth"] = 320;
	$vdata["ImageHeight"] = 240;

			$vdata["multipleImgMode"] = 1;
	$vdata["maxImages"] = 0;

			$vdata["showGallery"] = true;
	$vdata["galleryMode"] = 1;
	$vdata["captionMode"] = 2;
	$vdata["captionField"] = "";

	$vdata["imageBorder"] = 1;
	$vdata["imageFullWidth"] = 1;


	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["export"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
							$edata["acceptFileTypes"] = "bmp";
			$edata["acceptFileTypesHtml"] = ".bmp";
						$edata["acceptFileTypes"] .= "|gif";
			$edata["acceptFileTypesHtml"] .= ",.gif";
						$edata["acceptFileTypes"] .= "|jpe";
			$edata["acceptFileTypesHtml"] .= ",.jpe";
						$edata["acceptFileTypes"] .= "|jpeg";
			$edata["acceptFileTypesHtml"] .= ",.jpeg";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 2;

		$edata["maxFileSize"] = 2500;

		$edata["maxTotalFilesSize"] = 6500;

	
	
	
	
		$edata["controlWidth"] = 150;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

				$edata["ResizeImage"] = true;
				$edata["NewSize"] = 850;

	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
							$edata["acceptFileTypes"] = "bmp";
			$edata["acceptFileTypesHtml"] = ".bmp";
						$edata["acceptFileTypes"] .= "|gif";
			$edata["acceptFileTypesHtml"] .= ",.gif";
						$edata["acceptFileTypes"] .= "|jpe";
			$edata["acceptFileTypesHtml"] .= ",.jpe";
						$edata["acceptFileTypes"] .= "|jpeg";
			$edata["acceptFileTypesHtml"] .= ",.jpeg";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 2;

		$edata["maxFileSize"] = 2500;

		$edata["maxTotalFilesSize"] = 6500;

	
	
	
	
		$edata["controlWidth"] = 150;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

				$edata["ResizeImage"] = true;
				$edata["NewSize"] = 850;

	
	
	
	$fdata["EditFormats"]["add"] = $edata;
	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
							$edata["acceptFileTypes"] = "bmp";
			$edata["acceptFileTypesHtml"] = ".bmp";
						$edata["acceptFileTypes"] .= "|gif";
			$edata["acceptFileTypesHtml"] .= ",.gif";
						$edata["acceptFileTypes"] .= "|jpe";
			$edata["acceptFileTypesHtml"] .= ",.jpe";
						$edata["acceptFileTypes"] .= "|jpeg";
			$edata["acceptFileTypesHtml"] .= ",.jpeg";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 2;

		$edata["maxFileSize"] = 2500;

		$edata["maxTotalFilesSize"] = 6500;

	
	
	
	
		$edata["controlWidth"] = 150;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

				$edata["ResizeImage"] = true;
				$edata["NewSize"] = 850;

	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = true;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
		$fdata["filterTotalFields"] = "MPGID";
		$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["Photo"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "Photo";
//	Gender
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "Gender";
	$fdata["GoodName"] = "Gender";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","Gender");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Gender";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Gender";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "gender";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "Gender";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "Gender";

	

	
	$edata["LookupOrderBy"] = "Gender";

	
	
	
		$edata["SimpleAdd"] = true;


	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["Gender"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "Gender";
//	DateofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "DateofBirth";
	$fdata["GoodName"] = "DateofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","DateofBirth");
	$fdata["FieldType"] = 135;

	
	
	
			

		$fdata["strField"] = "DateofBirth";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "DateofBirth";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Short Date");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Date");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 5;
	$edata["InitialYearFactor"] = 47;
	$edata["LastYearFactor"] = 0;

	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["DateofBirth"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "DateofBirth";
//	PlaceofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "PlaceofBirth";
	$fdata["GoodName"] = "PlaceofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","PlaceofBirth");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "PlaceofBirth";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "PlaceofBirth";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "hospitals";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 1;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "BirthPlace";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "BirthPlace";

	

	
	$edata["LookupOrderBy"] = "BirthPlace";

	
	
		$edata["AllowToAdd"] = true;
		
		$edata["SimpleAdd"] = true;


	
	
	
// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["PlaceofBirth"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "PlaceofBirth";
//	DistrictOfBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "DistrictOfBirth";
	$fdata["GoodName"] = "DistrictOfBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","DistrictOfBirth");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "DistrictOfBirth";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "DistrictOfBirth";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "llg";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "District";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "District";

	

	
	$edata["LookupOrderBy"] = "District";

	
		$edata["UseCategory"] = true;
	$edata["categoryFields"] = array();
	$edata["categoryFields"][] = array( "main" => "ProvinceOfBirth", "lookup" => "Province" );

	
		$edata["SimpleAdd"] = true;


	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["DistrictOfBirth"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "DistrictOfBirth";
//	ProvinceOfBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "ProvinceOfBirth";
	$fdata["GoodName"] = "ProvinceOfBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","ProvinceOfBirth");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "ProvinceOfBirth";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "ProvinceOfBirth";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "llg";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "Province";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "Province";

	

	
	$edata["LookupOrderBy"] = "Province";

	
	
	
		$edata["SimpleAdd"] = true;

				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "DistrictOfBirth";

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["ProvinceOfBirth"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "ProvinceOfBirth";
//	FatherVillage
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "FatherVillage";
	$fdata["GoodName"] = "FatherVillage";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FatherVillage");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FatherVillage";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FatherVillage";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FatherVillage"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FatherVillage";
//	FatherLLG
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "FatherLLG";
	$fdata["GoodName"] = "FatherLLG";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FatherLLG");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FatherLLG";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FatherLLG";

	
	
			
//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "llg";
	$edata["LookupConnId"] = "Tables";
			$edata["freeInput"] = true;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 1;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "LLG";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "LLG";

	

	
	$edata["LookupOrderBy"] = "LLG";

	
	
	
		$edata["SimpleAdd"] = true;

				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "FatherDistrict";

	
	
	
// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FatherLLG"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FatherLLG";
//	FatherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "FatherDistrict";
	$fdata["GoodName"] = "FatherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FatherDistrict");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FatherDistrict";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FatherDistrict";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "llg";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "District";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "District";

	

	
	$edata["LookupOrderBy"] = "District";

	
		$edata["UseCategory"] = true;
	$edata["categoryFields"] = array();
	$edata["categoryFields"][] = array( "main" => "FatherLLG", "lookup" => "LLG" );

	
		$edata["SimpleAdd"] = true;

				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "FATHERPROV";

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FatherDistrict"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FatherDistrict";
//	FATHERJOB
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "FATHERJOB";
	$fdata["GoodName"] = "FATHERJOB";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FATHERJOB");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERJOB";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERJOB";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FATHERJOB"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FATHERJOB";
//	FATHERSNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "FATHERSNAME";
	$fdata["GoodName"] = "FATHERSNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FATHERSNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERSNAME";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERSNAME";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 185;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FATHERSNAME"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FATHERSNAME";
//	FATHERSURNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "FATHERSURNAME";
	$fdata["GoodName"] = "FATHERSURNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FATHERSURNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERSURNAME";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERSURNAME";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FATHERSURNAME"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FATHERSURNAME";
//	FATHERPROV
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "FATHERPROV";
	$fdata["GoodName"] = "FATHERPROV";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FATHERPROV");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERPROV";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERPROV";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "llg";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "Province";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "Province";

	

	
	$edata["LookupOrderBy"] = "Province";

	
		$edata["UseCategory"] = true;
	$edata["categoryFields"] = array();
	$edata["categoryFields"][] = array( "main" => "FatherDistrict", "lookup" => "District" );

	
		$edata["SimpleAdd"] = true;


	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FATHERPROV"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FATHERPROV";
//	MOTHERJOB
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "MOTHERJOB";
	$fdata["GoodName"] = "MOTHERJOB";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MOTHERJOB");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERJOB";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERJOB";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MOTHERJOB"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MOTHERJOB";
//	MOTHERNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "MOTHERNAME";
	$fdata["GoodName"] = "MOTHERNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MOTHERNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERNAME";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERNAME";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MOTHERNAME"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MOTHERNAME";
//	MOTHERSURNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "MOTHERSURNAME";
	$fdata["GoodName"] = "MOTHERSURNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MOTHERSURNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERSURNAME";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERSURNAME";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MOTHERSURNAME"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MOTHERSURNAME";
//	MOTHERNATIONAL
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "MOTHERNATIONAL";
	$fdata["GoodName"] = "MOTHERNATIONAL";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MOTHERNATIONAL");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERNATIONAL";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERNATIONAL";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MOTHERNATIONAL"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MOTHERNATIONAL";
//	FATHERNATIONAL
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "FATHERNATIONAL";
	$fdata["GoodName"] = "FATHERNATIONAL";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FATHERNATIONAL");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERNATIONAL";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERNATIONAL";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FATHERNATIONAL"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FATHERNATIONAL";
//	FATHERCLAN
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "FATHERCLAN";
	$fdata["GoodName"] = "FATHERCLAN";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FATHERCLAN");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERCLAN";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERCLAN";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FATHERCLAN"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FATHERCLAN";
//	MOTHERCLAN
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "MOTHERCLAN";
	$fdata["GoodName"] = "MOTHERCLAN";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MOTHERCLAN");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERCLAN";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERCLAN";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MOTHERCLAN"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MOTHERCLAN";
//	MOTHERRELIGION
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 25;
	$fdata["strName"] = "MOTHERRELIGION";
	$fdata["GoodName"] = "MOTHERRELIGION";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MOTHERRELIGION");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERRELIGION";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERRELIGION";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MOTHERRELIGION"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MOTHERRELIGION";
//	FATHERRELIGION
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 26;
	$fdata["strName"] = "FATHERRELIGION";
	$fdata["GoodName"] = "FATHERRELIGION";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FATHERRELIGION");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERRELIGION";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERRELIGION";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FATHERRELIGION"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FATHERRELIGION";
//	FATHERBIRTHPLACE
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 27;
	$fdata["strName"] = "FATHERBIRTHPLACE";
	$fdata["GoodName"] = "FATHERBIRTHPLACE";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","FATHERBIRTHPLACE");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERBIRTHPLACE";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERBIRTHPLACE";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["FATHERBIRTHPLACE"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "FATHERBIRTHPLACE";
//	MOTHERBIRTHPLACE
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 28;
	$fdata["strName"] = "MOTHERBIRTHPLACE";
	$fdata["GoodName"] = "MOTHERBIRTHPLACE";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MOTHERBIRTHPLACE");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERBIRTHPLACE";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERBIRTHPLACE";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MOTHERBIRTHPLACE"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MOTHERBIRTHPLACE";
//	MotherVillage
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 29;
	$fdata["strName"] = "MotherVillage";
	$fdata["GoodName"] = "MotherVillage";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MotherVillage");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MotherVillage";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MotherVillage";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MotherVillage"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MotherVillage";
//	MotherLLG
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 30;
	$fdata["strName"] = "MotherLLG";
	$fdata["GoodName"] = "MotherLLG";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MotherLLG");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MotherLLG";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MotherLLG";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "llg";
	$edata["LookupConnId"] = "Tables";
			$edata["freeInput"] = true;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 1;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "LLG";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "LLG";

	

	
	$edata["LookupOrderBy"] = "LLG";

	
	
	
		$edata["SimpleAdd"] = true;

				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "MotherDistrict";

	
	
	
// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MotherLLG"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MotherLLG";
//	MotherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 31;
	$fdata["strName"] = "MotherDistrict";
	$fdata["GoodName"] = "MotherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MotherDistrict");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MotherDistrict";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MotherDistrict";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "llg";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "District";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "District";

	

	
	$edata["LookupOrderBy"] = "District";

	
		$edata["UseCategory"] = true;
	$edata["categoryFields"] = array();
	$edata["categoryFields"][] = array( "main" => "MotherLLG", "lookup" => "LLG" );

	
		$edata["SimpleAdd"] = true;

				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "MOTHERPROV";

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MotherDistrict"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MotherDistrict";
//	MOTHERPROV
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 32;
	$fdata["strName"] = "MOTHERPROV";
	$fdata["GoodName"] = "MOTHERPROV";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MOTHERPROV");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERPROV";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERPROV";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "llg";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "Province";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "Province";

	

	
	$edata["LookupOrderBy"] = "Province";

	
		$edata["UseCategory"] = true;
	$edata["categoryFields"] = array();
	$edata["categoryFields"][] = array( "main" => "MotherDistrict", "lookup" => "District" );

	
		$edata["SimpleAdd"] = true;


	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MOTHERPROV"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MOTHERPROV";
//	LastInstitutuonAttended
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 33;
	$fdata["strName"] = "LastInstitutuonAttended";
	$fdata["GoodName"] = "LastInstitutuonAttended";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","LastInstitutuonAttended");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "LastInstitutuonAttended";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "LastInstitutuonAttended";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 210;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["LastInstitutuonAttended"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "LastInstitutuonAttended";
//	HighestGradeCompleted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 34;
	$fdata["strName"] = "HighestGradeCompleted";
	$fdata["GoodName"] = "HighestGradeCompleted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","HighestGradeCompleted");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "HighestGradeCompleted";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "HighestGradeCompleted";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 207;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["HighestGradeCompleted"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "HighestGradeCompleted";
//	YearHighestGradeCompleted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 35;
	$fdata["strName"] = "YearHighestGradeCompleted";
	$fdata["GoodName"] = "YearHighestGradeCompleted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","YearHighestGradeCompleted");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "YearHighestGradeCompleted";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "YearHighestGradeCompleted";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=4";

		$edata["controlWidth"] = 206;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["YearHighestGradeCompleted"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "YearHighestGradeCompleted";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 36;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","TertiaryInstitutionAdmitted");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "TertiaryInstitutionAdmitted";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "TertiaryInstitutionAdmitted";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "uniprograms";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "University Name";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "University Name";

	

	
	$edata["LookupOrderBy"] = "University Name";

	
	
	
		$edata["SimpleAdd"] = true;

				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "ProgramName";

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 206;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["TertiaryInstitutionAdmitted"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	ProgramName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 37;
	$fdata["strName"] = "ProgramName";
	$fdata["GoodName"] = "ProgramName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","ProgramName");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "ProgramName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "ProgramName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "uniprograms";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "University Program Name";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "University Program Name";

	

	
	$edata["LookupOrderBy"] = "University Program Name";

	
		$edata["UseCategory"] = true;
	$edata["categoryFields"] = array();
	$edata["categoryFields"][] = array( "main" => "TertiaryInstitutionAdmitted", "lookup" => "University Name" );

	
		$edata["SimpleAdd"] = true;

				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "ProgramCode";

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["ProgramName"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "ProgramName";
//	ProgramCode
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 38;
	$fdata["strName"] = "ProgramCode";
	$fdata["GoodName"] = "ProgramCode";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","ProgramCode");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "ProgramCode";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "ProgramCode";

	
	
			
//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "uniprograms";
	$edata["LookupConnId"] = "Tables";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "Universtiy Program Code";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "Universtiy Program Code";

	

	
	$edata["LookupOrderBy"] = "Universtiy Program Code";

	
		$edata["UseCategory"] = true;
	$edata["categoryFields"] = array();
	$edata["categoryFields"][] = array( "main" => "ProgramName", "lookup" => "University Program Name" );

	
		$edata["SimpleAdd"] = true;


	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["ProgramCode"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "ProgramCode";
//	NewApplicant
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 39;
	$fdata["strName"] = "NewApplicant";
	$fdata["GoodName"] = "NewApplicant";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","NewApplicant");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "NewApplicant";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "NewApplicant";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Checkbox");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Checkbox");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
							
		$edata["autoUpdatable"] = true;

	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["NewApplicant"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "NewApplicant";
//	Reapply
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 40;
	$fdata["strName"] = "Reapply";
	$fdata["GoodName"] = "Reapply";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","Reapply");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "Reapply";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Reapply";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Checkbox");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Checkbox");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["Reapply"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "Reapply";
//	EmailAddrssAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 41;
	$fdata["strName"] = "EmailAddrssAppl";
	$fdata["GoodName"] = "EmailAddrssAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","EmailAddrssAppl");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "EmailAddrssAppl";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "EmailAddrssAppl";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Email Hyperlink");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 240;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Email");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["EmailAddrssAppl"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "EmailAddrssAppl";
//	MobileNoAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 42;
	$fdata["strName"] = "MobileNoAppl";
	$fdata["GoodName"] = "MobileNoAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","MobileNoAppl");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MobileNoAppl";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MobileNoAppl";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "tel";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 161;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["MobileNoAppl"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "MobileNoAppl";
//	WitnessName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 43;
	$fdata["strName"] = "WitnessName";
	$fdata["GoodName"] = "WitnessName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","WitnessName");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "WitnessName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "WitnessName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["WitnessName"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "WitnessName";
//	WitnessOccupation
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 44;
	$fdata["strName"] = "WitnessOccupation";
	$fdata["GoodName"] = "WitnessOccupation";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","WitnessOccupation");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "WitnessOccupation";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "WitnessOccupation";

	
	
			
//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Document Download");

	
	
	
								$vdata["ShowIcon"] = true;
			$vdata["ShowCustomExpr"] = true;

	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["WitnessOccupation"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "WitnessOccupation";
//	WitnessAddress
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 45;
	$fdata["strName"] = "WitnessAddress";
	$fdata["GoodName"] = "WitnessAddress";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","WitnessAddress");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "WitnessAddress";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "WitnessAddress";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Document Download");

	
	
	
				$vdata["ShowThumbnail"] = true;
							$vdata["ShowCustomExpr"] = true;

	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["WitnessAddress"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "WitnessAddress";
//	Documents
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 46;
	$fdata["strName"] = "Documents";
	$fdata["GoodName"] = "Documents";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","Documents");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "Documents";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Documents";

		$fdata["DeleteAssociatedFile"] = true;

	
		$fdata["UploadCodeExpression"] = true;

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "File-based Image");

	
	
				$vdata["ShowThumbnail"] = true;
	$vdata["ThumbWidth"] = 150;
	$vdata["ThumbHeight"] = 150;
	$vdata["ImageWidth"] = 320;
	$vdata["ImageHeight"] = 240;

			$vdata["multipleImgMode"] = 1;
	$vdata["maxImages"] = 0;

			$vdata["showGallery"] = true;
	$vdata["galleryMode"] = 1;
	$vdata["captionMode"] = 2;
	$vdata["captionField"] = "";

	$vdata["imageBorder"] = 1;
	$vdata["imageFullWidth"] = 1;


	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
							$edata["acceptFileTypes"] = "doc";
			$edata["acceptFileTypesHtml"] = ".doc";
						$edata["acceptFileTypes"] .= "|docx";
			$edata["acceptFileTypesHtml"] .= ",.docx";
						$edata["acceptFileTypes"] .= "|jpe";
			$edata["acceptFileTypesHtml"] .= ",.jpe";
						$edata["acceptFileTypes"] .= "|jpeg";
			$edata["acceptFileTypesHtml"] .= ",.jpeg";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
						$edata["acceptFileTypes"] .= "|rtf";
			$edata["acceptFileTypesHtml"] .= ",.rtf";
						$edata["acceptFileTypes"] .= "|txt";
			$edata["acceptFileTypesHtml"] .= ",.txt";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 9;

		$edata["maxFileSize"] = 2500;

		$edata["maxTotalFilesSize"] = 9000;

	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["Documents"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "Documents";
//	firstyear
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 47;
	$fdata["strName"] = "firstyear";
	$fdata["GoodName"] = "firstyear";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","firstyear");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "1styear";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`1styear`";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Readonly");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["firstyear"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "firstyear";
//	acceptletter
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 48;
	$fdata["strName"] = "acceptletter";
	$fdata["GoodName"] = "acceptletter";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","acceptletter");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "acceptletter";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "acceptletter";

		$fdata["DeleteAssociatedFile"] = true;

	
		$fdata["UploadCodeExpression"] = true;

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Document Download");

	
	
	
				$vdata["ShowThumbnail"] = true;
					$vdata["ShowIcon"] = true;
		
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
							$edata["acceptFileTypes"] = "doc";
			$edata["acceptFileTypesHtml"] = ".doc";
						$edata["acceptFileTypes"] .= "|docx";
			$edata["acceptFileTypesHtml"] .= ",.docx";
						$edata["acceptFileTypes"] .= "|jpe";
			$edata["acceptFileTypesHtml"] .= ",.jpe";
						$edata["acceptFileTypes"] .= "|jpeg";
			$edata["acceptFileTypesHtml"] .= ",.jpeg";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
						$edata["acceptFileTypes"] .= "|rtf";
			$edata["acceptFileTypesHtml"] .= ",.rtf";
						$edata["acceptFileTypes"] .= "|txt";
			$edata["acceptFileTypesHtml"] .= ",.txt";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 2;

		$edata["maxFileSize"] = 2500;

		$edata["maxTotalFilesSize"] = 6500;

	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["acceptletter"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "acceptletter";
//	gradetencert
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 49;
	$fdata["strName"] = "gradetencert";
	$fdata["GoodName"] = "gradetencert";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","gradetencert");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "gradetencert";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "gradetencert";

		$fdata["DeleteAssociatedFile"] = true;

	
		$fdata["UploadCodeExpression"] = true;

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Document Download");

	
	
	
				$vdata["ShowThumbnail"] = true;
					$vdata["ShowIcon"] = true;
		
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
							$edata["acceptFileTypes"] = "bmp";
			$edata["acceptFileTypesHtml"] = ".bmp";
						$edata["acceptFileTypes"] .= "|docx";
			$edata["acceptFileTypesHtml"] .= ",.docx";
						$edata["acceptFileTypes"] .= "|gif";
			$edata["acceptFileTypesHtml"] .= ",.gif";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
						$edata["acceptFileTypes"] .= "|rtf";
			$edata["acceptFileTypesHtml"] .= ",.rtf";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 1;

		$edata["maxFileSize"] = 25000;

		$edata["maxTotalFilesSize"] = 5000;

	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["gradetencert"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "gradetencert";
//	grade12cert
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 50;
	$fdata["strName"] = "grade12cert";
	$fdata["GoodName"] = "grade12cert";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","grade12cert");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "grade12cert";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "grade12cert";

		$fdata["DeleteAssociatedFile"] = true;

	
		$fdata["UploadCodeExpression"] = true;

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Document Download");

	
	
	
				$vdata["ShowThumbnail"] = true;
					$vdata["ShowIcon"] = true;
		
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
							$edata["acceptFileTypes"] = "doc";
			$edata["acceptFileTypesHtml"] = ".doc";
						$edata["acceptFileTypes"] .= "|docx";
			$edata["acceptFileTypesHtml"] .= ",.docx";
						$edata["acceptFileTypes"] .= "|jpe";
			$edata["acceptFileTypesHtml"] .= ",.jpe";
						$edata["acceptFileTypes"] .= "|jpeg";
			$edata["acceptFileTypesHtml"] .= ",.jpeg";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
						$edata["acceptFileTypes"] .= "|rtf";
			$edata["acceptFileTypesHtml"] .= ",.rtf";
						$edata["acceptFileTypes"] .= "|txt";
			$edata["acceptFileTypesHtml"] .= ",.txt";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 1;

		$edata["maxFileSize"] = 2500;

		$edata["maxTotalFilesSize"] = 5000;

	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["grade12cert"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "grade12cert";
//	Passdd5thYr
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 51;
	$fdata["strName"] = "Passdd5thYr";
	$fdata["GoodName"] = "Passdd5thYr";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationForm2018","Passdd5thYr");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "Passdd5thYr";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Passdd5thYr";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Checkbox");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Checkbox");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 147;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationForm20181["Passdd5thYr"] = $fdata;
		$tdataOnlineApplicationForm20181[".searchableFields"][] = "Passdd5thYr";


$tables_data["OnlineApplicationForm2018"]=&$tdataOnlineApplicationForm20181;
$field_labels["OnlineApplicationForm2018"] = &$fieldLabelsOnlineApplicationForm20181;
$fieldToolTips["OnlineApplicationForm2018"] = &$fieldToolTipsOnlineApplicationForm20181;
$placeHolders["OnlineApplicationForm2018"] = &$placeHoldersOnlineApplicationForm20181;
$page_titles["OnlineApplicationForm2018"] = &$pageTitlesOnlineApplicationForm20181;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["OnlineApplicationForm2018"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["OnlineApplicationForm2018"] = array();



// -----------------end  prepare master-details data arrays ------------------------------//


require_once(getabspath("classes/sql.php"));










function createSqlQuery_OnlineApplicationForm20181()
{
$proto3=array();
$proto3["m_strHead"] = "SELECT";
$proto3["m_strFieldList"] = "MPGID,  StudentSchoolID,  Surname,  FirstName,  Photo,  Gender,  DateofBirth,  PlaceofBirth,  DistrictOfBirth,  ProvinceOfBirth,  FatherVillage,  FatherLLG,  FatherDistrict,  FATHERJOB,  FATHERSNAME,  FATHERSURNAME,  FATHERPROV,  MOTHERJOB,  MOTHERNAME,  MOTHERSURNAME,  MOTHERNATIONAL,  FATHERNATIONAL,  FATHERCLAN,  MOTHERCLAN,  MOTHERRELIGION,  FATHERRELIGION,  FATHERBIRTHPLACE,  MOTHERBIRTHPLACE,  MotherVillage,  MotherLLG,  MotherDistrict,  MOTHERPROV,  LastInstitutuonAttended,  HighestGradeCompleted,  YearHighestGradeCompleted,  TertiaryInstitutionAdmitted,  ProgramName,  ProgramCode,  NewApplicant,  Reapply,  EmailAddrssAppl,  MobileNoAppl,  WitnessName,  WitnessOccupation,  WitnessAddress,  Documents,  `1styear` AS firstyear,  acceptletter,  gradetencert,  grade12cert,  Passdd5thYr";
$proto3["m_strFrom"] = "FROM applicform";
$proto3["m_strWhere"] = "";
$proto3["m_strOrderBy"] = "";
	
		;
			$proto3["cipherer"] = null;
$proto5=array();
$proto5["m_sql"] = "";
$proto5["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto5["m_column"]=$obj;
$proto5["m_contained"] = array();
$proto5["m_strCase"] = "";
$proto5["m_havingmode"] = false;
$proto5["m_inBrackets"] = false;
$proto5["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto5);

$proto3["m_where"] = $obj;
$proto7=array();
$proto7["m_sql"] = "";
$proto7["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto7["m_column"]=$obj;
$proto7["m_contained"] = array();
$proto7["m_strCase"] = "";
$proto7["m_havingmode"] = false;
$proto7["m_inBrackets"] = false;
$proto7["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto7);

$proto3["m_having"] = $obj;
$proto3["m_fieldlist"] = array();
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "MPGID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto9["m_sql"] = "MPGID";
$proto9["m_srcTableName"] = "OnlineApplicationForm2018";
$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto3["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "StudentSchoolID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto11["m_sql"] = "StudentSchoolID";
$proto11["m_srcTableName"] = "OnlineApplicationForm2018";
$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

$proto3["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto13["m_sql"] = "Surname";
$proto13["m_srcTableName"] = "OnlineApplicationForm2018";
$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

$proto3["m_fieldlist"][]=$obj;
						$proto15=array();
			$obj = new SQLField(array(
	"m_strName" => "FirstName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto15["m_sql"] = "FirstName";
$proto15["m_srcTableName"] = "OnlineApplicationForm2018";
$proto15["m_expr"]=$obj;
$proto15["m_alias"] = "";
$obj = new SQLFieldListItem($proto15);

$proto3["m_fieldlist"][]=$obj;
						$proto17=array();
			$obj = new SQLField(array(
	"m_strName" => "Photo",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto17["m_sql"] = "Photo";
$proto17["m_srcTableName"] = "OnlineApplicationForm2018";
$proto17["m_expr"]=$obj;
$proto17["m_alias"] = "";
$obj = new SQLFieldListItem($proto17);

$proto3["m_fieldlist"][]=$obj;
						$proto19=array();
			$obj = new SQLField(array(
	"m_strName" => "Gender",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto19["m_sql"] = "Gender";
$proto19["m_srcTableName"] = "OnlineApplicationForm2018";
$proto19["m_expr"]=$obj;
$proto19["m_alias"] = "";
$obj = new SQLFieldListItem($proto19);

$proto3["m_fieldlist"][]=$obj;
						$proto21=array();
			$obj = new SQLField(array(
	"m_strName" => "DateofBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto21["m_sql"] = "DateofBirth";
$proto21["m_srcTableName"] = "OnlineApplicationForm2018";
$proto21["m_expr"]=$obj;
$proto21["m_alias"] = "";
$obj = new SQLFieldListItem($proto21);

$proto3["m_fieldlist"][]=$obj;
						$proto23=array();
			$obj = new SQLField(array(
	"m_strName" => "PlaceofBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto23["m_sql"] = "PlaceofBirth";
$proto23["m_srcTableName"] = "OnlineApplicationForm2018";
$proto23["m_expr"]=$obj;
$proto23["m_alias"] = "";
$obj = new SQLFieldListItem($proto23);

$proto3["m_fieldlist"][]=$obj;
						$proto25=array();
			$obj = new SQLField(array(
	"m_strName" => "DistrictOfBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto25["m_sql"] = "DistrictOfBirth";
$proto25["m_srcTableName"] = "OnlineApplicationForm2018";
$proto25["m_expr"]=$obj;
$proto25["m_alias"] = "";
$obj = new SQLFieldListItem($proto25);

$proto3["m_fieldlist"][]=$obj;
						$proto27=array();
			$obj = new SQLField(array(
	"m_strName" => "ProvinceOfBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto27["m_sql"] = "ProvinceOfBirth";
$proto27["m_srcTableName"] = "OnlineApplicationForm2018";
$proto27["m_expr"]=$obj;
$proto27["m_alias"] = "";
$obj = new SQLFieldListItem($proto27);

$proto3["m_fieldlist"][]=$obj;
						$proto29=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherVillage",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto29["m_sql"] = "FatherVillage";
$proto29["m_srcTableName"] = "OnlineApplicationForm2018";
$proto29["m_expr"]=$obj;
$proto29["m_alias"] = "";
$obj = new SQLFieldListItem($proto29);

$proto3["m_fieldlist"][]=$obj;
						$proto31=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherLLG",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto31["m_sql"] = "FatherLLG";
$proto31["m_srcTableName"] = "OnlineApplicationForm2018";
$proto31["m_expr"]=$obj;
$proto31["m_alias"] = "";
$obj = new SQLFieldListItem($proto31);

$proto3["m_fieldlist"][]=$obj;
						$proto33=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto33["m_sql"] = "FatherDistrict";
$proto33["m_srcTableName"] = "OnlineApplicationForm2018";
$proto33["m_expr"]=$obj;
$proto33["m_alias"] = "";
$obj = new SQLFieldListItem($proto33);

$proto3["m_fieldlist"][]=$obj;
						$proto35=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERJOB",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto35["m_sql"] = "FATHERJOB";
$proto35["m_srcTableName"] = "OnlineApplicationForm2018";
$proto35["m_expr"]=$obj;
$proto35["m_alias"] = "";
$obj = new SQLFieldListItem($proto35);

$proto3["m_fieldlist"][]=$obj;
						$proto37=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERSNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto37["m_sql"] = "FATHERSNAME";
$proto37["m_srcTableName"] = "OnlineApplicationForm2018";
$proto37["m_expr"]=$obj;
$proto37["m_alias"] = "";
$obj = new SQLFieldListItem($proto37);

$proto3["m_fieldlist"][]=$obj;
						$proto39=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERSURNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto39["m_sql"] = "FATHERSURNAME";
$proto39["m_srcTableName"] = "OnlineApplicationForm2018";
$proto39["m_expr"]=$obj;
$proto39["m_alias"] = "";
$obj = new SQLFieldListItem($proto39);

$proto3["m_fieldlist"][]=$obj;
						$proto41=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERPROV",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto41["m_sql"] = "FATHERPROV";
$proto41["m_srcTableName"] = "OnlineApplicationForm2018";
$proto41["m_expr"]=$obj;
$proto41["m_alias"] = "";
$obj = new SQLFieldListItem($proto41);

$proto3["m_fieldlist"][]=$obj;
						$proto43=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERJOB",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto43["m_sql"] = "MOTHERJOB";
$proto43["m_srcTableName"] = "OnlineApplicationForm2018";
$proto43["m_expr"]=$obj;
$proto43["m_alias"] = "";
$obj = new SQLFieldListItem($proto43);

$proto3["m_fieldlist"][]=$obj;
						$proto45=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto45["m_sql"] = "MOTHERNAME";
$proto45["m_srcTableName"] = "OnlineApplicationForm2018";
$proto45["m_expr"]=$obj;
$proto45["m_alias"] = "";
$obj = new SQLFieldListItem($proto45);

$proto3["m_fieldlist"][]=$obj;
						$proto47=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERSURNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto47["m_sql"] = "MOTHERSURNAME";
$proto47["m_srcTableName"] = "OnlineApplicationForm2018";
$proto47["m_expr"]=$obj;
$proto47["m_alias"] = "";
$obj = new SQLFieldListItem($proto47);

$proto3["m_fieldlist"][]=$obj;
						$proto49=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERNATIONAL",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto49["m_sql"] = "MOTHERNATIONAL";
$proto49["m_srcTableName"] = "OnlineApplicationForm2018";
$proto49["m_expr"]=$obj;
$proto49["m_alias"] = "";
$obj = new SQLFieldListItem($proto49);

$proto3["m_fieldlist"][]=$obj;
						$proto51=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERNATIONAL",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto51["m_sql"] = "FATHERNATIONAL";
$proto51["m_srcTableName"] = "OnlineApplicationForm2018";
$proto51["m_expr"]=$obj;
$proto51["m_alias"] = "";
$obj = new SQLFieldListItem($proto51);

$proto3["m_fieldlist"][]=$obj;
						$proto53=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERCLAN",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto53["m_sql"] = "FATHERCLAN";
$proto53["m_srcTableName"] = "OnlineApplicationForm2018";
$proto53["m_expr"]=$obj;
$proto53["m_alias"] = "";
$obj = new SQLFieldListItem($proto53);

$proto3["m_fieldlist"][]=$obj;
						$proto55=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERCLAN",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto55["m_sql"] = "MOTHERCLAN";
$proto55["m_srcTableName"] = "OnlineApplicationForm2018";
$proto55["m_expr"]=$obj;
$proto55["m_alias"] = "";
$obj = new SQLFieldListItem($proto55);

$proto3["m_fieldlist"][]=$obj;
						$proto57=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERRELIGION",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto57["m_sql"] = "MOTHERRELIGION";
$proto57["m_srcTableName"] = "OnlineApplicationForm2018";
$proto57["m_expr"]=$obj;
$proto57["m_alias"] = "";
$obj = new SQLFieldListItem($proto57);

$proto3["m_fieldlist"][]=$obj;
						$proto59=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERRELIGION",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto59["m_sql"] = "FATHERRELIGION";
$proto59["m_srcTableName"] = "OnlineApplicationForm2018";
$proto59["m_expr"]=$obj;
$proto59["m_alias"] = "";
$obj = new SQLFieldListItem($proto59);

$proto3["m_fieldlist"][]=$obj;
						$proto61=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERBIRTHPLACE",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto61["m_sql"] = "FATHERBIRTHPLACE";
$proto61["m_srcTableName"] = "OnlineApplicationForm2018";
$proto61["m_expr"]=$obj;
$proto61["m_alias"] = "";
$obj = new SQLFieldListItem($proto61);

$proto3["m_fieldlist"][]=$obj;
						$proto63=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERBIRTHPLACE",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto63["m_sql"] = "MOTHERBIRTHPLACE";
$proto63["m_srcTableName"] = "OnlineApplicationForm2018";
$proto63["m_expr"]=$obj;
$proto63["m_alias"] = "";
$obj = new SQLFieldListItem($proto63);

$proto3["m_fieldlist"][]=$obj;
						$proto65=array();
			$obj = new SQLField(array(
	"m_strName" => "MotherVillage",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto65["m_sql"] = "MotherVillage";
$proto65["m_srcTableName"] = "OnlineApplicationForm2018";
$proto65["m_expr"]=$obj;
$proto65["m_alias"] = "";
$obj = new SQLFieldListItem($proto65);

$proto3["m_fieldlist"][]=$obj;
						$proto67=array();
			$obj = new SQLField(array(
	"m_strName" => "MotherLLG",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto67["m_sql"] = "MotherLLG";
$proto67["m_srcTableName"] = "OnlineApplicationForm2018";
$proto67["m_expr"]=$obj;
$proto67["m_alias"] = "";
$obj = new SQLFieldListItem($proto67);

$proto3["m_fieldlist"][]=$obj;
						$proto69=array();
			$obj = new SQLField(array(
	"m_strName" => "MotherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto69["m_sql"] = "MotherDistrict";
$proto69["m_srcTableName"] = "OnlineApplicationForm2018";
$proto69["m_expr"]=$obj;
$proto69["m_alias"] = "";
$obj = new SQLFieldListItem($proto69);

$proto3["m_fieldlist"][]=$obj;
						$proto71=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERPROV",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto71["m_sql"] = "MOTHERPROV";
$proto71["m_srcTableName"] = "OnlineApplicationForm2018";
$proto71["m_expr"]=$obj;
$proto71["m_alias"] = "";
$obj = new SQLFieldListItem($proto71);

$proto3["m_fieldlist"][]=$obj;
						$proto73=array();
			$obj = new SQLField(array(
	"m_strName" => "LastInstitutuonAttended",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto73["m_sql"] = "LastInstitutuonAttended";
$proto73["m_srcTableName"] = "OnlineApplicationForm2018";
$proto73["m_expr"]=$obj;
$proto73["m_alias"] = "";
$obj = new SQLFieldListItem($proto73);

$proto3["m_fieldlist"][]=$obj;
						$proto75=array();
			$obj = new SQLField(array(
	"m_strName" => "HighestGradeCompleted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto75["m_sql"] = "HighestGradeCompleted";
$proto75["m_srcTableName"] = "OnlineApplicationForm2018";
$proto75["m_expr"]=$obj;
$proto75["m_alias"] = "";
$obj = new SQLFieldListItem($proto75);

$proto3["m_fieldlist"][]=$obj;
						$proto77=array();
			$obj = new SQLField(array(
	"m_strName" => "YearHighestGradeCompleted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto77["m_sql"] = "YearHighestGradeCompleted";
$proto77["m_srcTableName"] = "OnlineApplicationForm2018";
$proto77["m_expr"]=$obj;
$proto77["m_alias"] = "";
$obj = new SQLFieldListItem($proto77);

$proto3["m_fieldlist"][]=$obj;
						$proto79=array();
			$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto79["m_sql"] = "TertiaryInstitutionAdmitted";
$proto79["m_srcTableName"] = "OnlineApplicationForm2018";
$proto79["m_expr"]=$obj;
$proto79["m_alias"] = "";
$obj = new SQLFieldListItem($proto79);

$proto3["m_fieldlist"][]=$obj;
						$proto81=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto81["m_sql"] = "ProgramName";
$proto81["m_srcTableName"] = "OnlineApplicationForm2018";
$proto81["m_expr"]=$obj;
$proto81["m_alias"] = "";
$obj = new SQLFieldListItem($proto81);

$proto3["m_fieldlist"][]=$obj;
						$proto83=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramCode",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto83["m_sql"] = "ProgramCode";
$proto83["m_srcTableName"] = "OnlineApplicationForm2018";
$proto83["m_expr"]=$obj;
$proto83["m_alias"] = "";
$obj = new SQLFieldListItem($proto83);

$proto3["m_fieldlist"][]=$obj;
						$proto85=array();
			$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto85["m_sql"] = "NewApplicant";
$proto85["m_srcTableName"] = "OnlineApplicationForm2018";
$proto85["m_expr"]=$obj;
$proto85["m_alias"] = "";
$obj = new SQLFieldListItem($proto85);

$proto3["m_fieldlist"][]=$obj;
						$proto87=array();
			$obj = new SQLField(array(
	"m_strName" => "Reapply",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto87["m_sql"] = "Reapply";
$proto87["m_srcTableName"] = "OnlineApplicationForm2018";
$proto87["m_expr"]=$obj;
$proto87["m_alias"] = "";
$obj = new SQLFieldListItem($proto87);

$proto3["m_fieldlist"][]=$obj;
						$proto89=array();
			$obj = new SQLField(array(
	"m_strName" => "EmailAddrssAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto89["m_sql"] = "EmailAddrssAppl";
$proto89["m_srcTableName"] = "OnlineApplicationForm2018";
$proto89["m_expr"]=$obj;
$proto89["m_alias"] = "";
$obj = new SQLFieldListItem($proto89);

$proto3["m_fieldlist"][]=$obj;
						$proto91=array();
			$obj = new SQLField(array(
	"m_strName" => "MobileNoAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto91["m_sql"] = "MobileNoAppl";
$proto91["m_srcTableName"] = "OnlineApplicationForm2018";
$proto91["m_expr"]=$obj;
$proto91["m_alias"] = "";
$obj = new SQLFieldListItem($proto91);

$proto3["m_fieldlist"][]=$obj;
						$proto93=array();
			$obj = new SQLField(array(
	"m_strName" => "WitnessName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto93["m_sql"] = "WitnessName";
$proto93["m_srcTableName"] = "OnlineApplicationForm2018";
$proto93["m_expr"]=$obj;
$proto93["m_alias"] = "";
$obj = new SQLFieldListItem($proto93);

$proto3["m_fieldlist"][]=$obj;
						$proto95=array();
			$obj = new SQLField(array(
	"m_strName" => "WitnessOccupation",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto95["m_sql"] = "WitnessOccupation";
$proto95["m_srcTableName"] = "OnlineApplicationForm2018";
$proto95["m_expr"]=$obj;
$proto95["m_alias"] = "";
$obj = new SQLFieldListItem($proto95);

$proto3["m_fieldlist"][]=$obj;
						$proto97=array();
			$obj = new SQLField(array(
	"m_strName" => "WitnessAddress",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto97["m_sql"] = "WitnessAddress";
$proto97["m_srcTableName"] = "OnlineApplicationForm2018";
$proto97["m_expr"]=$obj;
$proto97["m_alias"] = "";
$obj = new SQLFieldListItem($proto97);

$proto3["m_fieldlist"][]=$obj;
						$proto99=array();
			$obj = new SQLField(array(
	"m_strName" => "Documents",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto99["m_sql"] = "Documents";
$proto99["m_srcTableName"] = "OnlineApplicationForm2018";
$proto99["m_expr"]=$obj;
$proto99["m_alias"] = "";
$obj = new SQLFieldListItem($proto99);

$proto3["m_fieldlist"][]=$obj;
						$proto101=array();
			$obj = new SQLField(array(
	"m_strName" => "1styear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto101["m_sql"] = "`1styear`";
$proto101["m_srcTableName"] = "OnlineApplicationForm2018";
$proto101["m_expr"]=$obj;
$proto101["m_alias"] = "firstyear";
$obj = new SQLFieldListItem($proto101);

$proto3["m_fieldlist"][]=$obj;
						$proto103=array();
			$obj = new SQLField(array(
	"m_strName" => "acceptletter",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto103["m_sql"] = "acceptletter";
$proto103["m_srcTableName"] = "OnlineApplicationForm2018";
$proto103["m_expr"]=$obj;
$proto103["m_alias"] = "";
$obj = new SQLFieldListItem($proto103);

$proto3["m_fieldlist"][]=$obj;
						$proto105=array();
			$obj = new SQLField(array(
	"m_strName" => "gradetencert",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto105["m_sql"] = "gradetencert";
$proto105["m_srcTableName"] = "OnlineApplicationForm2018";
$proto105["m_expr"]=$obj;
$proto105["m_alias"] = "";
$obj = new SQLFieldListItem($proto105);

$proto3["m_fieldlist"][]=$obj;
						$proto107=array();
			$obj = new SQLField(array(
	"m_strName" => "grade12cert",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto107["m_sql"] = "grade12cert";
$proto107["m_srcTableName"] = "OnlineApplicationForm2018";
$proto107["m_expr"]=$obj;
$proto107["m_alias"] = "";
$obj = new SQLFieldListItem($proto107);

$proto3["m_fieldlist"][]=$obj;
						$proto109=array();
			$obj = new SQLField(array(
	"m_strName" => "Passdd5thYr",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationForm2018"
));

$proto109["m_sql"] = "Passdd5thYr";
$proto109["m_srcTableName"] = "OnlineApplicationForm2018";
$proto109["m_expr"]=$obj;
$proto109["m_alias"] = "";
$obj = new SQLFieldListItem($proto109);

$proto3["m_fieldlist"][]=$obj;
$proto3["m_fromlist"] = array();
												$proto111=array();
$proto111["m_link"] = "SQLL_MAIN";
			$proto112=array();
$proto112["m_strName"] = "applicform";
$proto112["m_srcTableName"] = "OnlineApplicationForm2018";
$proto112["m_columns"] = array();
$proto112["m_columns"][] = "MPGID";
$proto112["m_columns"][] = "StudentSchoolID";
$proto112["m_columns"][] = "Surname";
$proto112["m_columns"][] = "FirstName";
$proto112["m_columns"][] = "Photo";
$proto112["m_columns"][] = "Gender";
$proto112["m_columns"][] = "DateofBirth";
$proto112["m_columns"][] = "PlaceofBirth";
$proto112["m_columns"][] = "DistrictOfBirth";
$proto112["m_columns"][] = "ProvinceOfBirth";
$proto112["m_columns"][] = "FatherVillage";
$proto112["m_columns"][] = "FatherLLG";
$proto112["m_columns"][] = "FatherDistrict";
$proto112["m_columns"][] = "FATHERJOB";
$proto112["m_columns"][] = "FATHERSNAME";
$proto112["m_columns"][] = "FATHERSURNAME";
$proto112["m_columns"][] = "FATHERPROV";
$proto112["m_columns"][] = "MOTHERJOB";
$proto112["m_columns"][] = "MOTHERNAME";
$proto112["m_columns"][] = "MOTHERSURNAME";
$proto112["m_columns"][] = "MOTHERNATIONAL";
$proto112["m_columns"][] = "FATHERNATIONAL";
$proto112["m_columns"][] = "FATHERCLAN";
$proto112["m_columns"][] = "MOTHERCLAN";
$proto112["m_columns"][] = "MOTHERRELIGION";
$proto112["m_columns"][] = "FATHERRELIGION";
$proto112["m_columns"][] = "FATHERBIRTHPLACE";
$proto112["m_columns"][] = "MOTHERBIRTHPLACE";
$proto112["m_columns"][] = "MotherVillage";
$proto112["m_columns"][] = "MotherLLG";
$proto112["m_columns"][] = "MotherDistrict";
$proto112["m_columns"][] = "MOTHERPROV";
$proto112["m_columns"][] = "LastInstitutuonAttended";
$proto112["m_columns"][] = "HighestGradeCompleted";
$proto112["m_columns"][] = "YearHighestGradeCompleted";
$proto112["m_columns"][] = "TertiaryInstitutionAdmitted";
$proto112["m_columns"][] = "ProgramName";
$proto112["m_columns"][] = "ProgramCode";
$proto112["m_columns"][] = "WitnessName";
$proto112["m_columns"][] = "WitnessOccupation";
$proto112["m_columns"][] = "WitnessAddress";
$proto112["m_columns"][] = "1styear";
$proto112["m_columns"][] = "1styearTesas";
$proto112["m_columns"][] = "1styearFee";
$proto112["m_columns"][] = "Paid1stYearFee";
$proto112["m_columns"][] = "Repeat1stYear";
$proto112["m_columns"][] = "Repeat1stTESAS";
$proto112["m_columns"][] = "Repeatd1stYearFee";
$proto112["m_columns"][] = "Paid1stYrRepeatFee";
$proto112["m_columns"][] = "Passd1stYear";
$proto112["m_columns"][] = "sem1year1";
$proto112["m_columns"][] = "Year2nd";
$proto112["m_columns"][] = "TESAS2ndYear";
$proto112["m_columns"][] = "Fee2ndYear";
$proto112["m_columns"][] = "Paid2ndYearFee";
$proto112["m_columns"][] = "Repeated2ndYear";
$proto112["m_columns"][] = "Repeat2ndYrTESAS";
$proto112["m_columns"][] = "Repeat2ndYearFee";
$proto112["m_columns"][] = "Paid2ndYrRepeatFee";
$proto112["m_columns"][] = "Passd2ndYear";
$proto112["m_columns"][] = "sem1year2";
$proto112["m_columns"][] = "Year3rd";
$proto112["m_columns"][] = "TESAS3rdYear";
$proto112["m_columns"][] = "Fee3rdYear";
$proto112["m_columns"][] = "Paid3rdYrFee";
$proto112["m_columns"][] = "Repeatd3rdYear";
$proto112["m_columns"][] = "Repeat3rdYrTESAS";
$proto112["m_columns"][] = "Repeatd3rdYrFee";
$proto112["m_columns"][] = "Paid3rdYrRepeatFee";
$proto112["m_columns"][] = "Passd3rdYear";
$proto112["m_columns"][] = "sem1year3";
$proto112["m_columns"][] = "Year4th";
$proto112["m_columns"][] = "TESAS4thYear";
$proto112["m_columns"][] = "Fee4thYear";
$proto112["m_columns"][] = "Paid4thYearFee";
$proto112["m_columns"][] = "Repeated4thYear";
$proto112["m_columns"][] = "Repeath4thYrTESAS";
$proto112["m_columns"][] = "Repeat4thYrFee";
$proto112["m_columns"][] = "Paid4thYrRepeatFee";
$proto112["m_columns"][] = "Passd4thYear";
$proto112["m_columns"][] = "sem1year4";
$proto112["m_columns"][] = "Year5th";
$proto112["m_columns"][] = "TESAS5thYear";
$proto112["m_columns"][] = "Fee5thYear";
$proto112["m_columns"][] = "Paid5thYearFee";
$proto112["m_columns"][] = "Repeat5thYear";
$proto112["m_columns"][] = "Repeat5thYrTESAS";
$proto112["m_columns"][] = "Repeat5thYrFEE";
$proto112["m_columns"][] = "Paid5thYrRepeatFee";
$proto112["m_columns"][] = "Passdd5thYr";
$proto112["m_columns"][] = "sem1year5";
$proto112["m_columns"][] = "Graduated";
$proto112["m_columns"][] = "YearGraduated";
$proto112["m_columns"][] = "PostingtoSchool";
$proto112["m_columns"][] = "PostingsLLG";
$proto112["m_columns"][] = "ScholarshipType";
$proto112["m_columns"][] = "Comments";
$proto112["m_columns"][] = "NewApplicant";
$proto112["m_columns"][] = "Judge1Comment";
$proto112["m_columns"][] = "Reapply";
$proto112["m_columns"][] = "EmailAddrssAppl";
$proto112["m_columns"][] = "MobileNoAppl";
$proto112["m_columns"][] = "GPA";
$proto112["m_columns"][] = "approved1";
$proto112["m_columns"][] = "approved2";
$proto112["m_columns"][] = "approved3";
$proto112["m_columns"][] = "Judge2Comment";
$proto112["m_columns"][] = "Judge3Comment";
$proto112["m_columns"][] = "JudgeComment";
$proto112["m_columns"][] = "Lat";
$proto112["m_columns"][] = "Lng";
$proto112["m_columns"][] = "Documents";
$proto112["m_columns"][] = "judge1id";
$proto112["m_columns"][] = "judee2id";
$proto112["m_columns"][] = "judge3id";
$proto112["m_columns"][] = "username";
$proto112["m_columns"][] = "transcripts";
$proto112["m_columns"][] = "acceptletter";
$proto112["m_columns"][] = "gradetencert";
$proto112["m_columns"][] = "grade12cert";
$proto112["m_columns"][] = "natid";
$proto112["m_columns"][] = "sem2year1";
$proto112["m_columns"][] = "sem2year2";
$proto112["m_columns"][] = "sem2year3";
$proto112["m_columns"][] = "sem2year4";
$proto112["m_columns"][] = "sem2year5";
$proto112["m_columns"][] = "y1housingtype";
$proto112["m_columns"][] = "y2housingtype";
$proto112["m_columns"][] = "y3housingtype";
$proto112["m_columns"][] = "y4housingtype";
$proto112["m_columns"][] = "y5housingtype";
$proto112["m_columns"][] = "comment1";
$proto112["m_columns"][] = "comment2";
$proto112["m_columns"][] = "comment3";
$proto112["m_columns"][] = "comment4";
$proto112["m_columns"][] = "comment5";
$proto112["m_columns"][] = "assessed";
$proto112["m_columns"][] = "assessed1";
$proto112["m_columns"][] = "assessed2";
$proto112["m_columns"][] = "assessed3";
$proto112["m_columns"][] = "assessed4";
$proto112["m_columns"][] = "assessed5";
$proto112["m_columns"][] = "parentsnowliving";
$proto112["m_columns"][] = "active";
$proto112["m_columns"][] = "reset_token";
$proto112["m_columns"][] = "reset_date";
$obj = new SQLTable($proto112);

$proto111["m_table"] = $obj;
$proto111["m_sql"] = "applicform";
$proto111["m_alias"] = "";
$proto111["m_srcTableName"] = "OnlineApplicationForm2018";
$proto113=array();
$proto113["m_sql"] = "";
$proto113["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto113["m_column"]=$obj;
$proto113["m_contained"] = array();
$proto113["m_strCase"] = "";
$proto113["m_havingmode"] = false;
$proto113["m_inBrackets"] = false;
$proto113["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto113);

$proto111["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto111);

$proto3["m_fromlist"][]=$obj;
$proto3["m_groupby"] = array();
$proto3["m_orderby"] = array();
$proto3["m_srcTableName"]="OnlineApplicationForm2018";		
$obj = new SQLQuery($proto3);

	return $obj;
}
$queryData_OnlineApplicationForm20181 = createSqlQuery_OnlineApplicationForm20181();


	
		;

																																																			

$tdataOnlineApplicationForm20181[".sqlquery"] = $queryData_OnlineApplicationForm20181;

include_once(getabspath("include/OnlineApplicationForm20181_events.php"));
$tableEvents["OnlineApplicationForm2018"] = new eventclass_OnlineApplicationForm20181;
$tdataOnlineApplicationForm20181[".hasEvents"] = true;

?>