CINXE.COM

Nous joindre | Crown Equipment

<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js ie ie6 lte9 lte8 lte7"> <![endif]--> <!--[if IE 7]> <html class="no-js ie ie7 lte9 lte8 lte7"> <![endif]--> <!--[if IE 8]> <html class="no-js ie ie8 lte9 lte8"> <![endif]--> <!--[if IE 9]> <html class="no-js ie ie9 lte9 lt-ie10"> <![endif]--> <!--[if gt IE 9]> <html class="no-js"> <![endif]--> <!--[if !IE]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <meta name="keywords"/> <meta name="description"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <meta name="robots" content="noindex"/> <!--Granite CSS --> <!--Canonical URL--> <script defer type="text/javascript" src="/.rum/@adobe/helix-rum-js@%5E2/dist/rum-standalone.js"></script> <link rel="canonical" href="https://www.crown.com/fr-ca/contact-us.html"/> <!--Granite JS --> <script src="/etc/clientlibs/global-web/granite.lc-924b68355282635f248afbd8a75c823e-lc.min.js"></script> <script type="text/javascript"> var pageDomain="https:\/\/www.crown.com";</script> </meta> </meta> <script> // Define dataLayer and the gtag function. window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} // Set default consent to 'denied' as a placeholder gtag('consent', 'default', { 'ad_user_data': 'denied', 'ad_personalization': 'denied', 'ad_storage': 'denied', 'analytics_storage': 'denied', }); <!-- Google Tag Manager --> (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-MJLHW2'); <!-- End Google Tag Manager --> <!-- Google Optimize --> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-35686931-1', 'auto'); ga('require', 'GTM-PG9R4SC'); <!-- Google Optimize --> function consentGranted(){ gtag('consent', 'update', { 'ad_user_data': 'granted', 'ad_personalization': 'granted', 'ad_storage': 'granted', 'analytics_storage': 'granted' }); } </script> <link rel="icon" type="image/vnd.microsoft.icon" href="/content/dam/crown/images/favicon.ico"/> <link rel="stylesheet" href="/etc/clientlibs/global-web/page/head/css/compiled/application.css"/> </link> <title>Nous joindre | Crown Equipment</title> <!-- Fonts for crown.com --> <link rel="stylesheet" href="https://use.typekit.net/teg2oye.css"/> </head> <body> <link rel="stylesheet" href="/etc.clientlibs/global-web/clientlibs/clientlib-vendor.lc-ecafdfecbde2289002f0578413993c39-lc.min.css" type="text/css"> <script src="/etc.clientlibs/global-web/clientlibs/clientlib-vendor.lc-65f898139c7e0d2a5d8a92360ae0f892-lc.min.js"></script> <input type="hidden" id="isoLanguageCountryCode" value="fr-CA"/> <div id="content"><div> <div class="column"> <div id="height_2bfad06d08f3409da466f076bfc38a8c" style="height: px"> <div class="container-fluid "> <div class="container "> <div id="bgImage_2bfad06d08f3409da466f076bfc38a8c" class="clearfix everyDevice text-black padding-2x-top row" style="background-repeat: no-repeat; background-size: cover; background-position: center center;height: px;"> <div class=" col-md-12 "> <div class="container-inner"> <div class="richtext"> <div class=" padding-2x-bottom width-100 component-left"> <h3>Communiquez avec nous pour obtenir des produits,<br> des solutions et des conseils de pointe.</h3> <p>Pour parler 脿 un repr茅sentant de Crown, <a href="/fr-ca/forklift-dealers.html">trouvez le concessionnaire le plus pr猫s de vous.</a></p> </div> <div class="clearfix"></div> <script> $(document).ready(function() { let textWithHyperlink = ""; let event = ""; let eventCategory = ""; let eventAction = ""; let eventLabel = ""; let currentPage = window.location.href; if(!(currentPage.includes("staging") || currentPage.includes("en-cn") || currentPage.includes("zh-cn")) && textWithHyperlink && event && eventCategory && eventAction && eventLabel) { $("a:contains('" + textWithHyperlink + "')").attr({onclick: "addRichTextGA('" + event + "','" + eventCategory + "','" + eventAction + "','" + eventLabel + "')", tabindex: '0'}); } }); function addRichTextGA(event, eventCategory, eventAction, eventLabel) { if(window.dataLayer) { dataLayer.push({ 'event': event, 'eventCategory': eventCategory, 'eventAction': eventAction, 'eventLabel': eventLabel }) } } </script> </div> <div class="contactformcomponent"> <div class="text-dark no-padding-left no-padding-top padding-2x-right no-padding-bottom "> <form id="form_6eaa557a3b2f493bb8820586a1d798cf" class="contact-us-form-6eaa557a3b2f493bb8820586a1d798cf contact-us-form" enctype="multipart/form-data; UTF-8"> <input type="hidden" id="myPage" name="myPage" value="/content/fr-ca/contact-us.html"/> <input type="hidden" id="region" name="region" value="Canada"/> <input type="hidden" id="validationForRegionOrCountry" name="validationForRegionOrCountry" value="default"/> <input type="hidden" id="defaultEmailAddress" name="defaultEmailAddress" value="ca-customerexperience@crown.com"/> <input type="hidden" id="campaignName" name="campaignName"/> <input type="hidden" id="campaignId" name="campaignId"/> <input type="hidden" id="subjectLine" name="subjectLine" value="Merci d&#39;avoir communiqu茅 avec Crown Equipment."/> <input type="hidden" id="confirmationEmail" name="confirmationEmail" value="&lt;h3>Merci!&lt;/h3> &lt;p>Nous avons bien re莽u votre demande.&lt;br /> &lt;br /> Un repr茅sentant de Crown communiquera avec vous au cours du prochain jour ouvrable pour les demandes re莽ues pendant les heures d&#39;ouverture habituelles, soit du lundi au vendredi, de 8 h 脿 17 h.&lt;/p> "/> <input type="hidden" id="dealerDetailsEmailDescriptionText" name="dealerDetailsEmailDescriptionText"/> <input type="hidden" id="loadstamp" name="loadStamp" value="2024-11-23 16:06:43.796"/> <input type="hidden" id="contactFormSocialMediaContent" name="contactFormSocialMediaContent" value="&lt;style type&#61;&#39;text/css&#39; media&#61;&#39;screen&#39;&gt; a:link { color:#33348e; text-decoration: none; } &lt;/style&gt; &lt;br /&gt;&lt;p align&#61;&#39;left&#39;&gt;"/> <input type="hidden" id="branchID_6eaa557a3b2f493bb8820586a1d798cf" name="branchID" value=""/> <input type="hidden" id="locale_6eaa557a3b2f493bb8820586a1d798cf" name="locale" value=""/> <input type="hidden" id="dealerAddress1_6eaa557a3b2f493bb8820586a1d798cf" name="dealerAddress1" value=""/> <input type="hidden" id="dealerAddress2_6eaa557a3b2f493bb8820586a1d798cf" name="dealerAddress2" value=""/> <input type="hidden" id="dealerAddress3_6eaa557a3b2f493bb8820586a1d798cf" name="dealerAddress3" value=""/> <input type="hidden" id="dealerAddress4_6eaa557a3b2f493bb8820586a1d798cf" name="dealerAddress4" value=""/> <input type="hidden" id="dealerName_6eaa557a3b2f493bb8820586a1d798cf" name="dealerName" value=""/> <input type="hidden" id="dealerPhone_6eaa557a3b2f493bb8820586a1d798cf" name="dealerPhone" value=""/> <input type="hidden" id="dealerCategory_6eaa557a3b2f493bb8820586a1d798cf" name="dealerCategory" value=""/> <input type="hidden" id="isUniqueDealer_6eaa557a3b2f493bb8820586a1d798cf" name="isUniqueDealer" value=""/> <input type="hidden" id="isServiceOrder_6eaa557a3b2f493bb8820586a1d798cf" name="isServiceOrder" value="false"/> <div> <div class="contactfieldcomponent"> <div></div> <div class="row"> <div class="form-group ss-item-not-optional col-md-6"> <label for="primaryAreaOfInterest"> <span>Principaux sujets d&#39;int茅r锚t</span> </label> <span id="primaryAreaOfInterestErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="primaryAreaOfInterest"> </span> <select name="primaryAreaOfInterest" class="form-control" id="primaryAreaOfInterest_6eaa557a3b2f493bb8820586a1d798cf"> <option>(S茅lectionner)</option> <option value="newForklift">Chariots 茅l茅vateurs neufs</option> <option value="preOwnedForklift">Chariots 茅l茅vateurs d&#39;occasion</option> <option value="rentalForklifts">Location de chariots 茅l茅vateurs</option> <option value="remanufacturedForklift">Chariots 茅l茅vateurs r茅usin茅s</option> <option value="financing">Financement</option> <option value="warehouseConsulting">Solutions d&#39;entreposage</option> <option value="batteriesChargers">Batteries et chargeurs</option> <option value="fleetManagement">Gestion de la flotte</option> <option value="serviceAndParts">Pi猫ces et entretien</option> <option value="training">Programmes de Formation</option> <option value="generalInquiry">Demande de renseignements g茅n茅raux</option> <option value="automation">Solutions pour l鈥檈ntrep么t automatis茅</option> </select> <script> $("#primaryAreaOfInterest_6eaa557a3b2f493bb8820586a1d798cf").change(function() { areaOfInterestChanged_6eaa557a3b2f493bb8820586a1d798cf($("#primaryAreaOfInterest_6eaa557a3b2f493bb8820586a1d798cf").val()); }); function areaOfInterestChanged_6eaa557a3b2f493bb8820586a1d798cf(value) { if ((value != undefined) && (value == "newForklift")) { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().show(); $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); if ($("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").prop("tagName") === "SELECT") { if ($("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").attr("multiple") === "multiple") { $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").multiselect("clearSelection"); } else { $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").find('option:eq(0)').prop('selected', true) } } else { $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").val(null); } $("#discreteText_6eaa557a3b2f493bb8820586a1d798cf").empty(); } else if ((value != undefined) && (value == "fleetManagement")) { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); if ($("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").prop("tagName") === "SELECT") { if ($("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").attr("multiple") === "multiple") { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").multiselect("clearSelection"); } else { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").find('option:eq(0)').prop('selected', true) } } else { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").val(null); } $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().show(); $("#discreteText_6eaa557a3b2f493bb8820586a1d798cf").empty(); } else { $("#discreteText_6eaa557a3b2f493bb8820586a1d798cf").empty(); $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); if ($("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").prop("tagName") === "SELECT") { if ($("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").attr("multiple") === "multiple") { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").multiselect("clearSelection"); } else { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").find('option:eq(0)').prop('selected', true) } } else { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").val(null); } $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); if ($("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").prop("tagName") === "SELECT") { if ($("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").attr("multiple") === "multiple") { $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").multiselect("clearSelection"); } else { $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").find('option:eq(0)').prop('selected', true) } } else { $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").val(null); } } if(value !== undefined) { if (value !== "fleetManagement") { $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").val(null); $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").find('option:eq(0)').prop('selected', true); } if (value === "fleetManagement") { if($("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").val() === "infoLinkFleetManagement"){ $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().show(); } } if (value !== "serviceAndParts") { $("#make_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); $("#serialNumber_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); $("#truckType_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); $("#make_6eaa557a3b2f493bb8820586a1d798cf").val(null); $("#serialNumber_6eaa557a3b2f493bb8820586a1d798cf").val(null); $("#truckType_6eaa557a3b2f493bb8820586a1d798cf").val(null); $("#truckType_6eaa557a3b2f493bb8820586a1d798cf").find('option:eq(0)').prop('selected', true); } if (value === "serviceAndParts") { if($("#partsAndServiceList_6eaa557a3b2f493bb8820586a1d798cf").val() === "requestService"){ $("#make_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().show(); $("#serialNumber_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().show(); $("#truckType_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().show(); } } } } $(document).ready(function() { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); $("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); }); </script> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div class="row"> <div class="form-group ss-item-optional col-md-6"> <label for="fleetManagementList"> <span>Gestion de la flotte</span> </label> <span>- (Optional)</span> <span id="fleetManagementListErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="fleetManagementList"> </span> <select name="fleetManagementList" class="form-control" id="fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf"> <option>(S茅lectionner)</option> <option value="infoLinkFleetManagement">Syst猫me de gestion de la flotte et des caristes InfoLink</option> <option value="fleetStatsManagement">Syst猫me de gestion de l&#39;entretien de la flotte FleetStats</option> <option value="generalInquiry">Demande de renseignements g茅n茅raux</option> </select> <script> jQuery("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").change(function() { fleetManagementChanged_6eaa557a3b2f493bb8820586a1d798cf(jQuery("#fleetManagementList_6eaa557a3b2f493bb8820586a1d798cf").val()); }); function fleetManagementChanged_6eaa557a3b2f493bb8820586a1d798cf(value) { if ((value != undefined) && (value == "infoLinkFleetManagement")) { $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().show(); $("#discreteText_6eaa557a3b2f493bb8820586a1d798cf").empty(); } else { if ($("#primaryAreaOfInterest_6eaa557a3b2f493bb8820586a1d798cf").val() == "") { $("#discreteText_6eaa557a3b2f493bb8820586a1d798cf").empty(); } $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); if ($("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").prop("tagName") === "SELECT") { if ($("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").attr("multiple") === "multiple") { $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").multiselect("clearSelection"); } else { $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").find('option:eq(0)').prop('selected', true) } } else { $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").val(null); } } } jQuery(document).ready(function() { $("#infolinkList_6eaa557a3b2f493bb8820586a1d798cf").parent().parent().hide(); }); </script> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div class="row"> <div class="form-group ss-item-optional col-md-6"> <label for="forkliftList"> <span>Liste de produits</span> </label> <span>- (Optional)</span> <span id="forkliftListErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="forkliftList"> </span> <select name="forkliftList" multiple="multiple" class="form-control" id="forkliftList_6eaa557a3b2f493bb8820586a1d798cf"> <option value="fullProductLine">Gamme compl猫te de produits</option> <option value="PTHseries">Transpalette manuel, S茅rie PTH</option> <option value="WPseries">Transpalette 脿 conducteur 脿 pied, S茅rie WP</option> <option value="PWseries">Transpalette 脿 conducteur 脿 pied, S茅rie PW</option> <option value="PRseries">Transpalette 脿 conducteur port茅, S茅rie PR</option> <option value="RTseries">Transpalette 脿 conducteur port茅, S茅rie RT</option> <option value="PEseries">Transpalette 脿 commande arri猫re, S茅rie PE</option> <option value="PCseries">Transpalette 脿 commande centrale, S茅rie PC</option> <option value="GPCseries">Chariot magasinier 脿 faible hauteur, S茅rie GPC</option> <option value="QuickPickOrder">T茅l茅commande QuickPick pour pr茅paration de commandes</option> <option value="TRseries">Chariot tracteur, S茅rie TR</option> <option value="MPCseries">Chariot magasinier 脿 m芒t haute lev茅e, S茅rie MPC</option> <option value="ESseries">Gerbeur 脿 chevauchement, S茅rie ES</option> <option value="ST/SXseries">Gerbeur cavalier 脿 conducteur 脿 pied, S茅ries ST/SX</option> <option value="SH/SHR/SHCseries">Gerbeur 脿 haut rendement, S茅ries SH/SHR/SHC</option> <option value="Mseries">Gerbeur interm茅diaire 脿 conducteur 脿 pied, S茅rie M</option> <option value="WAVseries">Chariot de magasinier, S茅rie WAV</option> <option value="SPseries">Chariot pr茅parateur de commandes, S茅rie SP</option> <option value="TSPseries">Chariot 茅l茅vateur 脿 fourche 脿 prise bilat茅rale pour all茅es tr猫s 茅troites, S茅rie TSP</option> <option value="RR/RDseries">Chariot 茅l茅vateur r茅tractable, S茅ries RR/RD</option> <option value="RM/RMDseries">Chariot 茅l茅vateur r茅tractable avec MonoLift, S茅ries RM/RMD</option> <option value="ESRseries">Chariot 脿 m芒t r茅tractable, S茅rie ESR</option> <option value="RCseries">Chariot 茅l茅vateur 脿 contrepoids 脿 conducteur debout, S茅rie RC</option> <option value="SCseries">Chariot 茅l茅vateur 脿 contrepoids 脿 conducteur assis, S茅rie SC</option> <option value="FCseries">Chariot 茅l茅vateur 脿 contrepoids 脿 conducteur assis, S茅rie FC</option> <option value="CBseries">Chariot 茅l茅vateur 脿 contrepoids 脿 conducteur assis, S茅rie C-B</option> <option value="C-5seriesCushion">Chariots 茅l茅vateurs 脿 bandages creux, C-5 Series</option> <option value="C-5seriesPneumatic">Chariots 茅l茅vateurs 脿 bandages pneumatiques, C-5 Series</option> <option value="C-GseriesCushion">Chariots 茅l茅vateurs IC 脿 contrepoids et bandages creux, S茅rie CG</option> <option value="C-G/C-DseriesPneumatic">Chariots 茅l茅vateurs 脿 bandages creux, C-G/C-D Series</option> <option value="C-G-C-DseriesPneumatic">Chariots 茅l茅vateurs IC 脿 contrepoids et bandages pneumatiques, S茅rie C-G/C-D</option> <option value="doosanForklifts">Chariots 茅l茅vateurs 脿 CI Doosan</option> <option value="roughTerrain">Chariots 茅l茅vateurs tout-terrain</option> <option value="personnelCarriers">V茅hicules de transport de personnel</option> </select> <script> $(document).ready(function() { $("#forkliftList_6eaa557a3b2f493bb8820586a1d798cf").multiselect({ nonSelectedText: '(S茅lectionner)', allSelectedText: 'Tout s茅lectionner', nSelectedText: 'S茅lectionn茅', buttonWidth: '', maxHeight: ''}); }); </script> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-not-optional col-md-6"> <label for="firstName"> <span>Pr茅nom</span> </label> <span id="firstNameErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="firstName"> </span> <input type="text" class="form-control" id="firstName_6eaa557a3b2f493bb8820586a1d798cf" placeholder="&nbsp;" name="firstName" data-errorMessage="Les donn茅es des champs suivants ne sont pas valides." required/> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-not-optional col-md-6"> <label for="lastName"> <span>Nom de famille</span> </label> <span id="lastNameErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="lastName"> </span> <input type="text" class="form-control" id="lastName_6eaa557a3b2f493bb8820586a1d798cf" placeholder="&nbsp;" name="lastName" data-errorMessage="Les donn茅es des champs suivants ne sont pas valides." required/> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-not-optional col-md-6"> <label for="email"> <span>Courriel</span> </label> <span id="emailErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="email"> </span> <input type="email" class="form-control" id="email_6eaa557a3b2f493bb8820586a1d798cf" name="email" data-errorMessage="Les donn茅es des champs suivants ne sont pas valides." required/> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-not-optional col-md-6"> <label for="organizationName"> <span>Nom de l&#39;entreprise</span> </label> <span id="organizationNameErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="organizationName"> </span> <input type="text" class="form-control" id="organizationName_6eaa557a3b2f493bb8820586a1d798cf" placeholder="&nbsp;" name="organizationName" data-errorMessage="Les donn茅es des champs suivants ne sont pas valides." required/> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-not-optional col-md-6"> <label for="country"> <span>Pays</span> </label> <span id="countryErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="country"> </span> <select class="form-control countrypicker" id="country_6eaa557a3b2f493bb8820586a1d798cf" name="country" data-errorMessage="Les donn茅es des champs suivants ne sont pas valides." data-language="french" required> </select> <script> jQuery(document).ready(function() { var countryInput = document.getElementById('country_6eaa557a3b2f493bb8820586a1d798cf'); var translatedList; var language = countryInput.getAttribute('data-language'); var selectDropdownId = "#country_6eaa557a3b2f493bb8820586a1d798cf"; var modalId = "#modal-form"; jQuery.ajax({ url: "/content/fr-ca/contact-us/jcr:content/mainpar/column/column1/contactformcomponent/contactFieldParsys/contactfieldcomponen" + ".countrylist" + ".json", type: 'GET', data: {"languageName":language} }).done(function(response) { translatedList = response.translatedText; var placeholderOption = document.createElement('option'); placeholderOption.value = ''; placeholderOption.innerHTML = ""; countryInput.appendChild(placeholderOption); countryList(translatedList); }); function countryList(translatedList) { $.each(translatedList, function (index, country) { var options = document.createElement('option'); options.value = country.code; options.innerHTML = country.name; countryInput.appendChild(options); }); } $(selectDropdownId).select2(); // Removing tabindex and focus from the modal to enable the search input on the select2. // This condition checks if the modal is open. {} returns false when .data() returns undefined if(($(modalId).data("bs.modal") || {}).isShown) { $.fn.modal.Constructor.prototype.enforceFocus = $.noop; $(modalId).removeAttr("tabindex"); } }); </script> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-not-optional col-md-6"> <label for="phone"> <span>T茅l茅phone</span> </label> <span id="phoneErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="phone"> </span> <input type="tel" class="form-control" id="phone_6eaa557a3b2f493bb8820586a1d798cf" name="phone" data-errorMessage="Les donn茅es des champs suivants ne sont pas valides." required/> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-not-optional col-md-12"> <label for="streetAddress"> <span>Adresse</span> </label> <span id="streetAddressErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="streetAddress"> </span> <input type="text" class="form-control" id="streetAddress_6eaa557a3b2f493bb8820586a1d798cf" placeholder="&nbsp;" name="streetAddress" data-errorMessage="Les donn茅es des champs suivants ne sont pas valides." required/> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-not-optional col-md-6"> <label for="city"> <span>Ville</span> </label> <span id="cityErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="city"> </span> <input type="text" class="form-control" id="city_6eaa557a3b2f493bb8820586a1d798cf" placeholder="&nbsp;" name="city" data-errorMessage="Les donn茅es des champs suivants ne sont pas valides." required/> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-not-optional col-md-6"> <label for="zipCode"> <span>Code postal</span> </label> <span id="zipCodeErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="zipCode"> </span> <input type="text" class="form-control" id="zipCode_6eaa557a3b2f493bb8820586a1d798cf" name="zipCode" data-errorMessage="Les donn茅es des champs suivants ne sont pas valides." required/> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group ss-item-optional col-md-12"> <label for="comments"> <span>Commentaires</span> </label> <span>- (Optional)</span> <span id="commentsErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span for="comments"> </span> <textarea type="text" class="form-control" id="comments_6eaa557a3b2f493bb8820586a1d798cf" name="comments" rows="4" cols="50"></textarea> </div> </div> </div> <div class="contactfieldcomponent"> <div></div> <div> <div class="form-group special-email col-md-6"> <label> <span>If you are human PLEASE DO NOT fill out this field. Thanks!</span> </label> <span id="ErrorMessage_6eaa557a3b2f493bb8820586a1d798cf" style="color:red;"></span> <br/> <span> </span> <input type="text" class="form-control" id="emailspecial" name="emailspecial"/> </div> </div> </div> </div> <div class="row"> <div class="col-md-12"> <p id="discreteText_6eaa557a3b2f493bb8820586a1d798cf"></p> </div> </div> <div class="row"> </div> <div class="row"> <div class="col-md-12 buttonRow"> <div class="text-left no-padding-left no-padding-top no-padding-right no-padding-bottom"> <div class="errorText" id="errorText_6eaa557a3b2f493bb8820586a1d798cf"></div> <button class="btn btn-cta text-white background-orange" type="submit" id="submitContactUs_6eaa557a3b2f493bb8820586a1d798cf">Envoyer </button> </div> </div> </div> <div class="row"> <div class="optOutRow col-md-12"> <ul> <li> <input type="checkbox" id="optOut1_6eaa557a3b2f493bb8820586a1d798cf" class="optOutCheckbox" name="optOut1" value="TRUE:<p>La politique de confidentialit茅 de Crown Equipment Corporation et de Crown Lift Trucks d茅termine comment nous g茅rons l&#39;information fournie. Vous pouvez d茅cider de ne pas adh茅rer 脿 cette politique en cochant cette case.</p> "/> <span><p>La politique de confidentialit茅 de Crown Equipment Corporation et de Crown Lift Trucks d茅termine comment nous g茅rons l&#39;information fournie. Vous pouvez d茅cider de ne pas adh茅rer 脿 cette politique en cochant cette case.</p> </span> <span id="errorMessageForCheckbox1_6eaa557a3b2f493bb8820586a1d798cf"></span></li> </ul> </div> </div> </form> </div> <div class="contact_loader" id="contact_loader_6eaa557a3b2f493bb8820586a1d798cf"><img src="https://www.crown.com:443/content/dam/crown/images/home-page/loader.GIF" alt="loading"/></div> <div class="loader_cover" id="loader_cover_6eaa557a3b2f493bb8820586a1d798cf"></div> <div class="modal fade modal-form-viewer" id="modalThankYou_6eaa557a3b2f493bb8820586a1d798cf" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <a class="btn close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">脳</span> </a> <div class="modal-body modal-color"> <div></div> </div> </div> </div> </div> <div class="modal fade" id="dealerPrivacyModal_6eaa557a3b2f493bb8820586a1d798cf" tabindex="-1" role="dialog"> <div class="modal-dialog modal-dialog-centered vertical-align-center" role="document"> <div class="modal-content"> <a class="btn close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </a> <div class="modal-body modal-color"> <span class="dealer-info-auth-text"> </span><br/><br/> <p class="text-center"> <button type="button" class="btn btn-cta text-black background-grey-lightest" id="dealerReject" onclick="dealerInfoModal_6eaa557a3b2f493bb8820586a1d798cf()" data-dismiss="modal">No </button> &nbsp&nbsp&nbsp&nbsp <button type="button" class="btn btn-cta text-white background-orange" id="dealerAccept" onclick="submitLead_6eaa557a3b2f493bb8820586a1d798cf()" data-dismiss="modal">Yes </button> </p> </div> </div> </div> </div> <div class="modal fade" id="dealerInfoModal_6eaa557a3b2f493bb8820586a1d798cf" tabindex="-1" role="dialog"> <div class="modal-dialog modal-dialog-centered vertical-align-center" role="document"> <div class="modal-content"> <a class="btn close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </a> <div class="modal-body modal-color"> <span id="dealerDetailsText_6eaa557a3b2f493bb8820586a1d798cf" class="dealer-info-auth-text"></span><br/><br/> <span id="dealerInfoContent_6eaa557a3b2f493bb8820586a1d798cf" style="font-size:1.8rem;"></span> <p class="text-center"> <button type="button" class="btn btn-cta text-black background-grey-lightest" id="closeDealerModal" onclick="resetPage_6eaa557a3b2f493bb8820586a1d798cf()" data-dismiss="modal">Close </button> &nbsp&nbsp&nbsp&nbsp </p> </div> </div> </div> </div> <script> var uniqueId = "_6eaa557a3b2f493bb8820586a1d798cf"; var checkBoxCount = 1; var dealerText; var isPublisher = true; var country = "default"; var fields = [ document.forms["form" + uniqueId].getElementsByTagName("input") ]; var phoneInput_6eaa557a3b2f493bb8820586a1d798cf; var isCountrySelected_6eaa557a3b2f493bb8820586a1d798cf = false; $("#country" + uniqueId).on("change.select2", function (e) { if(!isCountrySelected_6eaa557a3b2f493bb8820586a1d798cf){ phoneInput_6eaa557a3b2f493bb8820586a1d798cf = window.intlTelInput(document.getElementById("phone" + uniqueId), { separateDialCode: true, utilsScript: "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/11.0.14/js/utils.js", autoPlaceholder: "off" }); } isCountrySelected_6eaa557a3b2f493bb8820586a1d798cf = true; let userSelectedCountry = $('#country'+uniqueId).val(); phoneInput_6eaa557a3b2f493bb8820586a1d798cf.setCountry(userSelectedCountry); $("#phone" + uniqueId).parent().parent().parent().css("opacity", "1"); }); for (i = 0; i < fields.length; i++) { for (j = 0; j < fields[i].length; j++) { addEvent_6eaa557a3b2f493bb8820586a1d798cf(fields[i][j], "change", function(e, target) { instantValidation_6eaa557a3b2f493bb8820586a1d798cf(target, 'default'); if(target.getAttribute("class") === "optOutCheckbox") { let checked = true; let count = 1; while(checked && count < checkBoxCount+1) { if(!$('#optOut' + count + uniqueId ).is(":checked") && $('#optOut' + count + uniqueId ).attr("data-requiredcheck") === "required") { checked = false; $('#errorMessageForCheckbox'+ count + uniqueId).css("color", "red"); } else { checked = true; $('#errorMessageForCheckbox'+ count + uniqueId).css("color", "black"); } count++; } $('#submitContactUs' + uniqueId).prop('disabled', !checked); } }); addEvent_6eaa557a3b2f493bb8820586a1d798cf(fields[i][j], "focusout", function(e, target) { country = $("#country" + uniqueId).select2('val'); instantValidation_6eaa557a3b2f493bb8820586a1d798cf(target, country); // Commenting out the below logic used to auto fill city and state based on zipcode /* if(target === document.getElementById("zipCode" + uniqueId)) { Crown.Components.ContactFormGoogleMaps.getCityAndState($("#zipCode" + uniqueId).val(), $("#country" + uniqueId).val(), uniqueId); } */ }); } } function addEvent_6eaa557a3b2f493bb8820586a1d798cf(node, type, callback) { if (node.addEventListener) { node.addEventListener( type, function(e) { callback(e, e.target); }, false ); } else if (node.attachEvent) { node.attachEvent("on" + type, function(e) { callback(e, e.srcElement); }); } } function instantValidation_6eaa557a3b2f493bb8820586a1d798cf(field, country) { if(field === document.getElementById("email" + uniqueId)) { field.setAttribute("pattern", emailPattern["email"]); validate_6eaa557a3b2f493bb8820586a1d798cf(field); } else if(field === document.getElementById("phone" + uniqueId)) { let iti = window.intlTelInputGlobals.getInstance(field); let fieldControlName = field.getAttribute("name"); let errorMessage = field.getAttribute("data-errorMessage"); let errorMessageId = "ErrorMessage".concat(uniqueId); if(iti.isValidNumber()) { field.removeAttribute("aria-invalid"); $('#' + fieldControlName + errorMessageId).html(""); } else { field.setAttribute("aria-invalid", "true"); $('#' + fieldControlName + errorMessageId).html(errorMessage); } } else if(field === document.getElementById("zipCode" + uniqueId)) { if(latinAmericaCountries.indexOf(country) > -1) { country = "latinAmerica"; } if(zipCodePattern.hasOwnProperty(country)) { field.setAttribute("pattern", zipCodePattern[country]); } else { field.setAttribute("pattern", zipCodePattern["default"]); } validate_6eaa557a3b2f493bb8820586a1d798cf(field, country); } else { validate_6eaa557a3b2f493bb8820586a1d798cf(field, country); } } function validate_6eaa557a3b2f493bb8820586a1d798cf(field, country){ let fieldControlName = field.getAttribute("name"); let errorMessage = field.getAttribute("data-errorMessage"); let errorMessageId = "ErrorMessage".concat(uniqueId); let pattern = field.getAttribute("pattern"); let value = field.value; let invalid = (field.getAttribute("required") && !value) || (pattern && value && !new RegExp(pattern).test(value)); let requiredText = "(This Field is Required)"; if (field.parentElement.classList.contains('ss-item-not-optional') && field.value.trim().length < 1) { $('#' + fieldControlName + errorMessageId).text(requiredText); $('#' + fieldControlName + uniqueId).attr("aria-invalid", "true"); return; } else { if((pattern && value && !new RegExp(pattern).test(value))) { field.setAttribute("aria-invalid", "true"); $('#' + fieldControlName + errorMessageId).html(errorMessage); } } if(!invalid && field === document.getElementById("email" + uniqueId)) { // Check if the email domain contains "_" invalid = value.substring(value.lastIndexOf("@") +1).includes("_"); } if (!invalid && field.getAttribute("aria-invalid")) { field.removeAttribute("aria-invalid"); $('#' + fieldControlName + errorMessageId).html(""); } else if (invalid && !field.getAttribute("aria-invalid")) { field.setAttribute("aria-invalid", "true"); $('#' + fieldControlName + errorMessageId).html(errorMessage); } } function retrieveDealerDetails() { let componentPath = '/content/fr-ca/contact-us/jcr:content/mainpar/column/column1/contactformcomponent'; $.ajax({ type: 'POST', url: componentPath + ".dealerterritoryservlet" + ".json", data: { "city": $("#city"+uniqueId).val(), "state": $("#state"+uniqueId).val(), "county": $("#county"+uniqueId).val(), "country": $("#country"+uniqueId).val(), "zipCode": $("#zipCode"+uniqueId).val() }, async: false, dataType: "json" }).done(function(response) { $("#isUniqueDealer" + uniqueId).val(response.length === 1); if(response.length > 0) { $("#branchID" + uniqueId).val(response[0].dealerCode); $("#dealerAddress1" + uniqueId).val(response[0].dealerAddress1); $("#dealerAddress2" + uniqueId).val(response[0].dealerAddress2); $("#dealerAddress3" + uniqueId).val(response[0].dealerAddress3); $("#dealerAddress4" + uniqueId).val(response[0].dealerAddress4); $("#dealerName" + uniqueId).val(response[0].dealerName); $("#dealerPhone" + uniqueId).val(response[0].dealerPhone); $("#dealerCategory" + uniqueId).val(response[0].category); } }).fail(function(){ $('#errorText' + uniqueId).append("The Contact Form Service is Currently Unavailable"); }); } $("#submitContactUs" + uniqueId).on('click', function(event) { (event.preventDefault) ? event.preventDefault() : event.returnValue = false; let locale = $("#isoLanguageCountryCode").val(); $("#locale"+ uniqueId).val(locale); let requiredValuesProvided = requiredFieldCheck_6eaa557a3b2f493bb8820586a1d798cf('(This Field is Required)'); // Remove preferred language if the primary area of interest is not brochure request if($("#preferredLanguage" + uniqueId).val() != null && $("#primaryAreaOfInterest" + uniqueId).val() !== 'brochureRequest') { $("#preferredLanguage"+uniqueId).val(null); } if(requiredValuesProvided && checkBoxCount > 0) { checkDealerPrivacyAndSubmit(); } else if (requiredValuesProvided && checkBoxCount === 0) { submitLead_6eaa557a3b2f493bb8820586a1d798cf(); } }); function checkDealerPrivacyAndSubmit() { for(let i=1; i<=checkBoxCount; i++) { let optOutId = '#optOut' + i + uniqueId; if($(optOutId).attr("data-requiredcheck") === "dealerPrivacy") { if(!$(optOutId).is(":checked") && $(optOutId).attr("data-privacycheck") === "unchecked") { populateDealerText(); break; } else if($('#optOut' + i + uniqueId ).is(":checked") && $('#optOut' + i + uniqueId ).attr("data-privacycheck") === "checked") { populateDealerText(); break; } } if(i === checkBoxCount) { submitLead_6eaa557a3b2f493bb8820586a1d798cf(); break; } } } function populateDealerText() { retrieveDealerDetails(); if($("#dealerCategory" + uniqueId).val() === "DEALER") { dealerText = "<b>" + $("#dealerName" + uniqueId).val() + "</b><br>" + $("#dealerAddress1" + uniqueId).val() + "<br>"; if($("#dealerAddress2" + uniqueId).val() !== "") { dealerText += $("#dealerAddress2" + uniqueId).val() + "<br>"; if($("#dealerAddress3" + uniqueId).val() !== "") { dealerText += $("#dealerAddress3" + uniqueId).val() + "<br>"; if($("#dealerAddress4" + uniqueId).val() !== "") { dealerText += $("#dealerAddress4" + uniqueId).val() + "<br>"; } } } dealerText += "<br><b>" + "Call: " + "<a href = tel:" + $("#dealerPhone" + uniqueId).val().replace(/-/g, "") + ">"+ $("#dealerPhone" + uniqueId).val() + "</a><br><br>" + "</b>" ; if($("#dealerPrivacyHeaderModal").length) { $("#dealerPrivacyContent").empty().append(""); $("#dealerRejectHeader").empty().append("No"); $("#dealerAcceptHeader").empty().append("Yes"); $("#dealerAcceptHeader").attr("onClick", "submitLead_6eaa557a3b2f493bb8820586a1d798cf()"); $("#dealerPrivacyHeaderModal").modal(); } else { $("#dealerPrivacyModal"+ uniqueId).modal(); } } else { submitLead_6eaa557a3b2f493bb8820586a1d798cf(); } } function showDealerDetails() { $("#dealerDetailsText").empty().append(""); $("#dealerInfoContent").empty().append(dealerText); $("#closeDealerHeader").empty().append("Close"); $("#dealerInfoHeaderModal").modal(); } function resetPage_6eaa557a3b2f493bb8820586a1d798cf() { document.getElementById("form" + uniqueId).reset(); $("#country" + uniqueId).select2(); optInOutFunctionality_6eaa557a3b2f493bb8820586a1d798cf(); } function submitLead_6eaa557a3b2f493bb8820586a1d798cf() { if(supportAjaxUploadWithProgress()) { let the_id = 'form_6eaa557a3b2f493bb8820586a1d798cf'; // Only Service orders needs to populate dealer information in confirmation page and email if(($("#partsAndServiceList"+uniqueId).val() === 'requestService' || $("#partsAndServiceList"+uniqueId).val() === 'requestBatteryChargerService' || $("#partsAndServiceList"+uniqueId).val() === 'requestDockDoorService')) { $("#isServiceOrder" + uniqueId).val(true); if($("#branchID" + uniqueId).val() === '') { retrieveDealerDetails(); } } $("#phone" + uniqueId).val(phoneInput_6eaa557a3b2f493bb8820586a1d798cf.getNumber()); let formData = addUncheckedCheckboxes_6eaa557a3b2f493bb8820586a1d798cf(the_id); let postUrl = '/content/fr-ca/contact-us/jcr:content/mainpar/column/column1/contactformcomponent' + ".send" + ".json"; /*Remove this once Marcom is ready with other translation messages*/ handleFormPost_6eaa557a3b2f493bb8820586a1d798cf(formData, postUrl, '', '\/content\/fr\u002Dca\/confirmation\u002Dpage.html', 'The Contact Form Service is Currently Unavailable: '); } else { alert("unsupported"); } } function dealerInfoModal_6eaa557a3b2f493bb8820586a1d798cf() { $("#dealerDetailsText" + uniqueId).empty().append(""); $("#dealerInfoContent" + uniqueId).empty().append(dealerText); $("#dealerInfoModal" + uniqueId).modal(); } $("#modalThankYou" + uniqueId).on('hidden.bs.modal', function () { resetPage_6eaa557a3b2f493bb8820586a1d798cf(); }); function requiredFieldCheck_6eaa557a3b2f493bb8820586a1d798cf(requiredText) { let fields = $('#form' + uniqueId).find('.ss-item-not-optional').find('input, textarea, select').serializeArray(); if($("#partsAndServiceList"+uniqueId).val() !== 'requestService') { let filteredFields = fields.filter(function(field) { return (field.name === "serialNumber" || field.name === "make" || field.name === "truckType"); }); filteredFields.forEach(function(filteredField) { const index = fields.indexOf(filteredField); if (index > -1) { fields.splice(index, 1); } }); } let validForm = true; $.each(fields, function(i, field) { let errorMessageId = "ErrorMessage".concat(uniqueId); if (($('#' + field.name + errorMessageId).text().length > 0) || (!field.value) || (field.value.trim() <= 0) || ((field.value.startsWith('(')) && (field.value.endsWith(')')))) { if($('#' + field.name + errorMessageId).text().length < 1){ $('#' + field.name + errorMessageId).html(requiredText); } $('#' + field.name + uniqueId).attr("aria-invalid", "true"); validForm = false; } else { $('#' + field.name + errorMessageId).html(""); $('#' + field.name + uniqueId).attr("aria-invalid", "false"); } }); return validForm; } function addUncheckedCheckboxes_6eaa557a3b2f493bb8820586a1d798cf(formId) { let optOutStartTrue = 'TRUE:'; let optOutStartFalse = 'FALSE:'; let shopSourceSystem = 'shop.crown.com'; let checkboxList = $('#'+ formId).find('input:checkbox'); var formData = new FormData( document.getElementById(formId)); let queryParams = new URLSearchParams(window.location.search); let source = queryParams.get('source'); let ctr = 0; //handle situation where IE and Edge don't support FormData methods other than append if(checkboxList !== null) { while (ctr < checkboxList.length) { let chkBox = checkboxList[ctr]; if(chkBox !== null) { let val = chkBox.value; let name = chkBox.name; if (!(val === null || name === null)) { val = val.trim(); if ((val.length > 5) && (val.substring(0, 5) === optOutStartTrue) && (!(chkBox.checked))){ let formVal = val.replace( optOutStartTrue,optOutStartFalse); formData.append(name, formVal); } ctr += 1; } } } } //handle the query parameter from shop.crown.com if(source !== null && source === 'shop') { formData.append("source", shopSourceSystem); } return formData; } function handleFormPost_6eaa557a3b2f493bb8820586a1d798cf(formData, postURL, successMsg, onSubmitLinkTo, defaultErrorMessage) { $('#contact_loader' + uniqueId).fadeIn(); $('#loader_cover' + uniqueId).fadeIn(); $.ajax({ type: 'POST', url: postURL, xhr: function() { let myXhr = $.ajaxSettings.xhr(); if(myXhr.upload){ // Check if upload property exists myXhr.upload.addEventListener('progress',fileUploadProgress(myXhr), false); // For handling the progress of the upload } return myXhr; }, data: formData, cache: false, contentType: false, processData: false }).done(function(response) { let errorSplit = JSON.parse(response); if(Object.getOwnPropertyNames(errorSplit).length === 0) { if(onSubmitLinkTo) { resetPage_6eaa557a3b2f493bb8820586a1d798cf(); $('#contact_loader' + uniqueId).fadeOut(); $('#loader_cover' + uniqueId).fadeOut(); onSubmitLinkTo.onclick= addButtonGA(); if(isPublisher) { onSubmitLinkTo = onSubmitLinkTo.replace('/content', ''); } if($("#isUniqueDealer" + uniqueId).val() === 'true' && $("#isServiceOrder" + uniqueId).val() === 'true') { let confirmationPageUrl = new URL(onSubmitLinkTo, [window.location.origin]); confirmationPageUrl.searchParams.set('location', $("#branchID"+uniqueId).val()); window.location = confirmationPageUrl; } else { window.location = onSubmitLinkTo; } } else { $('#modal-content-form').html(successMsg); $('#contact_loader' + uniqueId).fadeOut(); $('#loader_cover' + uniqueId).fadeOut(); $("#modalThankYou" + uniqueId).modal(); } } else { $('#contact_loader' + uniqueId).fadeOut(); $('#loader_cover' + uniqueId).fadeOut(); let errorMessageId = "ErrorMessage".concat(uniqueId); let errorMessage; if(errorSplit.hasOwnProperty('invalidValidation')) { for(let ctr = 0; ctr < errorSplit.invalidValidation.length; ctr++) { errorMessage = errorSplit.invalidValidation[ctr].split('_'); $('#'+ errorMessage[0] + errorMessageId).html(errorMessage[1]); $('#'+ errorMessage[0] + uniqueId).attr("aria-invalid", "true"); } $("[aria-invalid='true']").on("input", function() { let targetId = event.target.id; let controlName = targetId.split("_")[0]; $('#' + targetId).removeAttr("aria-invalid"); $('#'+ controlName + errorMessageId).empty(); }); } else if(errorSplit.hasOwnProperty('invalidInput')) { $('#errorText' + uniqueId).append(errorSplit.invalidInput); } } }).fail(function (xhr, status, error) { $('#errorText' + uniqueId).append(defaultErrorMessage); }); } function optInOutFunctionality_6eaa557a3b2f493bb8820586a1d798cf() { for(i=1; i<=1; i++){ if(!$('#optOut' + i + uniqueId ).is(":checked") && $('#optOut' + i + uniqueId ).attr("data-requiredcheck") === "required") { $('#submitContactUs' + uniqueId).prop('disabled', true); $('#errorMessageForCheckbox' + i + uniqueId).text(""); } } } $( document ).ready(function() { addOnChangeOrFocusOut("#primaryAreaOfInterest", uniqueId, '(This Field is Required)', true); addOnChangeOrFocusOut("#country", uniqueId, '(This Field is Required)', true); if (!String.prototype.startsWith) { String.prototype.startsWith = function(searchString, position) { startsWith(this, searchString, position); } } if (!String.prototype.endsWith) { String.prototype.endsWith = function(searchString, position) { endsWith(this, searchString, position); }; } // Commenting the auto complete feature for street address and will be enabled in future // Crown.Components.ContactFormGoogleMaps.autoCompleteInitialize(uniqueId); disableContactFields(uniqueId); getStateDropdownValues(uniqueId, "/content/fr-ca/contact-us/jcr:content/mainpar/column/column1/contactformcomponent", '(This Field is Required)'); optInOutFunctionality_6eaa557a3b2f493bb8820586a1d798cf(); }); $(window).resize(function(){ $(".iti__country-list").css("width", $(".iti").width()); }); function addButtonGA() { let currentPage = window.location.href; if(window.dataLayer) { if(!(currentPage.includes("staging") || currentPage.includes("en-cn") || currentPage.includes("zh-cn"))) { dataLayer.push({ 'event': 'contact_form_submission', 'eventCategory': 'contact us form', 'eventAction': 'submitted', 'eventLabel': currentPage }); } } } </script></div> </div> </div> </div> </div> </div> </div> <script> // If column is the parent of bricks component, this custom CSS will be applied to column. $(document).ready( function() { if($('#bgImage_2bfad06d08f3409da466f076bfc38a8c').children('div').children('.container-inner').children('.brickscomponent').length > 0) { $('#bgImage_2bfad06d08f3409da466f076bfc38a8c').addClass('bricksRow'); } }); </script> </div> </div></div> <!-- Copyright Crown Equipment Corporation. All rights reserved. --> <script src="/etc/clientlibs/global-web/clientlib.lc-80ad870cbd36fb4c764a3d7ae4b19797-lc.min.js"></script> <script src="/etc/clientlibs/global-web/dealerLocator.lc-34b7eb83f7ff98f3e18ca101708169f9-lc.min.js"></script> <script> jQuery(document).ready(function() { Crown.Common.Helper.checkReferrer(); }); </script> <!--If the country is Australia then we need to activate call tracking service --> <!--If the country is New zealand then we need to activate call tracking service --> <script> jQuery(document).ready(function() { jQuery("img").each(function() { if (this.complete) { jQuery(this).load(); } }); }); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10