Guest Header
ABLENET, INC.
HeaderTfalseGuest Access LoginContinueJfalseContinue as GuestLoginTitleTfalse0LoginTitleGuestTfalse0Guest Access Log InLoginTitleARTfalse0LoginHeaderTfalse0LoginHeaderGuestTfalse0Guest HeaderLoginHeaderARTfalse0LoginIDSfalse0Always RequiredLoginIDGuestSfalse0Always RequiredGuest Access Login IDLoginIDARSfalse0Always RequiredPasswordSfalse0Always RequiredPasswordForgotPasswordTfalse0ChangePasswordTfalse0RegisterTfalse0ChangePasswordTitleTfalse0Change Password TitleOldPasswordSfalse0Always RequiredOld PasswordNewPasswordSfalse0Always RequiredNew PasswordConfirmPasswordSfalse0Always RequiredConfirm PasswordExpireMessageTfalse0Password ExpireForgotPasswordTitleTfalse0Forgot Password TitleForgotMessageTfalse0Your Password is sent by E-Mail to youCompanyNameSfalse0CompanyNameGuestSfalse0ABLENET, INC.CompanyNameARSfalse0B2CDirectLoginCfalse0B2CSelfInviteCfalse0B2CRemoveLinkCfalse0ShippingHeaderHeaderTfalse0Intelligent Reverse LogisticsHeaderAdminstrationLinkSectionAfalse0AdministrationHeaderAdminTransactionsLinkSectionAfalse0TransactionsHeaderAdminVoidShipmentsLinkZfalse0Void ShipmentsHeaderAdminLabelRetrievalZfalse0Label RetrievalHeaderAdminPackageHistoryLinkZfalse0Package HistoryHeaderAdminManageLinkSectionAfalse0ManageHeaderAdminUsersLinkZfalse0UsersHeaderAdminAddressesLinkZfalse0AddressesHeaderAdminAccountsLinkZfalse0AccountsHeaderAdminAnnouncementsLinkZfalse0AnnouncementHeaderAdminImportExportLinkSectionAfalse0Import/ExportHeaderAdminImportLinkZfalse0ImportHeaderAdminExportLinkZfalse0ExportHeaderAdminExportConfigLinkZfalse0Export ConfigHeaderAdminShipSettingsSectionLinkAfalse0Ship SettingsHeaderAdminCompanyKeysLinkZfalse0Company KeysHeaderAdminReferencesLinkZfalse0ReferencesHeaderAdminProductsLinkZfalse0ProductsHeaderAdminWeightsLinkZfalse0WeightsHeaderAdminThermalPrintSetupLinkZfalse0Thermal Printer SetupHeaderHistoryLinkZfalse0HistoryHeaderShippingZfalse0ShippingUserMenuChangePasswordLinkZfalse0Change PasswordUserMenuEnvironmentLinkZfalse0EnvironmentUserMenuLogOffLinkZfalse0Log OffUserMenuDiagnosticsLinkZfalse0DiagnosticsUserMenuCompanyListLinkZfalse0Company ListSupportMenuContactLinkZfalse0Contact PSI SupportHeaderAdminBranchesLinkZfalse0BranchesHeaderAdminOrdersLinkSectionZfalse0OrdersHeaderAdminOrdersLinkZfalse0OrdersHeaderAdminOrderReasonsLInkZfalse0ReasonsFooterCopyrightAfalse0Copyright © 2011 - 2025, United Parcel Service of America, Inc. All rights reserved.FooterWebSiteTermsLinkZfalse0Web Site Terms of UseFooterPolicyLinkZfalse0Privacy PolicyFooterCookieDisclosureLinkZfalse0Cookie DisclosureFooterTermsConditionsLinkZfalse0Service Terms and ConditionsSFTitleTfalse0Return FromShipmentFormHeaderTfalse0Shipment InformationSFAddressBookKfalse0SFNameSfalse0RequiredCompany NameSFAttnSfalse0SFAddr1Sfalse0RequiredAddress Line 1SFAddr2Sfalse0SFAddr3Sfalse0SFCitySfalse0RequiredCitySFStateXfalse0RequiredStateSFZipSfalse0RequiredPostal CodeSFPhoneSfalse0.SFEmailSfalse0RequiredE-Mail AddressSFQVLabelNotCfalse0SFQVInTranNotCfalse0SFQVExcNotCfalse0SFQVDelNotCfalse0SFCust01Xfalse0SFCust02Xfalse0SFCust03Xfalse0SFCust04Xfalse0SFCust05Xfalse0SFCust06Xfalse0SFCust07Xfalse0SFCust08Xfalse0SFCust09Xfalse0SFCust10Xfalse0SFManualValidateXfalse0STTitleTfalse0Return ToSTAddrBookKfalse0Address Book923918537STBranchKfalse0STNameSfalse0RequiredCompany NameSTAttnSfalse0STAddr1Sfalse0RequiredAddress Line 1STAddr2Sfalse0STAddr3Sfalse0STCitySfalse0RequiredCitySTStateXfalse0RequiredStateSTZipSfalse0RequiredPostal CodeSTPhoneSfalse0.STEmailSfalse0STAddEmail1Sfalse0STAddEmail2Sfalse0STAddEmail3Sfalse0STQVLabelNotCfalse0STQVInTranNotCfalse0STQVExcNotCfalse0STQVDelNotCfalse0STResidentialCfalse0STCust01Xfalse0STCust02Xfalse0STCust03Xfalse0STCust04Xfalse0STCust05Xfalse0STCust06Xfalse0STCust07Xfalse0STCust08Xfalse0STCust09Xfalse0STCust10Xfalse0STManualValidateXfalse0STLocationIDSfalse0ShipTitleTfalse0ShipmentDescriptionXfalse0EXPCarbonNeutralCfalse0SatDeliveryCfalse0AdultSignatureCfalse0PrePaidAccountKfalse0ThirdPartyAccountKfalse0AdvancedPaymentOptionsTfalse0DutyVATPrePaidAccountKfalse0DutyVATThirdPartyAccountKfalse0SplitDutyVATCfalse0AreGoodsNotInFreeCirculationCfalse0InvoiceCfalse0International Special CommoditiesQfalse0UploadDocumentsCfalse0UseDifferentSoldToCfalse0DocOnlyCfalse0MonValueMfalse0PackTitleTfalse0Package(s)PackageHeaderTfalse0PackageNumPkgsNfalse01|20|Number of Packages must be between 1 and 20|WeightNfalse0LengthNfalse0HeightNfalse0WidthNfalse0InsuredValMfalse0Proactive ResponseCfalse0DryIceCfalse0DryIceWeightNfalse0DataTitleTfalse0Check01Cfalse0Check02Cfalse0CommentSfalse0Ref01Rfalse0RequiredOrder NumberRef02Rfalse0EXPRef03Rfalse0Ref04Rfalse0Ref05Rfalse0Ref06Rfalse0Ref07Rfalse0Ref08Rfalse0Ref09Rfalse0Ref10Rfalse0PackageAddBtnJfalse0AddPackageRemoveBtnJfalse0RemovePackageSelectTxtAfalse0PackagePaymentMethodPfalse0RequiredBill pickup charges to:MYUPSCCHolderNameSfalse0RequiredCredit Card Holder NameCardNumberSfalse0RequiredCredit Card NumberSecurityCodeSfalse0RequiredSecurity CodeExpirationMonthSfalse0RequiredExpiration MonthExpirationYearSfalse0RequiredExpiration YearCCAddressLine1Sfalse0RequiredAddress Line 1CCAddressLine2Sfalse0Address Line 2CCAddressLine3Sfalse0Address Line 3CCCitySfalse0RequiredCityCCStateXfalse0RequiredStateCCPostalcodeSfalse0RequiredPostal codePackageIdSfalse0CostCenterSfalse0OrderNumberKfalse0OrderItemSkuKfalse0ShipProcessButtonTfalse0Process ShipmentShipClearButtonTfalse0ClearShipHistoryButtonTfalse0Package HistoryShipRateButtonTfalse0RateShipBackButtonTfalse0BackShipAddItemsButtonTfalse0Add ItemsCancelButtonTfalse0CancelPickupLinkTfalse0Create PickupCreatePickupCfalse0PickupTitleTfalse0Pickup InformationPickupDateHfalse0Pickup Date2026-04-17PickupEarliestTimeIfalse0Earliest Pickup Time06:10PickupLatestTimeIfalse0Latest Pickup Time06:10PickupContactNameSfalse0Contact NamePickupPhoneXfalse0Phone NumberPickupRoomXfalse0Room NumberPickupFloorSfalse0Floor NumberPickupInstructionsSfalse0InstructionsPickupPointXfalse0PickupTomorrowCfalse0PurchaseOrderSfalse0RequiredPurchase Order NumberCommentsSfalse0CommentsCommoditiesSfalse0CommoditiesAutoFinishCfalse0InvoiceTitleTfalse0Commercial InvoiceAdditionalDocumentCfalse0SignatureWfalse0ShowInvoiceCfalse0Show Invoice (Override Paperless)ProductTitleTfalse0Invoice ItemsProductPartNumberKfalse0RequiredPart NumberProductDescriptionXfalse0RequiredDescriptionProductDescSecondaryXfalse0Description SecondaryProductDescOtherXfalse0Description OtherProductHarmCodeXfalse0Harmonized CodeProductPriceMfalse0RequiredPriceProductCountNfalse0RequiredCountProductCustom01Xfalse0ProductCustom02Xfalse0ProductCustom03Xfalse0ProductCustom04Xfalse0ProductCustom05Xfalse0ProductCustom06Xfalse0ProductCustom07Xfalse0ProductCustom08Xfalse0ProductCustom09Xfalse0ProductCustom10Xfalse0InvoiceHeaderTfalse0Commercial InvoiceInvoiceSubHeaderAfalse0Create International InvoiceInvoiceDetailsTxtAfalse0Invoice DetailsInvoiceLineHeaderTxtAfalse0LineInvoiceTotalHeaderTxtAfalse0TotalInvoiceItemAddBtnJfalse0AddInvoiceItemEditBtnJfalse0EditInvoiceItemDeleteBtnJfalse0DeleteInvoiceItemFinishBtnJfalse0FinishInvoiceItemSearchBtnJfalse0SearchInvoiceItemSaveBtnJfalse0SaveInvoiceItemCancelBtnJfalse0CancelInvoiceItemClearBtnJfalse0ClearInvoiceItemFilterBtnJfalse0FilterInvoiceProductSelectBtnJfalse0SelectInvoiceProductSearchTitleJfalse0Search Results (Max of 50)InvoiceProductSearchRequiredInfoJfalse0The id field is required.DocumentHeaderTfalse0DocumentsLoginCSSGuestSfalse0LoginCSSARSfalse0DocumentINoPackageFromEmailAfalse0This link has expired. Please contact the company that sent you the return email.DocumentNoPackageNotFromEmailAfalse0There are no labels to displayDocumentFoldHereAfalse0FOLD HEREPrintPageSuccessHeaderAfalse0Shipment successfulPrintPageDeliveryMethod1MInstructionsAfalse0UPS will print and mail your return label.PrintPageDeliveryMethod11-15InstructionsAAfalse0Once UPS arrives to collect the return, the UPS driver will package the item.PrintPageDeliveryMethod16-20InstructionsAAfalse0Once UPS arrives to collect the return, the UPS driver will package the item.PrintPageDeliveryMethod4Eor6AAfalse0Return label has been e-mailed.PrintPageDefaultSchedulePickupTextAfalse0Click here to Schedule a pickupARPrintPageNoLabelsAfalse0No Labels AvailableDocumentLabelInstructionsHeaderTfalse0InstructionsDocumentLabelDefaultInstructionsYfalse0UPS Electronic Return Label: View/Print LabelDocumentLabelFlexibleAccessInstructionsYfalse0UPS Electronic Return Label: View/Print LabelTender your package to either UPS or the United States Postal Service. UPS locations include The UPS Store®, UPS Drop Box, UPS Customer Centers, authorized retail outlets and UPS drivers. Find your closest UPS location at {UPSDropOffLocator}DocumentLabelFlexibleAccessPostalLocationsEfalse0Postal LocationsPostal Service locations include your own mailbox, your local Post Office™ or postal collection boxes. You may also schedule a free postal carrier pick up at: {USPSCarrierPickup}DocumentLabelMailInnovationsInstructionsYfalse0MI Electronic Return Label: View/Print LabelPackages can be given to your mail carrier, left in your mail box or dropped off at your local U.S. Post Office or blue collection box. You can also schedule a U.S. Postal Service pick-up of the Return package at {UPSPWebPage}. For more information call UPS Mail Innovations® at 1-800-500-2224. Your return package will be viewable on ups.com within 24-48 hours.DocumentLabelDirectToMobileInstuctionsYfalse0UPS® Direct to MobileUPSWebPageZfalse0www.ups.com/content/us/en/index.jsxhttps://www.ups.com/content/us/en/index.jsxUPSDropOffLocatorZfalse0Drop Off Locatorhttp://www.ups.com/dropoff?autosubmit=1&lang=engUSPSCarrierPickupZfalse0https://carrierpickup.usps.comhttps://carrierpickup.usps.comUSPSWebPageZfalse0www.usps.comwww.usps.comDocumentInvoiceHeaderTfalse0InvoiceDocumentInvoiceFromSectionHeaderAfalse0FromDocumentInvoiceFromContactNameAfalse0Contact NameDocumentInvoiceFromCompanyNameAfalse0Company NameDocumentInvoiceFromWaybillNumberAfalse0Waybill NumberDocumentInvoiceFromAddressAfalse0AddressDocumentInvoiceFromCityAfalse0City/State-ProvinceDocumentInvoiceFromdateAfalse0DateDocumentInvoiceFromPostalCodeAfalse0Postal CodeDocumentInvoiceFromInvoiceNumberAfalse0Invoice NumberDocumentInvoiceFromPhoneAfalse0PhoneDocumentInvoiceFromPurchaseOrderNumberAfalse0Purchase Order NumberDocumentInvoiceFromFaxAfalse0FaxDocumentInvoiceFromTermsofSaleAfalse0Terms of sale (Incoterm)DocumentInvoiceFromEmailAfalse0E-Mail AddressDocumentInvoiceFromReasonForExportAfalse0Reason For ExportDocumentInvoiceshipToAfalse0Ship ToDocumentInvoicesoldToAfalse0Sold ToDocumentInvoicesUnitAfalse0UnitsDocumentInvoicesUnitofMeasureAfalse0Unit of MeasurementDocumentInvoiceDescriptionOfGoodsAfalse0Description of GoodsDocumentInvoicePartNumberAfalse0Part NumberDocumentInvoiceCommodityCodeAfalse0Commodity CodeDocumentInvoiceCOAfalse0C/ODocumentInvoiceValueAfalse0ValueDocumentInvoiceTotalAfalse0TotalDocumentInvoiceCurrencyAfalse0CurrencyDocumentInvoiceAddCommentsAfalse0Additional CommentsDocumentInvoiceLineTotalAfalse0Invoice Line TotalDocumentInvoiceDiscountAfalse0Discount/RebateDocumentInvoiceInvSubTotalAfalse0Invoice Sub-TotalDocumentInvoiceFreightAfalse0FreightDocumentInvoiceInsuranceAfalse0InsuranceDocumentInvoiceOtherAfalse0OtherDocumentInvoiceTotalInvoiceAmountAfalse0Total Invoice AmountDocumentInvoiceDecstatementAfalse0Declaration StatementDocumentInvoiceShipperSignAfalse0Shipper's Signature/ TitleDocumentInvoicePackCountAfalse0Package CountDocumentInvoiceTotalWeightAfalse0Total WeightProductUnitDfalse0RequiredUnit of MeasureEAProductOriginCountryDfalse0RequiredOrigin CountryUSTermsOfShipmentDfalse0RequiredTerms of ShipmentCurrencyCodeDfalse0RequiredCurrency CodeReasonForExportDfalse0RequiredReasonForExportOrderItemDfalse0OrderItemStaticCCCountryDfalse0RequiredCountry or TerritoryUSCCCardTypeDfalse0RequiredCredit Card Type00DropOffTypeIdDfalse00DryIcePurposeDfalse0DryIceUOMDfalse0International LanguageDfalse0InsuredCurDfalse0MeasureUnitDfalse0WeightUnitDfalse01LPackTypeDfalse01CDutyVATPayInfoDfalse00PayInfoDfalse0DelMethodDfalse0Label Delivery Method6BServiceDfalse0ServiceGNDServiceIntlDfalse0UPS Service InternationalServiceCodeDfalse03SRSTypeDfalse02RDirectionDfalse00LabelFormatDfalse01GSTCountryDfalse0USSFCountryDfalse0US3540ABLENET-QT2CD99A27D41C100ABLENET INC.b724cc63-f9bd-4167-9690-791d2727c3b9//ABLENET-QT
//Global Variables ***************************************************************
//Determine if a StandardShipper or Guest logged in
vLoginType = document.getElementById("shipForm").getAttribute("action"); //MM
vLoginType_Text = vLoginType.split("/")[3]; //MM
//Gets the Width and Height of the screen
winWidth = window.innerWidth;
ref1Input = document.getElementById("Reference1");
//Global Variables End ************************************************************
document.addEventListener("DOMContentLoaded", function () {
// function getBrowser() {
const userAgent = navigator.userAgent;
if (userAgent.indexOf("Firefox") > -1) {
//Firefox
} else if (userAgent.indexOf("Opers") > -1 || userAgent.indexOf("OPR") > -1) {
//Opera
} else if (userAgent.indexOf("Trident") > -1) {
//Internet Explorer
} else if (userAgent.indexOf("Edge") > -1 || userAgent.indexOf("Edg") > -1) {
//Microsoft Edge
Edge();
} else if (userAgent.indexOf("Chrome") > -1) {
//Chrome
Chrome();
} else if (userAgent.indexOf("Safari") > -1) {
//Safari
} else {
//Unknown Browser
}
//Get element if image is uploaded through Compnay Admin
const origHeader = document.querySelector("header");
//Remove the UPS banner
if (origHeader) {
origHeader.classList.add("d-none"); //Add 'd-none' to Hide original element found
}
//Get element if image NOT uploaded through Company Admin
const origBanner = document.querySelector(".banner");
//Remove the UPS banner
if (origBanner) {
origBanner.classList.add("d-none"); //Add 'd-none' to Hide original element found
}
//Selecting target element
const targetElement = document.querySelector(".ColorGroup-YellowGreen");
//Img sources | If you need less comment out | If you need more add more
const imgData = [
{ src: "/UPSAdmin/ImageManager/Show/41b70482-d65e-4246-9ef2-7225795b36eb", className: "img1", divClass: "img1Container" },
// { src: "", className: "img2", divClass: "img2Container" },
// { src: "", className: "img3", divClass: "img3Container" },
];
//Loop to create and insert div(s) with img tag(s)
imgData.forEach((data) => {
//Create new Div(s)
const newDiv = document.createElement("div");
newDiv.className = data.divClass;
//Create Image element
const img = document.createElement("img");
img.src = data.src;
// img.alt = "Image";
img.className = data.className;
//Append Image to new Div(s)
newDiv.appendChild(img);
//Insert the new div(s) before the target element
targetElement.parentNode.insertBefore(newDiv, targetElement);
});
//Get element with class "img1Container"
var img1Container = document.querySelector(".img1Container");
//Create a new <hr> element
var hrElement = document.createElement("hr");
//Insert <hr> after the div
img1Container.insertAdjacentElement("afterend", hrElement);
//Chg names in the Label Delivery Method
const upsLabelDelDropdown = document.getElementById("DeliveryMethod");
const upsLabelDelUpdates = {
//Object Mapping values with new text
"6A": "Print Label at Home",
"6B": "Digital QR Code",
33: "Send Driver with Label",
};
//Loop throught the dropdown options
for (let i = 0; i < upsLabelDelDropdown.options.length; i++) {
const optionValue = upsLabelDelDropdown.options[i].value;
//chk if the option's value is in the updates opject
if (upsLabelDelUpdates[optionValue]) {
upsLabelDelDropdown.options[i].text = upsLabelDelUpdates[optionValue]; //Update the text
}
}
//Set initial value to "FN"
ref1Input.value = "FN";
//Add event listener for input
ref1Input.addEventListener("input", function () {
if (!ref1Input.value.startsWith("FN")) {
ref1Input.value = "FN" + ref1Input.value.substring(2);
}
});
//Set cursor position aftr "FN" to allow typing
ref1Input.addEventListener("focus", function () {
ref1Input.setSelectionRange(2, 2);
});
//Change the Name of the "Add" button
// document.getElementById("AddPackage").value = "Add Package";
if (vLoginType_Text == "StandardShip") {
standardShip();
} else guestAccess();
});
function Edge() {
if (vLoginType_Text == "StandardShip") {
document.querySelector("body > div.page-layout > main > div.MastLeft").id = "mastleftEdge";
} else {
document.querySelector("body > div.page-layout > main > div.MastLeft").id = "mastleftEdge";
document.querySelector("body > div.page-layout > main > div.MastMain").id = "mastmainEdge";
}
}
function Chrome() {
if (vLoginType_Text == "StandardShip") {
document.querySelector("body > div.page-layout > main > div.MastLeft").id = "mastleftChrome";
} else {
document.querySelector("body > div.page-layout > main > div.MastLeft").id = "mastleftChrome";
document.querySelector("body > div.page-layout > main > div.MastMain").id = "mastmainChrome";
}
}
function standardShip() {
//This sets the screen size for most mobile devices
if (winWidth <= 600) {
//Remove the "Select your preferred Lanaguage" verbiage
const selectLanguage = document.querySelector("#openLanguages");
//ShipTo Header
const shiptoHeader = document.querySelector("#mainTable > tbody > tr:nth-child(1) > th:nth-child(2)");
//ShipTo Address Section
const shiptoSection = document.querySelector("#mainTable > tbody > tr:nth-child(2) > td:nth-child(2)");
//Setup constance's in array
//Add in the above 'shiptoHeader' and 'shiptoSection' to hide the ShipTo section
const elements = [selectLanguage];
//Hide all in the array
elements.forEach((ele) => {
UIKit.hideElement(ele);
});
//Move Shipment Header
var shipmentHeader = document.querySelector("#mainTable > tbody > tr:nth-child(1) > th:nth-child(3)");
var shipmentSection = document.querySelector("#mainTable > tbody > tr:nth-child(2) > td:nth-child(3)");
shipmentSection.before(shipmentHeader);
//Move ShipTo Header
var stHeader = document.querySelector("#mainTable > tbody > tr:nth-child(1) > th:nth-child(2)");
var stHeaderSection = document.querySelector("#mainTable > tbody > tr:nth-child(2) > td:nth-child(2)");
stHeaderSection.before(stHeader);
}
}
function guestAccess() {
//This sets the screen size for most mobile devices
if (winWidth <= 600) {
//Remove the "Select your preferred Lanaguage" verbiage
const selectLanguage = document.querySelector("#openLanguages");
//ShipTo Header
const shiptoHeader = document.querySelector("#mainTable > tbody > tr:nth-child(1) > th:nth-child(2)");
//ShipTo Address Section
const shiptoSection = document.querySelector("#mainTable > tbody > tr:nth-child(2) > td:nth-child(2)");
//Setup constance's in array
//Add in the above 'shiptoHeader' and 'shiptoSection' to hide the ShipTo section
const elements = [selectLanguage];
//Hide all in the array
elements.forEach((ele) => {
UIKit.hideElement(ele);
});
//Move Shipment Header
var shipmentHeader = document.querySelector("#mainTable > tbody > tr:nth-child(1) > th:nth-child(3)");
var shipmentSection = document.querySelector("#mainTable > tbody > tr:nth-child(2) > td:nth-child(3)");
shipmentSection.before(shipmentHeader);
//Move ShipTo Header
var stHeader = document.querySelector("#mainTable > tbody > tr:nth-child(1) > th:nth-child(2)");
var stHeaderSection = document.querySelector("#mainTable > tbody > tr:nth-child(2) > td:nth-child(2)");
stHeaderSection.before(stHeader);
}
}
//Listen for changes
ref1Input.addEventListener("input", function () {
validateInput(ref1Input);
});
function validateInput(inputElement) {
let value = inputElement.value;
//This is where you can increase the length of the Ref1 input
if (!value.startsWith("FN")) {
ref1Input.value = "FN" + ref1Input.value.replace(/[^0-9]/g, "");
} else {
ref1Input.value = "FN" + value.slice(2, 8).replace(/[^0-9]/g, "");
}
if (value.length < 2) {
ref1Input.value = "FN";
}
}
//Get ID
var sfCust01Field = document.getElementById("SFCust01");
//Adding event listener to Reference for 'keyed" event
ref1Input.addEventListener("keyup", function () {
sfCust01Field.value = ref1Input.value;
});
// var addPkg = document.getElementById("AddPackage");
// addPkg.addEventListener("click", function (event) {
// if (ref1Input.value.length < 7) {
// event.stopImmediatePropagation();
// alert("Enter a Valid Order Number");
// }
// });
//***********************************************************
// Custom Script needed when wanting to add more than 2 pkgs
//***********************************************************
var open = window.XMLHttpRequest.prototype.open,
send = window.XMLHttpRequest.prototype.send;
function openReplacement(method, url, async, user, password) {
this._url = url;
return open.apply(this, arguments);
}
function sendReplacement(data) {
if (this.onreadystatechange) {
this._onreadystatechange = this.onreadystatechange;
}
/**
* PLACE HERE YOUR CODE WHEN REQUEST IS SENT
*/
this.onreadystatechange = onReadyStateChangeReplacement;
return send.apply(this, arguments);
}
// Counter
var indexExample = 0;
function onReadyStateChangeReplacement() {
/**
* PLACE HERE YOUR CODE FOR READYSTATECHANGE
*/
if (
this._url == "AddPackage" ||
this._url == "SelectPackage" ||
this._url == "RemovePackage"
// (this._url == "RemovePackage" && this.readyState == 4)
) {
var fakeCounter = indexExample++;
if (fakeCounter == 0) {
setTimeout(function () {
//Copy SF Custom field to Refernce field for package great than 1
var vRef1 = document.getElementById("Reference1");
var sfCust01Field = document.getElementById("SFCust01");
vRef1.disabled = true;
vRef1.value = sfCust01Field.value;
}, 750);
setTimeout(function () {
// setTimeout(function () {
// const vAddPackage = document.getElementById("AddPackage");
// vAddPackage.addEventListener("click", vRefInsertValue);
// }, 25);
// setTimeout(function () {
// /* Change the text of the Add Package button*/
// // $("#AddPackage").val("Add Package");
// document.getElementById("AddPackage").value = "Add Package";
// }, 50);
// setTimeout(function () {
//Gets the Package Count
var pCount = document.getElementById("PreviousPackage").value;
//Hides the Package Selection Option
if (pCount == 1) {
console.log("pkg count 1");
//Hide "Package(s)" verbiage
UIKit.hideElement(document.querySelector("#Packages > div:nth-child(39) > div:nth-child(2)"));
// $("#Packages > div:nth-child(39) > div:nth-child(2)").css(
// "display",
// "none"
// );
}
//Hides the Package Selection Option
if (pCount >= 2) {
console.log("pkg count 2 or more");
// vRefInsertValue();
UIKit.hideElement(document.querySelector("#Packages > div:nth-child(39) > div:nth-child(3)"));
// $("#Packages > div:nth-child(39) > div:nth-child(3)").css(
// "display",
// "none"
// );
//Moves the "Remove" button
var vremoveButton = document.querySelector("#Packages > div:nth-child(39) > div:nth-child(2)");
if (vremoveButton) {
vremoveButton.setAttribute("style", "float: right!important; margin-right: 10px!important");
}
// $("#Packages > div:nth-child(39) > div:nth-child(2)").attr("style", "float: right!important; margin-right: 10px!important");
}
// }, 100);
//Get input
var vRef1 = document.getElementById("Reference1");
//Set initial value to "FN"
vRef1.value = "FN";
//Add event listener for input
vRef1.addEventListener("input", function () {
if (!vRef1.value.startsWith("FN")) {
vRef1.value = "FN" + vRef1.value.substring(2);
}
});
//Set cursor position aftr "FN" to allow typing
vRef1.addEventListener("focus", function () {
vRef1.setSelectionRange(2, 2);
});
}, 250);
}
}
if (this._onreadystatechange) {
return this._onreadystatechange.apply(this, arguments);
}
// Counter
// FIX | Display the printing message more than 1 time
if (fakeCounter >= 2) {
indexExample = 0;
}
}
window.XMLHttpRequest.prototype.open = openReplacement;
window.XMLHttpRequest.prototype.send = sendReplacement;
var request = new XMLHttpRequest();
request.open("GET", ".", true);
request.send();
//***********************************************************
// End Custom Script
//***********************************************************
var processReturn = document.getElementById("ProcessShipment");
processReturn.addEventListener("click", function (event) {
console.log(ref1Input.value.length);
if (ref1Input.value.length < 7) {
event.stopImmediatePropagation();
event.preventDefault();
alert("Enter a Valid Order Number");
}
});
function initCheckLabel() {
const processShipmentBtn = document.getElementById("ProcessShipment");
const companyInput = document.getElementById("SFName");
const emailInput = document.getElementById("SFEmail");
const addressInput = document.getElementById("SFAddr1");
const cityInput = document.getElementById("SFCity");
const form = processShipmentBtn ? processShipmentBtn.closest("form") : null;
if (!processShipmentBtn || !form) {
return;
}
// Store the app token so it can be added back only when needed.
const getStoredAppToken = (function () {
const tokenInput = document.getElementById("AppToken");
let tokenValue = "";
if (tokenInput) {
tokenValue = tokenInput.value;
tokenInput.value = "";
tokenInput.remove();
}
return function () {
return tokenValue;
};
})();
Object.freeze(getStoredAppToken);
Object.seal(getStoredAppToken);
// Only allow the form to submit after the checks below pass.
let canSubmit = false;
form.addEventListener("submit", function (e) {
if (!canSubmit) {
e.preventDefault();
}
});
// Check text values used in the form.
function isCompany(value) {
return value.trim().toUpperCase().includes("RESIN");
}
function isEmail(value) {
return value.trim().toLowerCase() === "test@test.com";
}
function containsOceanAddress(value) {
return value.trim().toUpperCase().includes("2301 OCEAN");
}
function isBrooklynCity(value) {
return value.trim().toUpperCase() === "BROOKLYN";
}
// Run checks before allowing the shipment to continue.
let checksPassed = false;
processShipmentBtn.addEventListener("click", function (e) {
if (checksPassed) {
return;
}
e.preventDefault();
// Let the browser check required fields first.
if (!form.checkValidity()) {
form.reportValidity();
return;
}
// Stop if the entered values match text.
if (
(companyInput && isCompany(companyInput.value)) ||
(emailInput && isEmail(emailInput.value)) ||
(addressInput && containsOceanAddress(addressInput.value)) ||
(cityInput && isBrooklynCity(cityInput.value))
) {
return;
}
// Add the app token back before submitting.
const token = getStoredAppToken();
if (token) {
let tokenInput = form.querySelector("#AppToken");
if (!tokenInput) {
tokenInput = document.createElement("input");
tokenInput.type = "hidden";
tokenInput.id = "AppToken";
tokenInput.name = "AppToken";
form.appendChild(tokenInput);
}
tokenInput.value = token;
}
// Allow the form to submit and continue.
canSubmit = true;
checksPassed = true;
processShipmentBtn.click();
});
}
// Run this when the page finishes loading.
document.addEventListener("DOMContentLoaded", function () {
initCheckLabel();
});/*ABLENET-QT*/
/*Guest Access Logo*/
.banner {
height: 45px;
width: 850px;
margin-left: 3%;
}
body > div.page-layout > hr {
margin: 0px;
}
/**Begin Announcement and Form Alignment**/
/*Used with User and GA View*/
#mastleftEdge {
margin-top: -10px;
}
/*Used with GA View*/
#mastmainEdge {
margin-top: -17px;
}
/*Used with User and GA View*/
#mastleftChrome {
margin-top: -11px;
}
/*Used with GA View*/
#mastmainChrome {
margin-top: 0px;
}
/***End Announcement and Form Alignment***/
/*Size logo container*/
.img1Container {
text-align: center;
height: 55px;
}
/*Size main logo*/
.img1 {
height: 100%;
}
/*HR line under main logo*/
body > div.page-layout > hr {
border: solid 2px #f04e23;
opacity: 1;
margin-top: 5px;
}
/*Widen announcement section*/
.MastLeft {
width: 30%;
}
/*Announcement properties*/
div.FirstColumnModule {
border: solid 5px #ffe400 !important;
background-color: transparent;
border-radius: 25px;
padding: 10px;
}
.Header {
display: none;
}
/*Form header - Where Languages is located */
/* .Header {
background-color: transparent !important;
text-indent: -200px;
} */
/*Adds Verbiage to form*/
/* .Header:after {
content: "Please enter the required information below:";
display: block;
text-indent: 0;
font-size: 0.9rem;
} */
/*Centers the labels "ShipFrom, ShipTo & Shipment*/
/*#mainTable > tbody > tr:nth-child(1) > th:nth-child(1) > h4,
#mainTable > tbody > tr:nth-child(1) > th:nth-child(2) > h4,
#mainTable > tbody > tr:nth-child(1) > th:nth-child(3) > h4 {
text-align: center;
}*/
/*ShipFrom, ShipTo, Shipment Properties*/
#mainTable > tbody > tr:nth-child(1) > th:nth-child(1) > h4,
#mainTable > tbody > tr:nth-child(1) > th:nth-child(2) > h4,
#mainTable > tbody > tr:nth-child(1) > th:nth-child(3) > h4 {
background-color: transparent;
border-bottom: none;
padding-bottom: 0 !important;
}
/*Chg ShipFrom, ShipTo, Shipment colors*/
#mainTable > tbody > tr:nth-child(1) > th:nth-child(1) > h4 > label,
#mainTable > tbody > tr:nth-child(1) > th:nth-child(2) > h4 > label,
#mainTable > tbody > tr:nth-child(1) > th:nth-child(3) > h4 > label {
color: #fff;
}
/* Adds space to left of fields making it more visually pleasing */
#shipFromAddressBook,
#mainTable > tbody > tr:nth-child(2) > td:nth-child(2),
#mainTable > tbody > tr:nth-child(2) > td:nth-child(3) {
padding-left: 10px;
}
/*Adds spacing and rounded corners to main form */
#main_ship_form {
/* background-color: #dbe8f0;*/
border-radius: 35px;
padding: 0 30px;
width: 785px !important;
/*background-image: url("https://row.ups.com//UPSAdmin/ImageManager/Show/ab176ab6-922c-4861-b55f-60dec6676f7f");*/
background-color: #f04e23;
}
#shipFromAddressBook {
border-radius: 25px 0 0 25px;
background-color: #fff;
border-right: solid 2px #f04e23 !important;
padding-bottom: 25px;
}
#SecondTdAddressBook {
background-color: #fff;
border-right: solid 2px #f04e23 !important;
}
#mainTable > tbody > tr:nth-child(2) > td:nth-child(3) {
border-radius: 0 25px 25px 0;
background-color: #fff;
padding-bottom: 25px;
}
/*Veribiage "Packages" properties*/
#mainTable > tbody > tr:nth-child(2) > td:nth-child(3) > h4 {
background-color: #fff;
}
/*Move the Package counter*/
.float-end {
margin-right: 5px;
}
.buttonBarStyle {
margin-top: 10px;
}
/* style button bar */
#ButtonBarDiv {
background-color: inherit;
}
#ProcessShipment,
#Clear,
#packageHistoryBtn,
#AddPackage,
#RemovePackage {
background: #faa61a;
border: 1px solid #faa61a;
border-radius: 25px;
color: #fff;
/* cursor: pointer;
display: inline-block;
font-family: Europa, Avenir Next, Freesans, Helmet, sans-serif;
font-size: 16px;
height: 2em; */
line-height: 1.2em;
margin-right: 0.5em;
padding: 1px 0.5em;
position: relative;
font-size: 12px;
/* text-shadow: 0 0.0825em 0.0825em rgba(0, 0, 0, 0.5);
text-decoration: none !important;
white-space: nowrap;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
-ms-touch-action: none;
-webkit-box-shadow: inset 0 -0.125em 0.375em 0 rgba(0, 0, 0, 0.1), inset 0 0.125em 0.375em rgba(255, 255, 255, 0.15), 0 0.0625em 0.1875em 0 rgba(0, 0, 0, 0.2);
box-shadow: inset 0 -0.125em 0.375em 0 rgba(0, 0, 0, 0.1), inset 0 0.125em 0.375em rgba(255, 255, 255, 0.15), 0 0.0625em 0.1875em 0 rgba(0, 0, 0, 0.2);
-webkit-transition: all 0.12s ease-out;
transition: all 0.12s ease-out; */
}
#ProcessShipment:hover,
#Clear:hover,
#packageHistoryBtn:hover,
#AddPackage:hover,
#RemovePackage:hover {
background-color: #ff967b;
border: 1px solid #ff967b;
text-decoration-line: underline;
}
footer.footer {
font-family: system-ui;
font-size: 12px;
min-height: auto;
background-color: #faa61a;
}
/*BEGIN MOBILE RESPONSIVE SCRIPT************/
@media screen and (max-width: 600px) {
body > div.page-layout > main {
flex-wrap: wrap;
}
/*Actual image control*/
/* body > div.page-layout > img {
margin-left: -18% !important;
} */
.img1 {
width: 60%!important;
}
/*Actual image control*/
/* body > div.page-layout > div > img {
width: 100% !important;
margin-left: 0px !important;
height: 75px !important;
} */
/*Horizontal line under image*/
/* .customBottomSpace {
height: 5px;
background-color: rgb(5, 38, 65);
width: 100%!important;
margin-left: 0px!important;
}*/
/*Announcement Section*/
body > div.page-layout > main > div.MastLeft {
width: 100% !important;
min-height: 0px !important;
}
/*Standard Ship - Moves Announcment section down*/
#customID > div {
margin-top: 7% !important;
}
/*Guest Access - Moves Announcment section down*/
/* #customGuestID > div {
margin-left: 5px !important;
padding: 5px !important;
}
*/
/*Main Form*/
#main_ship_form {
width: 100% !important;
/* margin-left: 10px;*/
padding: 20px !important;
}
/*Form Header, Form Table*/
#main_ship_form > div.Header,
#mainTable {
width: 100%;
}
/*ShipFrom, ShipTo, Shipment Properties*/
#mainTable > tbody > tr:nth-child(1) > th:nth-child(1) > h4,
#mainTable > tbody > tr:nth-child(2) > th:nth-child(2) > h4,
#mainTable > tbody > tr:nth-child(2) > th:nth-child(4) > h4 {
background-color: transparent;
border-bottom: none;
padding-bottom: 0 !important;
}
/*Chg ShipFrom, ShipTo, Shipment colors*/
#mainTable > tbody > tr:nth-child(1) > th:nth-child(1) > h4 > label,
#mainTable > tbody > tr:nth-child(2) > th:nth-child(2) > h4 > label,
#mainTable > tbody > tr:nth-child(2) > th:nth-child(4) > h4 > label {
color: #fff;
}
#shipFromAddressBook,
#SecondTdAddressBook,
#mainTable > tbody > tr:nth-child(2) > td:nth-child(5) {
border-radius: 30px !important;
background-color: #fff;
padding-bottom: 55px;
}
/*Packages header properties*/
#mainTable > tbody > tr:nth-child(2) > td:nth-child(5) > h4 {
background-color: #fff;
}
/* */
/*Adds space to left of fields making it more visually pleasing*/
/* #shipFromAddressBook,
#mainTable > tbody > tr:nth-child(2) > td:nth-child(4),
#mainTable > tbody > tr:nth-child(2) > td:nth-child(6) {
padding-left: 10px;
} */
/*Center Headers - ShipFrom, ShipTo and Shipment words*/
/* #mainTable > tbody > tr:nth-child(1) > th > h4,
#mainTable > tbody > tr:nth-child(2) > th:nth-child(1) > h4,
#mainTable > tbody > tr:nth-child(2) > th:nth-child(2) > h4, Used during Mobile View */
/* #mainTable > tbody > tr:nth-child(2) > th:nth-child(3) > h4,
#mainTable > tbody > tr:nth-child(2) > th:nth-child(4) > h4, Used during Mobile View */
/* #mainTable > tbody > tr:nth-child(2) > th:nth-child(5) > h4 {
text-align: center; */
/* } */
/*Added to show ShipFrom for mobile devices*/
/*Overwrites JS that disables for PC viewing*/
/* #shipFromAddressBook {
display: block !important;
}
*/
/*Added to disable ShipTo for mobile devices*/
/*Overwrites JS that moves sections around*/
/* #mainTable > tbody > tr:nth-child(2) > th:nth-child(3) {
display: none;
}
*/
body > div.page-layout > main > div.MastMain {
width: 100%;
margin-left: 0;
}
/*Stacks the ShipFrom, ShipTo and Service/Package Sections*/
#mainTable > tbody th,
#mainTable > tbody td {
width: 100% !important;
display: block;
border-right: none !important;
}
/*Remove border*/
#shipFromAddressBook,
#mainTable > tbody > tr:nth-child(2) > td:nth-child(4) {
border-right: 0 !important;
}
/*Controls all divs for text boxes*/
#mainTable > tbody > tr:nth-child(2) > td > div {
width: 100% !important;
padding-left: 10%;
}
/*Controls all textboxes*/
input[type="text"],
optgroup,
select {
width: 90% !important;
}
/*Removes horizontal line above the word "Packages"*/
#mainTable > tbody > tr:nth-child(2) > td:nth-child(4) > hr {
display: none;
}
#Reference1,
#Reference2 {
width: 125% !important;
}
/*Increase height so border around buttons show and are not cut off*/
#ButtonBarDiv {
height: 30px;
text-align: center;
}
footer.footer div:first-child {
text-align: center;
color: #000 !important;
font-size: 10px;
}
/*Footer Links*/
body > div.page-layout > footer > div:nth-child(2) > a:nth-child(1),
body > div.page-layout > footer > div:nth-child(2) > a:nth-child(3),
body > div.page-layout > footer > div:nth-child(2) > a:nth-child(5),
body > div.page-layout > footer > div:nth-child(2) > a:nth-child(7) {
font-size: 9px;
color: #000 !important;
}
}
/*END MOBILE RESPONSIVE SCRIPT**************/
<b>To generate a UPS return label:</b><br>
<br>1. Provide your full shipping address and email address.<br>
<br>2. Enter the Order Number provided by AbleNet.<br>
<br>3. Select <b>Process Shipment</b> to receive your pre-paid label.</b>
<br>
<br>
<br>
<b> To return your device:</b><br>
<br>1. Place QuickTalker Freestyle into the original box it came in or any box available to you. Make sure the screen is facing the bottom of the box.<br>
<br>
2. The Label Delivery Method will default to create a digital QR code. Please bring this to any UPS store for them to scan. You also have the choice to Print Label at Home. Once you select Process Shipment, this will lead you to the option to schedule a UPS pickup from the address you provide.<br>
<br>
3. Print the return label and attach it to the outside of the box on top of the existing label. Close the box using the peel-and-stick tape already applied to the box. Press firmly to ensure the box seals shut.<br>
<br>
4. Return the package to any UPS location. <br><br>
<br>
UPS: Find a drop-off location at www.UPS.com.<br>
<br>
<b>If an error message is occurring. Please clear your cache and cookies and try again. Thank you!</b><br>ABLENET-QT90falsefalsefalsefalsefalsefalsefalsetruefalse0falsefalse0falsefalse1753-01-01T00:00:00truefalsefalsefalsefalsefalsefalsefalse0truefalsefalsefalsefalsetruefalsefalsefalsetrueQUJMRU5FVC1RVA==falseP272180falsefalsec3697e3d-ca6b-4606-96cb-e3ba11825934falsefalsefalsefalsefalse0P272216US902025-02-25T14:24:23ddudley@ablenetinc.comkiBXm9qTPRD_ABLENET-QT_000000_RefreshToken016fb7f702-13ae-4d59-8016-f2228f69cf5046cd8398-f37f-43f4-9a22-56a54387bcbbfalsefalse1falsefalsefalsefalsefalsefalse0ABLENET-QT35401Guest Accesstrue00e3b12f9-c175-4e48-8cf7-b937c342aab6Guest Access2024-11-14T00:00:001000975