<?php



$tdataOnlineApplicationFormSBS = array();
$tdataOnlineApplicationFormSBS[".searchableFields"] = array();
$tdataOnlineApplicationFormSBS[".ShortName"] = "OnlineApplicationFormSBS";
$tdataOnlineApplicationFormSBS[".OwnerID"] = "";
$tdataOnlineApplicationFormSBS[".OriginalTable"] = "applicform";


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

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

//	field labels
$fieldLabelsOnlineApplicationFormSBS = array();
$fieldToolTipsOnlineApplicationFormSBS = array();
$pageTitlesOnlineApplicationFormSBS = array();
$placeHoldersOnlineApplicationFormSBS = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsOnlineApplicationFormSBS["English"] = array();
	$fieldToolTipsOnlineApplicationFormSBS["English"] = array();
	$placeHoldersOnlineApplicationFormSBS["English"] = array();
	$pageTitlesOnlineApplicationFormSBS["English"] = array();
	$fieldLabelsOnlineApplicationFormSBS["English"]["Surname"] = "Surname";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["Surname"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["Surname"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FirstName"] = "First Name";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FirstName"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FirstName"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["Gender"] = "Gender";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["Gender"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["Gender"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["DateofBirth"] = "BirthDate ";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["DateofBirth"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["DateofBirth"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["PlaceofBirth"] = "Birthplace";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["PlaceofBirth"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["PlaceofBirth"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["DistrictOfBirth"] = "Birth District ";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["DistrictOfBirth"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["DistrictOfBirth"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["ProvinceOfBirth"] = "Birth Province ";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["ProvinceOfBirth"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["ProvinceOfBirth"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FatherVillage"] = "Father Village";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FatherVillage"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FatherVillage"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FatherLLG"] = "Father LLG";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FatherLLG"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FatherLLG"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FatherDistrict"] = "Father District";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FatherDistrict"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FatherDistrict"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FATHERJOB"] = "Occupation";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FATHERJOB"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FATHERJOB"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FATHERSNAME"] = "First Name:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FATHERSNAME"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FATHERSNAME"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FATHERSURNAME"] = "Surname:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FATHERSURNAME"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FATHERSURNAME"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FATHERPROV"] = "Province:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FATHERPROV"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FATHERPROV"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MOTHERJOB"] = "Occupation:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MOTHERJOB"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MOTHERJOB"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MOTHERNAME"] = "Name:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MOTHERNAME"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MOTHERNAME"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MOTHERSURNAME"] = "Surname:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MOTHERSURNAME"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MOTHERSURNAME"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MOTHERNATIONAL"] = "Nationality:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MOTHERNATIONAL"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MOTHERNATIONAL"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FATHERNATIONAL"] = "Nationality:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FATHERNATIONAL"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FATHERNATIONAL"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FATHERCLAN"] = "Clan:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FATHERCLAN"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FATHERCLAN"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MOTHERCLAN"] = "Clan:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MOTHERCLAN"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MOTHERCLAN"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MOTHERRELIGION"] = "Religion:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MOTHERRELIGION"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MOTHERRELIGION"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FATHERRELIGION"] = "Religion:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FATHERRELIGION"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FATHERRELIGION"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["FATHERBIRTHPLACE"] = "Birth Place:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["FATHERBIRTHPLACE"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["FATHERBIRTHPLACE"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MOTHERBIRTHPLACE"] = "Birth Place:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MOTHERBIRTHPLACE"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MOTHERBIRTHPLACE"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MotherVillage"] = "Village:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MotherVillage"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MotherVillage"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MotherLLG"] = "LLG:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MotherLLG"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MotherLLG"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MotherDistrict"] = "Mother District";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MotherDistrict"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MotherDistrict"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MOTHERPROV"] = "Province:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MOTHERPROV"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MOTHERPROV"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["LastInstitutuonAttended"] = "Last Institutuon";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["LastInstitutuonAttended"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["LastInstitutuonAttended"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["HighestGradeCompleted"] = "Highest Grade";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["HighestGradeCompleted"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["HighestGradeCompleted"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["YearHighestGradeCompleted"] = "Year Completed";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["YearHighestGradeCompleted"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["YearHighestGradeCompleted"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["TertiaryInstitutionAdmitted"] = "Tertiary Institution";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["ProgramName"] = "Program Name";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["ProgramName"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["ProgramName"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["ProgramCode"] = "Program Code";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["ProgramCode"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["ProgramCode"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["NewApplicant"] = "New Applicant";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["NewApplicant"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["NewApplicant"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["Reapply"] = "Reapply";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["Reapply"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["Reapply"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["EmailAddrssAppl"] = "Email";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["EmailAddrssAppl"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["EmailAddrssAppl"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MobileNoAppl"] = "Mobile:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MobileNoAppl"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MobileNoAppl"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["Photo"] = "Photo";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["Photo"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["Photo"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["MPGID"] = "MPGID";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["MPGID"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["MPGID"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["WitnessName"] = "Witness Name";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["WitnessName"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["WitnessName"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["WitnessOccupation"] = "Witness Occupation";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["WitnessOccupation"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["WitnessOccupation"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["WitnessAddress"] = "Signature:";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["WitnessAddress"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["WitnessAddress"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["Documents"] = "Documents";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["Documents"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["Documents"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["firstyear"] = "Year of this Application";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["firstyear"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["firstyear"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["acceptletter"] = "Acceptance Letter";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["acceptletter"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["acceptletter"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["gradetencert"] = "Grade Ten Certificate";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["gradetencert"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["gradetencert"] = "";
	$fieldLabelsOnlineApplicationFormSBS["English"]["grade12cert"] = "Grade12 Certificate";
	$fieldToolTipsOnlineApplicationFormSBS["English"]["grade12cert"] = "";
	$placeHoldersOnlineApplicationFormSBS["English"]["grade12cert"] = "";
	if (count($fieldToolTipsOnlineApplicationFormSBS["English"]))
		$tdataOnlineApplicationFormSBS[".isUseToolTips"] = true;
}


	$tdataOnlineApplicationFormSBS[".NCSearch"] = true;



$tdataOnlineApplicationFormSBS[".shortTableName"] = "OnlineApplicationFormSBS";
$tdataOnlineApplicationFormSBS[".nSecOptions"] = 0;

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

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

	



$tdataOnlineApplicationFormSBS[".showAddInPopup"] = true;

$tdataOnlineApplicationFormSBS[".showEditInPopup"] = true;

$tdataOnlineApplicationFormSBS[".showViewInPopup"] = true;

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


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

	$tdataOnlineApplicationFormSBS[".audit"] = false;

	$tdataOnlineApplicationFormSBS[".locking"] = false;


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

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

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

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

$tdataOnlineApplicationFormSBS[".updateSelected"] = true;


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

$tdataOnlineApplicationFormSBS[".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] ) {
$tdataOnlineApplicationFormSBS[".view"] = true;
}

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

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

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



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

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

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

$tdataOnlineApplicationFormSBS[".isUseAjaxSuggest"] = true;

$tdataOnlineApplicationFormSBS[".rowHighlite"] = true;



						

$tdataOnlineApplicationFormSBS[".ajaxCodeSnippetAdded"] = false;

$tdataOnlineApplicationFormSBS[".buttonsAdded"] = false;

$tdataOnlineApplicationFormSBS[".addPageEvents"] = false;

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




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

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



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

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

$tdataOnlineApplicationFormSBS[".nPrinterSplitRecords"] = 40;

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




$tdataOnlineApplicationFormSBS[".isDisplayLoading"] = true;

$tdataOnlineApplicationFormSBS[".isResizeColumns"] = true;


$tdataOnlineApplicationFormSBS[".noRecordsFirstPage"] = true;



$tdataOnlineApplicationFormSBS[".pageSize"] = 20;

$tdataOnlineApplicationFormSBS[".warnLeavingPages"] = true;



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

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

$tdataOnlineApplicationFormSBS[".sqlHead"] = "SELECT MPGID,  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";
$tdataOnlineApplicationFormSBS[".sqlFrom"] = "FROM applicform";
$tdataOnlineApplicationFormSBS[".sqlWhereExpr"] = "";
$tdataOnlineApplicationFormSBS[".sqlTail"] = "";





$tdataOnlineApplicationFormSBS[".addMultistep"] = true;





//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;
$tdataOnlineApplicationFormSBS[".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;
$tdataOnlineApplicationFormSBS[".arrGroupsPerPage"] = $arrGPP;


$tableKeysOnlineApplicationFormSBS = array();
$tableKeysOnlineApplicationFormSBS[] = "MPGID";
$tdataOnlineApplicationFormSBS[".Keys"] = $tableKeysOnlineApplicationFormSBS;


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




//	MPGID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "MPGID";
	$fdata["GoodName"] = "MPGID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MPGID"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MPGID";
//	Surname
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "Surname";
	$fdata["GoodName"] = "Surname";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["Surname"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "Surname";
//	FirstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "FirstName";
	$fdata["GoodName"] = "FirstName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["FirstName"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FirstName";
//	Photo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "Photo";
	$fdata["GoodName"] = "Photo";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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"] = 2;
	$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["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;
//	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["filterTotalFields"] = "MPGID";
		$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataOnlineApplicationFormSBS["Photo"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "Photo";
//	Gender
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "Gender";
	$fdata["GoodName"] = "Gender";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["Gender"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "Gender";
//	DateofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "DateofBirth";
	$fdata["GoodName"] = "DateofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["DateofBirth"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "DateofBirth";
//	PlaceofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "PlaceofBirth";
	$fdata["GoodName"] = "PlaceofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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"] = "hospitals1";
	$edata["LookupConnId"] = "";
			$edata["freeInput"] = true;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 1;

	
		
	$edata["LinkField"] = "BirthPlace";
	$edata["LinkFieldType"] = 0;
	$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


	$tdataOnlineApplicationFormSBS["PlaceofBirth"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "PlaceofBirth";
//	DistrictOfBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "DistrictOfBirth";
	$fdata["GoodName"] = "DistrictOfBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["DistrictOfBirth"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "DistrictOfBirth";
//	ProvinceOfBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "ProvinceOfBirth";
	$fdata["GoodName"] = "ProvinceOfBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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["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


	$tdataOnlineApplicationFormSBS["ProvinceOfBirth"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "ProvinceOfBirth";
//	FatherVillage
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "FatherVillage";
	$fdata["GoodName"] = "FatherVillage";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["FatherVillage"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FatherVillage";
//	FatherLLG
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "FatherLLG";
	$fdata["GoodName"] = "FatherLLG";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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["LinkField"] = "LLG";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "LLG";

	

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

	
	
		$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


	$tdataOnlineApplicationFormSBS["FatherLLG"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FatherLLG";
//	FatherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "FatherDistrict";
	$fdata["GoodName"] = "FatherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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["SimpleAdd"] = true;

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

	
	
		$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


	$tdataOnlineApplicationFormSBS["FatherDistrict"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FatherDistrict";
//	FATHERJOB
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "FATHERJOB";
	$fdata["GoodName"] = "FATHERJOB";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["FATHERJOB"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FATHERJOB";
//	FATHERSNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "FATHERSNAME";
	$fdata["GoodName"] = "FATHERSNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["FATHERSNAME"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FATHERSNAME";
//	FATHERSURNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "FATHERSURNAME";
	$fdata["GoodName"] = "FATHERSURNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["FATHERSURNAME"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FATHERSURNAME";
//	FATHERPROV
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "FATHERPROV";
	$fdata["GoodName"] = "FATHERPROV";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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["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


	$tdataOnlineApplicationFormSBS["FATHERPROV"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FATHERPROV";
//	MOTHERJOB
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "MOTHERJOB";
	$fdata["GoodName"] = "MOTHERJOB";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MOTHERJOB"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MOTHERJOB";
//	MOTHERNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "MOTHERNAME";
	$fdata["GoodName"] = "MOTHERNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MOTHERNAME"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MOTHERNAME";
//	MOTHERSURNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "MOTHERSURNAME";
	$fdata["GoodName"] = "MOTHERSURNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MOTHERSURNAME"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MOTHERSURNAME";
//	MOTHERNATIONAL
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "MOTHERNATIONAL";
	$fdata["GoodName"] = "MOTHERNATIONAL";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MOTHERNATIONAL"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MOTHERNATIONAL";
//	FATHERNATIONAL
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "FATHERNATIONAL";
	$fdata["GoodName"] = "FATHERNATIONAL";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["FATHERNATIONAL"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FATHERNATIONAL";
//	FATHERCLAN
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "FATHERCLAN";
	$fdata["GoodName"] = "FATHERCLAN";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["FATHERCLAN"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FATHERCLAN";
//	MOTHERCLAN
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "MOTHERCLAN";
	$fdata["GoodName"] = "MOTHERCLAN";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MOTHERCLAN"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MOTHERCLAN";
//	MOTHERRELIGION
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "MOTHERRELIGION";
	$fdata["GoodName"] = "MOTHERRELIGION";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MOTHERRELIGION"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MOTHERRELIGION";
//	FATHERRELIGION
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 25;
	$fdata["strName"] = "FATHERRELIGION";
	$fdata["GoodName"] = "FATHERRELIGION";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["FATHERRELIGION"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FATHERRELIGION";
//	FATHERBIRTHPLACE
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 26;
	$fdata["strName"] = "FATHERBIRTHPLACE";
	$fdata["GoodName"] = "FATHERBIRTHPLACE";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["FATHERBIRTHPLACE"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "FATHERBIRTHPLACE";
//	MOTHERBIRTHPLACE
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 27;
	$fdata["strName"] = "MOTHERBIRTHPLACE";
	$fdata["GoodName"] = "MOTHERBIRTHPLACE";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MOTHERBIRTHPLACE"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MOTHERBIRTHPLACE";
//	MotherVillage
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 28;
	$fdata["strName"] = "MotherVillage";
	$fdata["GoodName"] = "MotherVillage";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MotherVillage"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MotherVillage";
//	MotherLLG
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 29;
	$fdata["strName"] = "MotherLLG";
	$fdata["GoodName"] = "MotherLLG";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 1;

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

	

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

	
	
		$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


	$tdataOnlineApplicationFormSBS["MotherLLG"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MotherLLG";
//	MotherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 30;
	$fdata["strName"] = "MotherDistrict";
	$fdata["GoodName"] = "MotherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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["LinkField"] = "District";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "District";

	

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

	
		$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


	$tdataOnlineApplicationFormSBS["MotherDistrict"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MotherDistrict";
//	MOTHERPROV
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 31;
	$fdata["strName"] = "MOTHERPROV";
	$fdata["GoodName"] = "MOTHERPROV";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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" => "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


	$tdataOnlineApplicationFormSBS["MOTHERPROV"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MOTHERPROV";
//	LastInstitutuonAttended
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 32;
	$fdata["strName"] = "LastInstitutuonAttended";
	$fdata["GoodName"] = "LastInstitutuonAttended";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["LastInstitutuonAttended"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "LastInstitutuonAttended";
//	HighestGradeCompleted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 33;
	$fdata["strName"] = "HighestGradeCompleted";
	$fdata["GoodName"] = "HighestGradeCompleted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["HighestGradeCompleted"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "HighestGradeCompleted";
//	YearHighestGradeCompleted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 34;
	$fdata["strName"] = "YearHighestGradeCompleted";
	$fdata["GoodName"] = "YearHighestGradeCompleted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["YearHighestGradeCompleted"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "YearHighestGradeCompleted";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 35;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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"] = "uniprograms13";
	$edata["LookupConnId"] = "";
			$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


	$tdataOnlineApplicationFormSBS["TertiaryInstitutionAdmitted"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	ProgramName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 36;
	$fdata["strName"] = "ProgramName";
	$fdata["GoodName"] = "ProgramName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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"] = "uniprograms13";
	$edata["LookupConnId"] = "";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$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


	$tdataOnlineApplicationFormSBS["ProgramName"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "ProgramName";
//	ProgramCode
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 37;
	$fdata["strName"] = "ProgramCode";
	$fdata["GoodName"] = "ProgramCode";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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"] = "uniprograms13";
	$edata["LookupConnId"] = "";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$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


	$tdataOnlineApplicationFormSBS["ProgramCode"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "ProgramCode";
//	NewApplicant
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 38;
	$fdata["strName"] = "NewApplicant";
	$fdata["GoodName"] = "NewApplicant";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["NewApplicant"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "NewApplicant";
//	Reapply
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 39;
	$fdata["strName"] = "Reapply";
	$fdata["GoodName"] = "Reapply";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["Reapply"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "Reapply";
//	EmailAddrssAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 40;
	$fdata["strName"] = "EmailAddrssAppl";
	$fdata["GoodName"] = "EmailAddrssAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["EmailAddrssAppl"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "EmailAddrssAppl";
//	MobileNoAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 41;
	$fdata["strName"] = "MobileNoAppl";
	$fdata["GoodName"] = "MobileNoAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["MobileNoAppl"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "MobileNoAppl";
//	WitnessName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 42;
	$fdata["strName"] = "WitnessName";
	$fdata["GoodName"] = "WitnessName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["WitnessName"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "WitnessName";
//	WitnessOccupation
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 43;
	$fdata["strName"] = "WitnessOccupation";
	$fdata["GoodName"] = "WitnessOccupation";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["WitnessOccupation"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "WitnessOccupation";
//	WitnessAddress
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 44;
	$fdata["strName"] = "WitnessAddress";
	$fdata["GoodName"] = "WitnessAddress";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["WitnessAddress"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "WitnessAddress";
//	Documents
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 45;
	$fdata["strName"] = "Documents";
	$fdata["GoodName"] = "Documents";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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"] = 2;
	$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


	$tdataOnlineApplicationFormSBS["Documents"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "Documents";
//	firstyear
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 46;
	$fdata["strName"] = "firstyear";
	$fdata["GoodName"] = "firstyear";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["firstyear"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "firstyear";
//	acceptletter
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 47;
	$fdata["strName"] = "acceptletter";
	$fdata["GoodName"] = "acceptletter";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["acceptletter"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "acceptletter";
//	gradetencert
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 48;
	$fdata["strName"] = "gradetencert";
	$fdata["GoodName"] = "gradetencert";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["gradetencert"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "gradetencert";
//	grade12cert
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 49;
	$fdata["strName"] = "grade12cert";
	$fdata["GoodName"] = "grade12cert";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("OnlineApplicationFormSBS","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


	$tdataOnlineApplicationFormSBS["grade12cert"] = $fdata;
		$tdataOnlineApplicationFormSBS[".searchableFields"][] = "grade12cert";


$tables_data["OnlineApplicationFormSBS"]=&$tdataOnlineApplicationFormSBS;
$field_labels["OnlineApplicationFormSBS"] = &$fieldLabelsOnlineApplicationFormSBS;
$fieldToolTips["OnlineApplicationFormSBS"] = &$fieldToolTipsOnlineApplicationFormSBS;
$placeHolders["OnlineApplicationFormSBS"] = &$placeHoldersOnlineApplicationFormSBS;
$page_titles["OnlineApplicationFormSBS"] = &$pageTitlesOnlineApplicationFormSBS;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["OnlineApplicationFormSBS"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["OnlineApplicationFormSBS"] = array();



// -----------------end  prepare master-details data arrays ------------------------------//


require_once(getabspath("classes/sql.php"));










function createSqlQuery_OnlineApplicationFormSBS()
{
$proto3=array();
$proto3["m_strHead"] = "SELECT";
$proto3["m_strFieldList"] = "MPGID,  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";
$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" => "OnlineApplicationFormSBS"
));

$proto9["m_sql"] = "MPGID";
$proto9["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto3["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto11["m_sql"] = "Surname";
$proto11["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

$proto3["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "FirstName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto13["m_sql"] = "FirstName";
$proto13["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

$proto3["m_fieldlist"][]=$obj;
						$proto15=array();
			$obj = new SQLField(array(
	"m_strName" => "Photo",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto15["m_sql"] = "Photo";
$proto15["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto15["m_expr"]=$obj;
$proto15["m_alias"] = "";
$obj = new SQLFieldListItem($proto15);

$proto3["m_fieldlist"][]=$obj;
						$proto17=array();
			$obj = new SQLField(array(
	"m_strName" => "Gender",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto17["m_sql"] = "Gender";
$proto17["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto17["m_expr"]=$obj;
$proto17["m_alias"] = "";
$obj = new SQLFieldListItem($proto17);

$proto3["m_fieldlist"][]=$obj;
						$proto19=array();
			$obj = new SQLField(array(
	"m_strName" => "DateofBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto19["m_sql"] = "DateofBirth";
$proto19["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto19["m_expr"]=$obj;
$proto19["m_alias"] = "";
$obj = new SQLFieldListItem($proto19);

$proto3["m_fieldlist"][]=$obj;
						$proto21=array();
			$obj = new SQLField(array(
	"m_strName" => "PlaceofBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto21["m_sql"] = "PlaceofBirth";
$proto21["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto21["m_expr"]=$obj;
$proto21["m_alias"] = "";
$obj = new SQLFieldListItem($proto21);

$proto3["m_fieldlist"][]=$obj;
						$proto23=array();
			$obj = new SQLField(array(
	"m_strName" => "DistrictOfBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto23["m_sql"] = "DistrictOfBirth";
$proto23["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto23["m_expr"]=$obj;
$proto23["m_alias"] = "";
$obj = new SQLFieldListItem($proto23);

$proto3["m_fieldlist"][]=$obj;
						$proto25=array();
			$obj = new SQLField(array(
	"m_strName" => "ProvinceOfBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto25["m_sql"] = "ProvinceOfBirth";
$proto25["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto25["m_expr"]=$obj;
$proto25["m_alias"] = "";
$obj = new SQLFieldListItem($proto25);

$proto3["m_fieldlist"][]=$obj;
						$proto27=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherVillage",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto27["m_sql"] = "FatherVillage";
$proto27["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto27["m_expr"]=$obj;
$proto27["m_alias"] = "";
$obj = new SQLFieldListItem($proto27);

$proto3["m_fieldlist"][]=$obj;
						$proto29=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherLLG",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto29["m_sql"] = "FatherLLG";
$proto29["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto29["m_expr"]=$obj;
$proto29["m_alias"] = "";
$obj = new SQLFieldListItem($proto29);

$proto3["m_fieldlist"][]=$obj;
						$proto31=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto31["m_sql"] = "FatherDistrict";
$proto31["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto31["m_expr"]=$obj;
$proto31["m_alias"] = "";
$obj = new SQLFieldListItem($proto31);

$proto3["m_fieldlist"][]=$obj;
						$proto33=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERJOB",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto33["m_sql"] = "FATHERJOB";
$proto33["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto33["m_expr"]=$obj;
$proto33["m_alias"] = "";
$obj = new SQLFieldListItem($proto33);

$proto3["m_fieldlist"][]=$obj;
						$proto35=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERSNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto35["m_sql"] = "FATHERSNAME";
$proto35["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto35["m_expr"]=$obj;
$proto35["m_alias"] = "";
$obj = new SQLFieldListItem($proto35);

$proto3["m_fieldlist"][]=$obj;
						$proto37=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERSURNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto37["m_sql"] = "FATHERSURNAME";
$proto37["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto37["m_expr"]=$obj;
$proto37["m_alias"] = "";
$obj = new SQLFieldListItem($proto37);

$proto3["m_fieldlist"][]=$obj;
						$proto39=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERPROV",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto39["m_sql"] = "FATHERPROV";
$proto39["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto39["m_expr"]=$obj;
$proto39["m_alias"] = "";
$obj = new SQLFieldListItem($proto39);

$proto3["m_fieldlist"][]=$obj;
						$proto41=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERJOB",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto41["m_sql"] = "MOTHERJOB";
$proto41["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto41["m_expr"]=$obj;
$proto41["m_alias"] = "";
$obj = new SQLFieldListItem($proto41);

$proto3["m_fieldlist"][]=$obj;
						$proto43=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto43["m_sql"] = "MOTHERNAME";
$proto43["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto43["m_expr"]=$obj;
$proto43["m_alias"] = "";
$obj = new SQLFieldListItem($proto43);

$proto3["m_fieldlist"][]=$obj;
						$proto45=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERSURNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto45["m_sql"] = "MOTHERSURNAME";
$proto45["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto45["m_expr"]=$obj;
$proto45["m_alias"] = "";
$obj = new SQLFieldListItem($proto45);

$proto3["m_fieldlist"][]=$obj;
						$proto47=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERNATIONAL",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto47["m_sql"] = "MOTHERNATIONAL";
$proto47["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto47["m_expr"]=$obj;
$proto47["m_alias"] = "";
$obj = new SQLFieldListItem($proto47);

$proto3["m_fieldlist"][]=$obj;
						$proto49=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERNATIONAL",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto49["m_sql"] = "FATHERNATIONAL";
$proto49["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto49["m_expr"]=$obj;
$proto49["m_alias"] = "";
$obj = new SQLFieldListItem($proto49);

$proto3["m_fieldlist"][]=$obj;
						$proto51=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERCLAN",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto51["m_sql"] = "FATHERCLAN";
$proto51["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto51["m_expr"]=$obj;
$proto51["m_alias"] = "";
$obj = new SQLFieldListItem($proto51);

$proto3["m_fieldlist"][]=$obj;
						$proto53=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERCLAN",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto53["m_sql"] = "MOTHERCLAN";
$proto53["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto53["m_expr"]=$obj;
$proto53["m_alias"] = "";
$obj = new SQLFieldListItem($proto53);

$proto3["m_fieldlist"][]=$obj;
						$proto55=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERRELIGION",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto55["m_sql"] = "MOTHERRELIGION";
$proto55["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto55["m_expr"]=$obj;
$proto55["m_alias"] = "";
$obj = new SQLFieldListItem($proto55);

$proto3["m_fieldlist"][]=$obj;
						$proto57=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERRELIGION",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto57["m_sql"] = "FATHERRELIGION";
$proto57["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto57["m_expr"]=$obj;
$proto57["m_alias"] = "";
$obj = new SQLFieldListItem($proto57);

$proto3["m_fieldlist"][]=$obj;
						$proto59=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERBIRTHPLACE",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto59["m_sql"] = "FATHERBIRTHPLACE";
$proto59["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto59["m_expr"]=$obj;
$proto59["m_alias"] = "";
$obj = new SQLFieldListItem($proto59);

$proto3["m_fieldlist"][]=$obj;
						$proto61=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERBIRTHPLACE",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto61["m_sql"] = "MOTHERBIRTHPLACE";
$proto61["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto61["m_expr"]=$obj;
$proto61["m_alias"] = "";
$obj = new SQLFieldListItem($proto61);

$proto3["m_fieldlist"][]=$obj;
						$proto63=array();
			$obj = new SQLField(array(
	"m_strName" => "MotherVillage",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto63["m_sql"] = "MotherVillage";
$proto63["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto63["m_expr"]=$obj;
$proto63["m_alias"] = "";
$obj = new SQLFieldListItem($proto63);

$proto3["m_fieldlist"][]=$obj;
						$proto65=array();
			$obj = new SQLField(array(
	"m_strName" => "MotherLLG",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto65["m_sql"] = "MotherLLG";
$proto65["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto65["m_expr"]=$obj;
$proto65["m_alias"] = "";
$obj = new SQLFieldListItem($proto65);

$proto3["m_fieldlist"][]=$obj;
						$proto67=array();
			$obj = new SQLField(array(
	"m_strName" => "MotherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto67["m_sql"] = "MotherDistrict";
$proto67["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto67["m_expr"]=$obj;
$proto67["m_alias"] = "";
$obj = new SQLFieldListItem($proto67);

$proto3["m_fieldlist"][]=$obj;
						$proto69=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERPROV",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto69["m_sql"] = "MOTHERPROV";
$proto69["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto69["m_expr"]=$obj;
$proto69["m_alias"] = "";
$obj = new SQLFieldListItem($proto69);

$proto3["m_fieldlist"][]=$obj;
						$proto71=array();
			$obj = new SQLField(array(
	"m_strName" => "LastInstitutuonAttended",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto71["m_sql"] = "LastInstitutuonAttended";
$proto71["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto71["m_expr"]=$obj;
$proto71["m_alias"] = "";
$obj = new SQLFieldListItem($proto71);

$proto3["m_fieldlist"][]=$obj;
						$proto73=array();
			$obj = new SQLField(array(
	"m_strName" => "HighestGradeCompleted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto73["m_sql"] = "HighestGradeCompleted";
$proto73["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto73["m_expr"]=$obj;
$proto73["m_alias"] = "";
$obj = new SQLFieldListItem($proto73);

$proto3["m_fieldlist"][]=$obj;
						$proto75=array();
			$obj = new SQLField(array(
	"m_strName" => "YearHighestGradeCompleted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto75["m_sql"] = "YearHighestGradeCompleted";
$proto75["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto75["m_expr"]=$obj;
$proto75["m_alias"] = "";
$obj = new SQLFieldListItem($proto75);

$proto3["m_fieldlist"][]=$obj;
						$proto77=array();
			$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto77["m_sql"] = "TertiaryInstitutionAdmitted";
$proto77["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto77["m_expr"]=$obj;
$proto77["m_alias"] = "";
$obj = new SQLFieldListItem($proto77);

$proto3["m_fieldlist"][]=$obj;
						$proto79=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto79["m_sql"] = "ProgramName";
$proto79["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto79["m_expr"]=$obj;
$proto79["m_alias"] = "";
$obj = new SQLFieldListItem($proto79);

$proto3["m_fieldlist"][]=$obj;
						$proto81=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramCode",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto81["m_sql"] = "ProgramCode";
$proto81["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto81["m_expr"]=$obj;
$proto81["m_alias"] = "";
$obj = new SQLFieldListItem($proto81);

$proto3["m_fieldlist"][]=$obj;
						$proto83=array();
			$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto83["m_sql"] = "NewApplicant";
$proto83["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto83["m_expr"]=$obj;
$proto83["m_alias"] = "";
$obj = new SQLFieldListItem($proto83);

$proto3["m_fieldlist"][]=$obj;
						$proto85=array();
			$obj = new SQLField(array(
	"m_strName" => "Reapply",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto85["m_sql"] = "Reapply";
$proto85["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto85["m_expr"]=$obj;
$proto85["m_alias"] = "";
$obj = new SQLFieldListItem($proto85);

$proto3["m_fieldlist"][]=$obj;
						$proto87=array();
			$obj = new SQLField(array(
	"m_strName" => "EmailAddrssAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto87["m_sql"] = "EmailAddrssAppl";
$proto87["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto87["m_expr"]=$obj;
$proto87["m_alias"] = "";
$obj = new SQLFieldListItem($proto87);

$proto3["m_fieldlist"][]=$obj;
						$proto89=array();
			$obj = new SQLField(array(
	"m_strName" => "MobileNoAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto89["m_sql"] = "MobileNoAppl";
$proto89["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto89["m_expr"]=$obj;
$proto89["m_alias"] = "";
$obj = new SQLFieldListItem($proto89);

$proto3["m_fieldlist"][]=$obj;
						$proto91=array();
			$obj = new SQLField(array(
	"m_strName" => "WitnessName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto91["m_sql"] = "WitnessName";
$proto91["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto91["m_expr"]=$obj;
$proto91["m_alias"] = "";
$obj = new SQLFieldListItem($proto91);

$proto3["m_fieldlist"][]=$obj;
						$proto93=array();
			$obj = new SQLField(array(
	"m_strName" => "WitnessOccupation",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto93["m_sql"] = "WitnessOccupation";
$proto93["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto93["m_expr"]=$obj;
$proto93["m_alias"] = "";
$obj = new SQLFieldListItem($proto93);

$proto3["m_fieldlist"][]=$obj;
						$proto95=array();
			$obj = new SQLField(array(
	"m_strName" => "WitnessAddress",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto95["m_sql"] = "WitnessAddress";
$proto95["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto95["m_expr"]=$obj;
$proto95["m_alias"] = "";
$obj = new SQLFieldListItem($proto95);

$proto3["m_fieldlist"][]=$obj;
						$proto97=array();
			$obj = new SQLField(array(
	"m_strName" => "Documents",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto97["m_sql"] = "Documents";
$proto97["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto97["m_expr"]=$obj;
$proto97["m_alias"] = "";
$obj = new SQLFieldListItem($proto97);

$proto3["m_fieldlist"][]=$obj;
						$proto99=array();
			$obj = new SQLField(array(
	"m_strName" => "1styear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto99["m_sql"] = "`1styear`";
$proto99["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto99["m_expr"]=$obj;
$proto99["m_alias"] = "firstyear";
$obj = new SQLFieldListItem($proto99);

$proto3["m_fieldlist"][]=$obj;
						$proto101=array();
			$obj = new SQLField(array(
	"m_strName" => "acceptletter",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto101["m_sql"] = "acceptletter";
$proto101["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto101["m_expr"]=$obj;
$proto101["m_alias"] = "";
$obj = new SQLFieldListItem($proto101);

$proto3["m_fieldlist"][]=$obj;
						$proto103=array();
			$obj = new SQLField(array(
	"m_strName" => "gradetencert",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto103["m_sql"] = "gradetencert";
$proto103["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto103["m_expr"]=$obj;
$proto103["m_alias"] = "";
$obj = new SQLFieldListItem($proto103);

$proto3["m_fieldlist"][]=$obj;
						$proto105=array();
			$obj = new SQLField(array(
	"m_strName" => "grade12cert",
	"m_strTable" => "applicform",
	"m_srcTableName" => "OnlineApplicationFormSBS"
));

$proto105["m_sql"] = "grade12cert";
$proto105["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto105["m_expr"]=$obj;
$proto105["m_alias"] = "";
$obj = new SQLFieldListItem($proto105);

$proto3["m_fieldlist"][]=$obj;
$proto3["m_fromlist"] = array();
												$proto107=array();
$proto107["m_link"] = "SQLL_MAIN";
			$proto108=array();
$proto108["m_strName"] = "applicform";
$proto108["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto108["m_columns"] = array();
$proto108["m_columns"][] = "MPGID";
$proto108["m_columns"][] = "StudentSchoolID";
$proto108["m_columns"][] = "Surname";
$proto108["m_columns"][] = "FirstName";
$proto108["m_columns"][] = "Photo";
$proto108["m_columns"][] = "Gender";
$proto108["m_columns"][] = "DateofBirth";
$proto108["m_columns"][] = "PlaceofBirth";
$proto108["m_columns"][] = "DistrictOfBirth";
$proto108["m_columns"][] = "ProvinceOfBirth";
$proto108["m_columns"][] = "FatherVillage";
$proto108["m_columns"][] = "FatherLLG";
$proto108["m_columns"][] = "FatherDistrict";
$proto108["m_columns"][] = "FATHERJOB";
$proto108["m_columns"][] = "FATHERSNAME";
$proto108["m_columns"][] = "FATHERSURNAME";
$proto108["m_columns"][] = "FATHERPROV";
$proto108["m_columns"][] = "MOTHERJOB";
$proto108["m_columns"][] = "MOTHERNAME";
$proto108["m_columns"][] = "MOTHERSURNAME";
$proto108["m_columns"][] = "MOTHERNATIONAL";
$proto108["m_columns"][] = "FATHERNATIONAL";
$proto108["m_columns"][] = "FATHERCLAN";
$proto108["m_columns"][] = "MOTHERCLAN";
$proto108["m_columns"][] = "MOTHERRELIGION";
$proto108["m_columns"][] = "FATHERRELIGION";
$proto108["m_columns"][] = "FATHERBIRTHPLACE";
$proto108["m_columns"][] = "MOTHERBIRTHPLACE";
$proto108["m_columns"][] = "MotherVillage";
$proto108["m_columns"][] = "MotherLLG";
$proto108["m_columns"][] = "MotherDistrict";
$proto108["m_columns"][] = "MOTHERPROV";
$proto108["m_columns"][] = "LastInstitutuonAttended";
$proto108["m_columns"][] = "HighestGradeCompleted";
$proto108["m_columns"][] = "YearHighestGradeCompleted";
$proto108["m_columns"][] = "TertiaryInstitutionAdmitted";
$proto108["m_columns"][] = "ProgramName";
$proto108["m_columns"][] = "ProgramCode";
$proto108["m_columns"][] = "WitnessName";
$proto108["m_columns"][] = "WitnessOccupation";
$proto108["m_columns"][] = "WitnessAddress";
$proto108["m_columns"][] = "1styear";
$proto108["m_columns"][] = "1styearTesas";
$proto108["m_columns"][] = "1styearFee";
$proto108["m_columns"][] = "Paid1stYearFee";
$proto108["m_columns"][] = "Repeat1stYear";
$proto108["m_columns"][] = "Repeat1stTESAS";
$proto108["m_columns"][] = "Repeatd1stYearFee";
$proto108["m_columns"][] = "Paid1stYrRepeatFee";
$proto108["m_columns"][] = "Passd1stYear";
$proto108["m_columns"][] = "sem1year1";
$proto108["m_columns"][] = "Year2nd";
$proto108["m_columns"][] = "TESAS2ndYear";
$proto108["m_columns"][] = "Fee2ndYear";
$proto108["m_columns"][] = "Paid2ndYearFee";
$proto108["m_columns"][] = "Repeated2ndYear";
$proto108["m_columns"][] = "Repeat2ndYrTESAS";
$proto108["m_columns"][] = "Repeat2ndYearFee";
$proto108["m_columns"][] = "Paid2ndYrRepeatFee";
$proto108["m_columns"][] = "Passd2ndYear";
$proto108["m_columns"][] = "sem1year2";
$proto108["m_columns"][] = "Year3rd";
$proto108["m_columns"][] = "TESAS3rdYear";
$proto108["m_columns"][] = "Fee3rdYear";
$proto108["m_columns"][] = "Paid3rdYrFee";
$proto108["m_columns"][] = "Repeatd3rdYear";
$proto108["m_columns"][] = "Repeat3rdYrTESAS";
$proto108["m_columns"][] = "Repeatd3rdYrFee";
$proto108["m_columns"][] = "Paid3rdYrRepeatFee";
$proto108["m_columns"][] = "Passd3rdYear";
$proto108["m_columns"][] = "sem1year3";
$proto108["m_columns"][] = "Year4th";
$proto108["m_columns"][] = "TESAS4thYear";
$proto108["m_columns"][] = "Fee4thYear";
$proto108["m_columns"][] = "Paid4thYearFee";
$proto108["m_columns"][] = "Repeated4thYear";
$proto108["m_columns"][] = "Repeath4thYrTESAS";
$proto108["m_columns"][] = "Repeat4thYrFee";
$proto108["m_columns"][] = "Paid4thYrRepeatFee";
$proto108["m_columns"][] = "Passd4thYear";
$proto108["m_columns"][] = "sem1year4";
$proto108["m_columns"][] = "Year5th";
$proto108["m_columns"][] = "TESAS5thYear";
$proto108["m_columns"][] = "Fee5thYear";
$proto108["m_columns"][] = "Paid5thYearFee";
$proto108["m_columns"][] = "Repeat5thYear";
$proto108["m_columns"][] = "Repeat5thYrTESAS";
$proto108["m_columns"][] = "Repeat5thYrFEE";
$proto108["m_columns"][] = "Paid5thYrRepeatFee";
$proto108["m_columns"][] = "Passdd5thYr";
$proto108["m_columns"][] = "sem1year5";
$proto108["m_columns"][] = "Graduated";
$proto108["m_columns"][] = "YearGraduated";
$proto108["m_columns"][] = "PostingtoSchool";
$proto108["m_columns"][] = "PostingsLLG";
$proto108["m_columns"][] = "ScholarshipType";
$proto108["m_columns"][] = "Comments";
$proto108["m_columns"][] = "NewApplicant";
$proto108["m_columns"][] = "Judge1Comment";
$proto108["m_columns"][] = "Reapply";
$proto108["m_columns"][] = "EmailAddrssAppl";
$proto108["m_columns"][] = "MobileNoAppl";
$proto108["m_columns"][] = "GPA";
$proto108["m_columns"][] = "approved1";
$proto108["m_columns"][] = "approved2";
$proto108["m_columns"][] = "approved3";
$proto108["m_columns"][] = "Judge2Comment";
$proto108["m_columns"][] = "Judge3Comment";
$proto108["m_columns"][] = "JudgeComment";
$proto108["m_columns"][] = "Lat";
$proto108["m_columns"][] = "Lng";
$proto108["m_columns"][] = "Documents";
$proto108["m_columns"][] = "judge1id";
$proto108["m_columns"][] = "judee2id";
$proto108["m_columns"][] = "judge3id";
$proto108["m_columns"][] = "username";
$proto108["m_columns"][] = "transcripts";
$proto108["m_columns"][] = "acceptletter";
$proto108["m_columns"][] = "gradetencert";
$proto108["m_columns"][] = "grade12cert";
$proto108["m_columns"][] = "natid";
$proto108["m_columns"][] = "sem2year1";
$proto108["m_columns"][] = "sem2year2";
$proto108["m_columns"][] = "sem2year3";
$proto108["m_columns"][] = "sem2year4";
$proto108["m_columns"][] = "sem2year5";
$proto108["m_columns"][] = "y1housingtype";
$proto108["m_columns"][] = "y2housingtype";
$proto108["m_columns"][] = "y3housingtype";
$proto108["m_columns"][] = "y4housingtype";
$proto108["m_columns"][] = "y5housingtype";
$proto108["m_columns"][] = "comment1";
$proto108["m_columns"][] = "comment2";
$proto108["m_columns"][] = "comment3";
$proto108["m_columns"][] = "comment4";
$proto108["m_columns"][] = "comment5";
$proto108["m_columns"][] = "assessed";
$proto108["m_columns"][] = "assessed1";
$proto108["m_columns"][] = "assessed2";
$proto108["m_columns"][] = "assessed3";
$proto108["m_columns"][] = "assessed4";
$proto108["m_columns"][] = "assessed5";
$proto108["m_columns"][] = "parentsnowliving";
$proto108["m_columns"][] = "active";
$proto108["m_columns"][] = "reset_token";
$proto108["m_columns"][] = "reset_date";
$obj = new SQLTable($proto108);

$proto107["m_table"] = $obj;
$proto107["m_sql"] = "applicform";
$proto107["m_alias"] = "";
$proto107["m_srcTableName"] = "OnlineApplicationFormSBS";
$proto109=array();
$proto109["m_sql"] = "";
$proto109["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto109["m_column"]=$obj;
$proto109["m_contained"] = array();
$proto109["m_strCase"] = "";
$proto109["m_havingmode"] = false;
$proto109["m_inBrackets"] = false;
$proto109["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto109);

$proto107["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto107);

$proto3["m_fromlist"][]=$obj;
$proto3["m_groupby"] = array();
$proto3["m_orderby"] = array();
$proto3["m_srcTableName"]="OnlineApplicationFormSBS";		
$obj = new SQLQuery($proto3);

	return $obj;
}
$queryData_OnlineApplicationFormSBS = createSqlQuery_OnlineApplicationFormSBS();


	
		;

																																																	

$tdataOnlineApplicationFormSBS[".sqlquery"] = $queryData_OnlineApplicationFormSBS;

$tableEvents["OnlineApplicationFormSBS"] = new eventsBase;
$tdataOnlineApplicationFormSBS[".hasEvents"] = false;

?>