Gen2
5 active apprenticeships
Preparation guide not available yet
We have not published a preparation guide for Gen2 yet. You can request one while you browse their current opportunities below.
Need personal help with your search? Paid plan members can message our support team directly.
Teaching Assistant & Early Years Apprenticeships - General Application
var ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocationsonClientChange = null; var ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocationsonClientBlur = null; function VacV_AllLocationsOpenAddressCreate() { var picker = ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocationsgetJSPicker(); OpenBox(ServerPath + 'admin/Addresses/EditAddress.aspx?AddressID=0&setPickerValue=true&ProgramFieldId=' + picker._programField.ID, { type: 'iframe', ITSTemplate: 'medium' }, { afterClose: VacV_AllLocationsSetPickerValue.bind(picker) }); } function VacV_AllLocationsSetPickerValue(val) { if (val && val.Address) { this.SetValue(val.Address.id, val.Address.label, val.Address.displayLabel); this.DropDownList.HideItems(); } } // 0); return; } function VacV_AllLocationsHasOneChecked_CheckBoxList(sender, args) { var myID = 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocations'; var myInps = $Eploy('input[type="checkbox"][id^="' + myID + '"]:checked'); args.IsValid = (myInps && myInps.length > 0); var firstCheckBox = $Eploy('input[type="checkbox"][id^="' + myID +'"]')[0]; if (typeof firstCheckBox !== "undefined") sender.controltovalidate = firstCheckBox.id; return; } function VacV_AllLocationsCheckSelectionCount(sender, args) { var minCount = 0; var maxCount = 0; args.IsValid = true; return; // Assign the correct validatorControlID on the custom validator. var validatorControlID = VacV_AllLocationsGetCustomValidatorControlToValidateID(43); if (validatorControlID) sender.controltovalidate = validatorControlID; var isRequired = false; if(!isRequired && selectionCount==0) args.IsValid = true; else if(isRequired && selectionCount==0) args.IsValid = false; else if(minCount > 0 && selectionCount 0 && selectionCount > maxCount) args.IsValid = false; else args.IsValid = true; return; } // Find the input element ID to set on the customValidator.controlToValidate. // This handles all the renderModes we currently use on OneToManyPicker. function VacV_AllLocationsGetCustomValidatorControlToValidateID(displayMode) { let controlToValidateID = ""; switch (displayMode) { case 3: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocations_btnAdd"; break; case 4: case 45: case 46: var firstCheckBox = $Eploy('input[type="checkbox"][id^="ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocations"]')[0]; if (typeof firstCheckBox !== "undefined") controlToValidateID = firstCheckBox.id; break; case 26: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocations_btnddroAdd"; break; default: let container = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocations_pnlMultiSelectFilter'); if (container && container.length > 0) { let input = container.find("[data-dropdownlist-input]"); if (input && input.length > 0) { controlToValidateID = input[0].id; } } break; } return controlToValidateID; } function triggerValidator() { let validator = $Eploy('#'+ 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocations_rqvOneToMany'); if (validator) { ValidatorValidate(validator[0]); if ((typeof (validator[0].enabled) == "undefined" || validator[0].enabled != false) && validator[0].isvalid) ClearValidatorCallouts(validator[0]); } } $Eploy(document).ready(function () { VacV_AllLocations_OTMShowHideButton("render"); }); function VacV_AllLocations_ToggleOTMButton_Click() { VacV_AllLocations_OTMShowHideButton("click"); } function VacV_AllLocations_OTMShowHideButton(callFrom) { var content = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocations_pnlReadonly'); var toggleOTMButton = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl00_fcVacancyDetailsGrid_VacV_AllLocations_toggleOTMButton'); var height = content.prop('scrollHeight'); var runtimeheight = content.outerHeight(); var collapseHeight = 198; //This is the height estimate for 10 rows in read-only we can adjust the height accordingly if (content.length > 0 && toggleOTMButton.length > 0) { if (height > collapseHeight) { switch (callFrom) { case "click": this.VacV_AllLocations_HideOTMOptions = !this.VacV_AllLocations_HideOTMOptions; break; case "render": this.VacV_AllLocations_HideOTMOptions = true; break; } toggleOTMButton.removeClass("hidden"); } else if (height Workington (West Cumbria), Carlisle (North Cumbria), Furness (South Cumbria)
Teaching Assistant & Early Years Apprenticeships - General Application
var ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocationsonClientChange = null; var ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocationsonClientBlur = null; function VacV_AllLocationsOpenAddressCreate() { var picker = ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocationsgetJSPicker(); OpenBox(ServerPath + 'admin/Addresses/EditAddress.aspx?AddressID=0&setPickerValue=true&ProgramFieldId=' + picker._programField.ID, { type: 'iframe', ITSTemplate: 'medium' }, { afterClose: VacV_AllLocationsSetPickerValue.bind(picker) }); } function VacV_AllLocationsSetPickerValue(val) { if (val && val.Address) { this.SetValue(val.Address.id, val.Address.label, val.Address.displayLabel); this.DropDownList.HideItems(); } } // 0); return; } function VacV_AllLocationsHasOneChecked_CheckBoxList(sender, args) { var myID = 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocations'; var myInps = $Eploy('input[type="checkbox"][id^="' + myID + '"]:checked'); args.IsValid = (myInps && myInps.length > 0); var firstCheckBox = $Eploy('input[type="checkbox"][id^="' + myID +'"]')[0]; if (typeof firstCheckBox !== "undefined") sender.controltovalidate = firstCheckBox.id; return; } function VacV_AllLocationsCheckSelectionCount(sender, args) { var minCount = 0; var maxCount = 0; args.IsValid = true; return; // Assign the correct validatorControlID on the custom validator. var validatorControlID = VacV_AllLocationsGetCustomValidatorControlToValidateID(43); if (validatorControlID) sender.controltovalidate = validatorControlID; var isRequired = false; if(!isRequired && selectionCount==0) args.IsValid = true; else if(isRequired && selectionCount==0) args.IsValid = false; else if(minCount > 0 && selectionCount 0 && selectionCount > maxCount) args.IsValid = false; else args.IsValid = true; return; } // Find the input element ID to set on the customValidator.controlToValidate. // This handles all the renderModes we currently use on OneToManyPicker. function VacV_AllLocationsGetCustomValidatorControlToValidateID(displayMode) { let controlToValidateID = ""; switch (displayMode) { case 3: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocations_btnAdd"; break; case 4: case 45: case 46: var firstCheckBox = $Eploy('input[type="checkbox"][id^="ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocations"]')[0]; if (typeof firstCheckBox !== "undefined") controlToValidateID = firstCheckBox.id; break; case 26: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocations_btnddroAdd"; break; default: let container = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocations_pnlMultiSelectFilter'); if (container && container.length > 0) { let input = container.find("[data-dropdownlist-input]"); if (input && input.length > 0) { controlToValidateID = input[0].id; } } break; } return controlToValidateID; } function triggerValidator() { let validator = $Eploy('#'+ 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocations_rqvOneToMany'); if (validator) { ValidatorValidate(validator[0]); if ((typeof (validator[0].enabled) == "undefined" || validator[0].enabled != false) && validator[0].isvalid) ClearValidatorCallouts(validator[0]); } } $Eploy(document).ready(function () { VacV_AllLocations_OTMShowHideButton("render"); }); function VacV_AllLocations_ToggleOTMButton_Click() { VacV_AllLocations_OTMShowHideButton("click"); } function VacV_AllLocations_OTMShowHideButton(callFrom) { var content = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocations_pnlReadonly'); var toggleOTMButton = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl04_fcVacancyDetailsGrid_VacV_AllLocations_toggleOTMButton'); var height = content.prop('scrollHeight'); var runtimeheight = content.outerHeight(); var collapseHeight = 198; //This is the height estimate for 10 rows in read-only we can adjust the height accordingly if (content.length > 0 && toggleOTMButton.length > 0) { if (height > collapseHeight) { switch (callFrom) { case "click": this.VacV_AllLocations_HideOTMOptions = !this.VacV_AllLocations_HideOTMOptions; break; case "render": this.VacV_AllLocations_HideOTMOptions = true; break; } toggleOTMButton.removeClass("hidden"); } else if (height Workington (West Cumbria), Carlisle (North Cumbria), Furness (South Cumbria)
Engineering Apprenticeships - General Application
var ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocationsonClientChange = null; var ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocationsonClientBlur = null; function VacV_AllLocationsOpenAddressCreate() { var picker = ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocationsgetJSPicker(); OpenBox(ServerPath + 'admin/Addresses/EditAddress.aspx?AddressID=0&setPickerValue=true&ProgramFieldId=' + picker._programField.ID, { type: 'iframe', ITSTemplate: 'medium' }, { afterClose: VacV_AllLocationsSetPickerValue.bind(picker) }); } function VacV_AllLocationsSetPickerValue(val) { if (val && val.Address) { this.SetValue(val.Address.id, val.Address.label, val.Address.displayLabel); this.DropDownList.HideItems(); } } // 0); return; } function VacV_AllLocationsHasOneChecked_CheckBoxList(sender, args) { var myID = 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocations'; var myInps = $Eploy('input[type="checkbox"][id^="' + myID + '"]:checked'); args.IsValid = (myInps && myInps.length > 0); var firstCheckBox = $Eploy('input[type="checkbox"][id^="' + myID +'"]')[0]; if (typeof firstCheckBox !== "undefined") sender.controltovalidate = firstCheckBox.id; return; } function VacV_AllLocationsCheckSelectionCount(sender, args) { var minCount = 0; var maxCount = 0; args.IsValid = true; return; // Assign the correct validatorControlID on the custom validator. var validatorControlID = VacV_AllLocationsGetCustomValidatorControlToValidateID(43); if (validatorControlID) sender.controltovalidate = validatorControlID; var isRequired = false; if(!isRequired && selectionCount==0) args.IsValid = true; else if(isRequired && selectionCount==0) args.IsValid = false; else if(minCount > 0 && selectionCount 0 && selectionCount > maxCount) args.IsValid = false; else args.IsValid = true; return; } // Find the input element ID to set on the customValidator.controlToValidate. // This handles all the renderModes we currently use on OneToManyPicker. function VacV_AllLocationsGetCustomValidatorControlToValidateID(displayMode) { let controlToValidateID = ""; switch (displayMode) { case 3: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocations_btnAdd"; break; case 4: case 45: case 46: var firstCheckBox = $Eploy('input[type="checkbox"][id^="ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocations"]')[0]; if (typeof firstCheckBox !== "undefined") controlToValidateID = firstCheckBox.id; break; case 26: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocations_btnddroAdd"; break; default: let container = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocations_pnlMultiSelectFilter'); if (container && container.length > 0) { let input = container.find("[data-dropdownlist-input]"); if (input && input.length > 0) { controlToValidateID = input[0].id; } } break; } return controlToValidateID; } function triggerValidator() { let validator = $Eploy('#'+ 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocations_rqvOneToMany'); if (validator) { ValidatorValidate(validator[0]); if ((typeof (validator[0].enabled) == "undefined" || validator[0].enabled != false) && validator[0].isvalid) ClearValidatorCallouts(validator[0]); } } $Eploy(document).ready(function () { VacV_AllLocations_OTMShowHideButton("render"); }); function VacV_AllLocations_ToggleOTMButton_Click() { VacV_AllLocations_OTMShowHideButton("click"); } function VacV_AllLocations_OTMShowHideButton(callFrom) { var content = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocations_pnlReadonly'); var toggleOTMButton = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl01_fcVacancyDetailsGrid_VacV_AllLocations_toggleOTMButton'); var height = content.prop('scrollHeight'); var runtimeheight = content.outerHeight(); var collapseHeight = 198; //This is the height estimate for 10 rows in read-only we can adjust the height accordingly if (content.length > 0 && toggleOTMButton.length > 0) { if (height > collapseHeight) { switch (callFrom) { case "click": this.VacV_AllLocations_HideOTMOptions = !this.VacV_AllLocations_HideOTMOptions; break; case "render": this.VacV_AllLocations_HideOTMOptions = true; break; } toggleOTMButton.removeClass("hidden"); } else if (height Workington (West Cumbria), Carlisle (North Cumbria), Furness (South Cumbria)
Engineering Apprenticeships - General Application
var ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocationsonClientChange = null; var ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocationsonClientBlur = null; function VacV_AllLocationsOpenAddressCreate() { var picker = ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocationsgetJSPicker(); OpenBox(ServerPath + 'admin/Addresses/EditAddress.aspx?AddressID=0&setPickerValue=true&ProgramFieldId=' + picker._programField.ID, { type: 'iframe', ITSTemplate: 'medium' }, { afterClose: VacV_AllLocationsSetPickerValue.bind(picker) }); } function VacV_AllLocationsSetPickerValue(val) { if (val && val.Address) { this.SetValue(val.Address.id, val.Address.label, val.Address.displayLabel); this.DropDownList.HideItems(); } } // 0); return; } function VacV_AllLocationsHasOneChecked_CheckBoxList(sender, args) { var myID = 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocations'; var myInps = $Eploy('input[type="checkbox"][id^="' + myID + '"]:checked'); args.IsValid = (myInps && myInps.length > 0); var firstCheckBox = $Eploy('input[type="checkbox"][id^="' + myID +'"]')[0]; if (typeof firstCheckBox !== "undefined") sender.controltovalidate = firstCheckBox.id; return; } function VacV_AllLocationsCheckSelectionCount(sender, args) { var minCount = 0; var maxCount = 0; args.IsValid = true; return; // Assign the correct validatorControlID on the custom validator. var validatorControlID = VacV_AllLocationsGetCustomValidatorControlToValidateID(43); if (validatorControlID) sender.controltovalidate = validatorControlID; var isRequired = false; if(!isRequired && selectionCount==0) args.IsValid = true; else if(isRequired && selectionCount==0) args.IsValid = false; else if(minCount > 0 && selectionCount 0 && selectionCount > maxCount) args.IsValid = false; else args.IsValid = true; return; } // Find the input element ID to set on the customValidator.controlToValidate. // This handles all the renderModes we currently use on OneToManyPicker. function VacV_AllLocationsGetCustomValidatorControlToValidateID(displayMode) { let controlToValidateID = ""; switch (displayMode) { case 3: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocations_btnAdd"; break; case 4: case 45: case 46: var firstCheckBox = $Eploy('input[type="checkbox"][id^="ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocations"]')[0]; if (typeof firstCheckBox !== "undefined") controlToValidateID = firstCheckBox.id; break; case 26: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocations_btnddroAdd"; break; default: let container = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocations_pnlMultiSelectFilter'); if (container && container.length > 0) { let input = container.find("[data-dropdownlist-input]"); if (input && input.length > 0) { controlToValidateID = input[0].id; } } break; } return controlToValidateID; } function triggerValidator() { let validator = $Eploy('#'+ 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocations_rqvOneToMany'); if (validator) { ValidatorValidate(validator[0]); if ((typeof (validator[0].enabled) == "undefined" || validator[0].enabled != false) && validator[0].isvalid) ClearValidatorCallouts(validator[0]); } } $Eploy(document).ready(function () { VacV_AllLocations_OTMShowHideButton("render"); }); function VacV_AllLocations_ToggleOTMButton_Click() { VacV_AllLocations_OTMShowHideButton("click"); } function VacV_AllLocations_OTMShowHideButton(callFrom) { var content = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocations_pnlReadonly'); var toggleOTMButton = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl03_fcVacancyDetailsGrid_VacV_AllLocations_toggleOTMButton'); var height = content.prop('scrollHeight'); var runtimeheight = content.outerHeight(); var collapseHeight = 198; //This is the height estimate for 10 rows in read-only we can adjust the height accordingly if (content.length > 0 && toggleOTMButton.length > 0) { if (height > collapseHeight) { switch (callFrom) { case "click": this.VacV_AllLocations_HideOTMOptions = !this.VacV_AllLocations_HideOTMOptions; break; case "render": this.VacV_AllLocations_HideOTMOptions = true; break; } toggleOTMButton.removeClass("hidden"); } else if (height Workington (West Cumbria), Carlisle (North Cumbria), Furness (South Cumbria)
Business Administrator Apprenticeships - General Application
var ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocationsonClientChange = null; var ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocationsonClientBlur = null; function VacV_AllLocationsOpenAddressCreate() { var picker = ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocationsgetJSPicker(); OpenBox(ServerPath + 'admin/Addresses/EditAddress.aspx?AddressID=0&setPickerValue=true&ProgramFieldId=' + picker._programField.ID, { type: 'iframe', ITSTemplate: 'medium' }, { afterClose: VacV_AllLocationsSetPickerValue.bind(picker) }); } function VacV_AllLocationsSetPickerValue(val) { if (val && val.Address) { this.SetValue(val.Address.id, val.Address.label, val.Address.displayLabel); this.DropDownList.HideItems(); } } // 0); return; } function VacV_AllLocationsHasOneChecked_CheckBoxList(sender, args) { var myID = 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocations'; var myInps = $Eploy('input[type="checkbox"][id^="' + myID + '"]:checked'); args.IsValid = (myInps && myInps.length > 0); var firstCheckBox = $Eploy('input[type="checkbox"][id^="' + myID +'"]')[0]; if (typeof firstCheckBox !== "undefined") sender.controltovalidate = firstCheckBox.id; return; } function VacV_AllLocationsCheckSelectionCount(sender, args) { var minCount = 0; var maxCount = 0; args.IsValid = true; return; // Assign the correct validatorControlID on the custom validator. var validatorControlID = VacV_AllLocationsGetCustomValidatorControlToValidateID(43); if (validatorControlID) sender.controltovalidate = validatorControlID; var isRequired = false; if(!isRequired && selectionCount==0) args.IsValid = true; else if(isRequired && selectionCount==0) args.IsValid = false; else if(minCount > 0 && selectionCount 0 && selectionCount > maxCount) args.IsValid = false; else args.IsValid = true; return; } // Find the input element ID to set on the customValidator.controlToValidate. // This handles all the renderModes we currently use on OneToManyPicker. function VacV_AllLocationsGetCustomValidatorControlToValidateID(displayMode) { let controlToValidateID = ""; switch (displayMode) { case 3: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocations_btnAdd"; break; case 4: case 45: case 46: var firstCheckBox = $Eploy('input[type="checkbox"][id^="ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocations"]')[0]; if (typeof firstCheckBox !== "undefined") controlToValidateID = firstCheckBox.id; break; case 26: controlToValidateID = "ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocations_btnddroAdd"; break; default: let container = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocations_pnlMultiSelectFilter'); if (container && container.length > 0) { let input = container.find("[data-dropdownlist-input]"); if (input && input.length > 0) { controlToValidateID = input[0].id; } } break; } return controlToValidateID; } function triggerValidator() { let validator = $Eploy('#'+ 'ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocations_rqvOneToMany'); if (validator) { ValidatorValidate(validator[0]); if ((typeof (validator[0].enabled) == "undefined" || validator[0].enabled != false) && validator[0].isvalid) ClearValidatorCallouts(validator[0]); } } $Eploy(document).ready(function () { VacV_AllLocations_OTMShowHideButton("render"); }); function VacV_AllLocations_ToggleOTMButton_Click() { VacV_AllLocations_OTMShowHideButton("click"); } function VacV_AllLocations_OTMShowHideButton(callFrom) { var content = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocations_pnlReadonly'); var toggleOTMButton = $Eploy('#ctl00_ContentContainer_ctl01_VacancyGridView_ctl02_fcVacancyDetailsGrid_VacV_AllLocations_toggleOTMButton'); var height = content.prop('scrollHeight'); var runtimeheight = content.outerHeight(); var collapseHeight = 198; //This is the height estimate for 10 rows in read-only we can adjust the height accordingly if (content.length > 0 && toggleOTMButton.length > 0) { if (height > collapseHeight) { switch (callFrom) { case "click": this.VacV_AllLocations_HideOTMOptions = !this.VacV_AllLocations_HideOTMOptions; break; case "render": this.VacV_AllLocations_HideOTMOptions = true; break; } toggleOTMButton.removeClass("hidden"); } else if (height Workington (West Cumbria), Carlisle (North Cumbria), Furness (South Cumbria)