CINXE.COM

Salesforce Careers: Communication Preferences

<!doctype html> <html lang="en"> <head><meta name="ROBOTS" content="INDEX,FOLLOW"><meta name="keywords" content=""><meta name="description" content=""> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="icon" type="image/x-icon" href="https://www.salesforce.com/etc/designs/sfdc-www/en_us/favicon.ico"/> <link rel="shortcut icon" type="image/x-icon" href="https://www.salesforce.com/etc/designs/sfdc-www/en_us/favicon.ico"/> <title>Salesforce Careers: Communication Preferences</title> <!-- Bootstrap 5 core CSS --> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css" rel="stylesheet"/> <!-- Phone field CSS --> <link href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css" rel="stylesheet"/> <!-- fonts --> <link href="prefs-fonts" rel="stylesheet"> <!-- slds --> <link href="slds" rel="stylesheet"> <!-- local styles --> <link href="prefs-styles" rel="stylesheet"> <!-- Phone input JavaScript --> <script src="intlTelInput.min.js"></script> <style> .righttoleft,.righttoleft::placeholder{ text-align:right; } .floatright{ float:right; } </style> </head> <body class="d-flex flex-column min-vh-100"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="none"> <symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52" id="info"> <path d="M26 2C12.7 2 2 12.7 2 26s10.7 24 24 24 24-10.7 24-24S39.3 2 26 2zm0 12.1c1.7 0 3 1.3 3 3s-1.3 3-3 3-3-1.3-3-3 1.3-3 3-3zm5 21c0 .5-.4.9-1 .9h-8c-.5 0-1-.3-1-.9v-2c0-.5.4-1.1 1-1.1.5 0 1-.3 1-.9v-4c0-.5-.4-1.1-1-1.1-.5 0-1-.3-1-.9v-2c0-.5.4-1.1 1-1.1h6c.5 0 1 .5 1 1.1v8c0 .5.4.9 1 .9.5 0 1 .5 1 1.1v2z"></path> </symbol> <symbol viewBox="0 0 52 52" id="down" xmlns="http://www.w3.org/2000/svg"> <path d="M8.3 14h35.4c1 0 1.7 1.3.9 2.2L27.3 37.4c-.6.8-1.9.8-2.5 0L7.3 16.2c-.7-.9-.1-2.2 1-2.2z"></path> </symbol> <symbol viewBox="0 0 52 52" id="success" xmlns="http://www.w3.org/2000/svg"> <path d="M26 2C12.7 2 2 12.7 2 26s10.7 24 24 24 24-10.7 24-24S39.3 2 26 2zm13.4 18L24.1 35.5c-.6.6-1.6.6-2.2 0L13.5 27c-.6-.6-.6-1.6 0-2.2l2.2-2.2c.6-.6 1.6-.6 2.2 0l4.4 4.5c.4.4 1.1.4 1.5 0L35 15.5c.6-.6 1.6-.6 2.2 0l2.2 2.2c.7.6.7 1.6 0 2.3z"/> </symbol> <symbol viewBox="0 0 52 52" id="close" xmlns="http://www.w3.org/2000/svg"> <path d="M31 25.4l13-13.1c.6-.6.6-1.5 0-2.1l-2-2.1c-.6-.6-1.5-.6-2.1 0L26.8 21.2c-.4.4-1 .4-1.4 0L12.3 8c-.6-.6-1.5-.6-2.1 0l-2.1 2.1c-.6.6-.6 1.5 0 2.1l13.1 13.1c.4.4.4 1 0 1.4L8 39.9c-.6.6-.6 1.5 0 2.1l2.1 2.1c.6.6 1.5.6 2.1 0L25.3 31c.4-.4 1-.4 1.4 0l13.1 13.1c.6.6 1.5.6 2.1 0L44 42c.6-.6.6-1.5 0-2.1L31 26.8c-.4-.4-.4-1 0-1.4z"/> </symbol> <symbol viewBox="0 0 52 52" id="error" xmlns="http://www.w3.org/2000/svg"> <path d="M26 2C12.8 2 2 12.8 2 26s10.8 24 24 24 24-10.8 24-24S39.2 2 26 2zM8 26c0-9.9 8.1-18 18-18 3.9 0 7.5 1.2 10.4 3.3L11.3 36.4C9.2 33.5 8 29.9 8 26zm18 18c-3.9 0-7.5-1.2-10.4-3.3l25.1-25.1C42.8 18.5 44 22.1 44 26c0 9.9-8.1 18-18 18z"/> </symbol> </svg> <header> <div class="container"> <nav class="navbar pb-0"> <a class="navbar-brand" href="https://www.salesforce.com/company/careers/"> <svg viewBox="0 0 225.61 86.39" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="logo" > <clipPath id="a"> <path d="m0 0h279.17v86.39h-279.17z"/> </clipPath> <g clip-path="url(#a)"> <path d="m51.36 9.42a21.65 21.65 0 0 1 34.69 4.58 26.35 26.35 0 0 1 10.77-2.3 26.85 26.85 0 0 1 0 53.69 26 26 0 0 1 -5.25-.53 19.44 19.44 0 0 1 -25.48 8 22.2 22.2 0 0 1 -41.26-1 20.3 20.3 0 0 1 -4.23.45 20.86 20.86 0 0 1 -10.3-38.85 24 24 0 0 1 41.06-24" fill="#00a1e0"/> <g fill="#fff"> <path d="m17.88 44.8c-.08.2 0 .25.05.28.23.17.47.29.7.43a7.61 7.61 0 0 0 3.69.86c2.54 0 4.11-1.35 4.11-3.52 0-2-1.78-2.73-3.44-3.26l-.22-.07c-1.25-.4-2.34-.76-2.34-1.58 0-.7.64-1.22 1.62-1.22a7.34 7.34 0 0 1 3.22.82s.24.16.33-.08.47-1.26.52-1.38a.24.24 0 0 0 -.12-.38 7.13 7.13 0 0 0 -3.62-1h-.26c-2.31 0-3.93 1.4-3.93 3.4 0 2.11 1.78 2.8 3.45 3.28l.27.08c1.22.37 2.27.69 2.27 1.55 0 .79-.68 1.37-1.78 1.37a6 6 0 0 1 -3.26-.94c-.18-.1-.28-.18-.42-.26a.2.2 0 0 0 -.33.11z"/> <path d="m54.94 44.8c-.08.2 0 .25.05.28a7.45 7.45 0 0 0 .71.43 7.61 7.61 0 0 0 3.69.86c2.53 0 4.1-1.35 4.1-3.52 0-2-1.77-2.73-3.44-3.26l-.21-.07c-1.26-.4-2.34-.76-2.34-1.58 0-.7.63-1.22 1.61-1.22a7.31 7.31 0 0 1 3.22.82s.24.16.33-.08.47-1.26.52-1.38a.24.24 0 0 0 -.12-.29 7.2 7.2 0 0 0 -3.63-1h-.25c-2.32 0-3.94 1.4-3.94 3.4 0 2.11 1.79 2.8 3.46 3.28l.27.08c1.21.37 2.27.69 2.27 1.55 0 .79-.69 1.37-1.79 1.37a6 6 0 0 1 -3.26-.94c-.18-.1-.28-.17-.42-.26a.21.21 0 0 0 -.33.11z"/> <path d="m82.36 38.28a5.08 5.08 0 0 0 -1-1.83 4.68 4.68 0 0 0 -1.63-1.24 5.93 5.93 0 0 0 -4.53 0 4.64 4.64 0 0 0 -1.62 1.24 4.93 4.93 0 0 0 -1 1.83 8.47 8.47 0 0 0 0 4.54 5 5 0 0 0 1 1.84 4.48 4.48 0 0 0 1.62 1.22 5.93 5.93 0 0 0 4.53 0 4.52 4.52 0 0 0 1.63-1.22 5.12 5.12 0 0 0 1-1.84 8.47 8.47 0 0 0 0-4.54m-2.12 2.27a5.25 5.25 0 0 1 -.67 2.88 2.29 2.29 0 0 1 -2.06 1 2.26 2.26 0 0 1 -2.05-1 5.31 5.31 0 0 1 -.67-2.88 5.26 5.26 0 0 1 .67-2.86 2.25 2.25 0 0 1 2.05-1 2.28 2.28 0 0 1 2.06 1 5.17 5.17 0 0 1 .67 2.86"/> <path d="m99.71 44.1a.2.2 0 0 0 -.27-.12 5.87 5.87 0 0 1 -1 .28 8.23 8.23 0 0 1 -1.16.08 3.23 3.23 0 0 1 -2.42-.91 4 4 0 0 1 -.9-2.89 4.46 4.46 0 0 1 .81-2.78 2.75 2.75 0 0 1 2.34-1 7.09 7.09 0 0 1 2.24.32s.16.07.24-.15c.19-.51.32-.88.52-1.44a.19.19 0 0 0 -.13-.25 8.38 8.38 0 0 0 -1.41-.36 12.28 12.28 0 0 0 -1.59-.1 5.76 5.76 0 0 0 -2.35.45 4.87 4.87 0 0 0 -1.63 1.2 5.19 5.19 0 0 0 -1 1.84 7.26 7.26 0 0 0 -.35 2.28 6.09 6.09 0 0 0 1.35 4.2 5.36 5.36 0 0 0 4.17 1.57 8.68 8.68 0 0 0 3-.53.19.19 0 0 0 .09-.25z" fill-rule="evenodd"/> <path d="m110.52 37.88a4.49 4.49 0 0 0 -.91-1.67 4.22 4.22 0 0 0 -1.36-1 5.2 5.2 0 0 0 -2-.41 5.58 5.58 0 0 0 -2.36.46 4.81 4.81 0 0 0 -1.65 1.25 5.32 5.32 0 0 0 -1 1.86 8.37 8.37 0 0 0 -.31 2.28 7.87 7.87 0 0 0 .32 2.29 4.59 4.59 0 0 0 2.84 3 7.19 7.19 0 0 0 2.6.42 7.48 7.48 0 0 0 3.6-.72c.08 0 .15-.12.06-.34l-.49-1.3a.21.21 0 0 0 -.27-.12 6.93 6.93 0 0 1 -2.93.53 3.41 3.41 0 0 1 -2.45-.85 3.33 3.33 0 0 1 -.83-2.37h7.15a.21.21 0 0 0 .21-.19 7.65 7.65 0 0 0 -.22-3.08m-7.11 1.5a4.16 4.16 0 0 1 .58-1.69 2.27 2.27 0 0 1 2-1 2.23 2.23 0 0 1 2 1 3.58 3.58 0 0 1 .47 1.69z" fill-rule="evenodd"/> <path d="m53.23 37.88a4.34 4.34 0 0 0 -2.23-2.71 5.27 5.27 0 0 0 -2.05-.41 5.55 5.55 0 0 0 -2.36.46 4.72 4.72 0 0 0 -1.65 1.25 5.16 5.16 0 0 0 -1 1.86 8 8 0 0 0 -.31 2.28 7.87 7.87 0 0 0 .32 2.29 4.76 4.76 0 0 0 1 1.82 4.69 4.69 0 0 0 1.8 1.19 7.17 7.17 0 0 0 2.59.42 7.5 7.5 0 0 0 3.66-.72c.08 0 .15-.12.06-.34l-.49-1.27a.21.21 0 0 0 -.27-.12 7 7 0 0 1 -2.94.53 2.95 2.95 0 0 1 -3.28-3.22h7.16a.2.2 0 0 0 .2-.19 7.55 7.55 0 0 0 -.21-3.08m-7.11 1.5a4.16 4.16 0 0 1 .57-1.69 2.29 2.29 0 0 1 2.05-1 2.2 2.2 0 0 1 2 1 3.47 3.47 0 0 1 .48 1.69z" fill-rule="evenodd"/> <path d="m33.5 39c-.29 0-.67 0-1.12 0a6.79 6.79 0 0 0 -1.76.22 4.74 4.74 0 0 0 -1.49.69 3.46 3.46 0 0 0 -1 1.18 3.52 3.52 0 0 0 -.38 1.65 3.87 3.87 0 0 0 .25 1.65 3.09 3.09 0 0 0 1 1.12 4.17 4.17 0 0 0 1.45.63 9.19 9.19 0 0 0 1.9.19 13.06 13.06 0 0 0 2.17-.18c.7-.12 1.56-.3 1.8-.35l.51-.13a.22.22 0 0 0 .16-.23v-6.54a4 4 0 0 0 -1.14-3.16 4.86 4.86 0 0 0 -3.29-1 12.34 12.34 0 0 0 -1.92.17 7 7 0 0 0 -2.2.81.23.23 0 0 0 -.06.29l.5 1.36a.19.19 0 0 0 .24.11l.11-.06a7.38 7.38 0 0 1 3.12-.72 2.87 2.87 0 0 1 1.77.46c.39.3.59.75.59 1.7v.31c-.62-.09-1.18-.14-1.18-.14m-2.85 5a1.27 1.27 0 0 1 -.41-.42 1.73 1.73 0 0 1 -.21-.93 1.58 1.58 0 0 1 .63-1.39 3.34 3.34 0 0 1 2.08-.51 14.49 14.49 0 0 1 1.94.16v3.26a15 15 0 0 1 -1.93.25 3.2 3.2 0 0 1 -2.1-.42"/> <path d="m91.2 35.35a.2.2 0 0 0 -.11-.26 7 7 0 0 0 -1.2-.2 3.49 3.49 0 0 0 -1.84.3 3.21 3.21 0 0 0 -1.21.89v-.87a.21.21 0 0 0 -.21-.22h-1.83a.21.21 0 0 0 -.21.22v10.67a.21.21 0 0 0 .22.21h1.88a.21.21 0 0 0 .22-.21v-5.33a6.55 6.55 0 0 1 .23-1.88 2.75 2.75 0 0 1 .63-1.05 2.1 2.1 0 0 1 .89-.53 3.18 3.18 0 0 1 1-.14 3.86 3.86 0 0 1 .78.1.24.24 0 0 0 .26-.2c.13-.32.47-1.3.54-1.5" fill-rule="evenodd"/> <path d="m73.56 30.41a4.62 4.62 0 0 0 -.71-.17 5.42 5.42 0 0 0 -1-.08 4.09 4.09 0 0 0 -3 1.09 5.92 5.92 0 0 0 -1.44 3.24l-.09.49h-1.62a.24.24 0 0 0 -.24.21l-.27 1.48c0 .15 0 .24.24.24h1.57l-1.61 9a10.53 10.53 0 0 1 -.39 1.71 3.59 3.59 0 0 1 -.49 1 1.38 1.38 0 0 1 -.66.5 2.47 2.47 0 0 1 -.84.13 2.78 2.78 0 0 1 -.57-.07 1.8 1.8 0 0 1 -.39-.12.2.2 0 0 0 -.26.11c-.06.15-.48 1.31-.53 1.46a.21.21 0 0 0 .11.28 3.93 3.93 0 0 0 .65.19 4.07 4.07 0 0 0 1 .1 5.25 5.25 0 0 0 1.78-.2 3.37 3.37 0 0 0 1.32-1 4.65 4.65 0 0 0 .93-1.6 13.43 13.43 0 0 0 .63-2.4l1.61-9.11h2.36a.26.26 0 0 0 .24-.21l.26-1.49c0-.14 0-.23-.23-.23h-2.29a9.83 9.83 0 0 1 .37-1.59 2 2 0 0 1 .5-.77 1.58 1.58 0 0 1 .6-.37 2.65 2.65 0 0 1 .77-.11 2.61 2.61 0 0 1 .59.06l.36.09c.23.07.27 0 .31-.11l.55-1.51a.18.18 0 0 0 -.13-.24" fill-rule="evenodd"/> <rect height="15.7" rx=".22" width="2.31" x="39.29" y="30.39"/> </g> </g> <text fill="#032e61" font-family="SalesforceSans-Regular, Salesforce Sans" font-size="30.17" letter-spacing="-.01em" transform="translate(129.82 46.09)">c <tspan letter-spacing="-.04em" x="14.78" y="0">a</tspan> <tspan letter-spacing="-.03em" x="30.17" y="0">r</tspan> <tspan letter-spacing="-.03em" x="40.19" y="0">e</tspan> <tspan letter-spacing="-.04em" x="56.33" y="0">e</tspan> <tspan letter-spacing="-.01em" x="72.2" y="0">r</tspan> <tspan letter-spacing="-.01em" x="82.88" y="0">s</tspan> </text> </svg> </a> </nav> <h1 id="page-title" class="mb-2">Communication Preferences</h1> </div> </header> <main role="main"> <div class="container-lg"> <form> <div class="row"> <div class="col-md-4"> <h2 id="column1-header">Your information</h2> <p id="column1-intro" class="header-intro"></p> <div class="card mt-3"> <div class="card-body"> <div class="slds-form-element mb-2" id="email-address-element"> <label class="slds-form-element__label" for="email-address"><span id="email-address-text">Email</span></label> <div class="slds-form-element__control"> <input type="email" id="email-address" placeholder="Your Email Address" name="email" value="" class="slds-input" onblur="validateField(this)"> <div class="slds-form-element__help" id="email-address-help" style="display: none;"></div> </div> </div> <div class="slds-form-element mb-2" id="firstname-element"> <label class="slds-form-element__label" for="firstname"> <abbr class="slds-required" title="required" id="firstname-label" style="display: none;">* </abbr> <span id="firstname-text">First Name</span> </label> <div class="slds-form-element__control"> <input type="text" name="firstname" id="firstname" placeholder="Your First Name" value="" class="slds-input info-field" onblur="validateField(this)"> <div class="slds-form-element__help" id="firstname-help" style="display: none;"></div> </div> </div> <div class="slds-form-element mb-2" id="lastname-element"> <label class="slds-form-element__label" for="lastname"> <abbr class="slds-required" title="required" id="lastname-label" style="display: none;">* </abbr> <span id="lastname-text">Last Name</span> </label> <div class="slds-form-element__control"> <input type="text" name="lastname" id="lastname" placeholder="Your Last Name" value="" class="slds-input info-field" onblur="validateField(this)"> <div class="slds-form-element__help" id="lastname-help" style="display: none;"></div> </div> </div> <div class="slds-form-element mb-2" id="phone-element"> <label class="slds-form-element__label" for="phone"> <span id="phone-text">Mobile Phone</span> </label> <div class="slds-form-element__control"> <input type="tel" name="phone" id="phone" placeholder="Your Mobile Number" class="slds-input" onblur="validateField(this)"> <div class="slds-form-element__help" id="phone-help" style="display: none;"></div> </div> </div> <div class="slds-form-element slds-input-has-icon slds-input-has-icon_right mb-2" id="location-element"> <label class="slds-form-element__label" for="horizontal-combobox-id-02" id="combobox-label-id-64"> <abbr class="slds-required" title="required" id="location-label" style="display: none;">* </abbr> <location id="location-text">Location</location> </label> <div class="slds-form-element__icon"> <button class="slds-button slds-button_icon" onclick="showTip('loc');"> <svg class="slds-button__icon" aria-hidden="true"> <use xlink:href="#info"></use> </svg> <span class="slds-assistive-text">Help</span> </button> <div class="slds-popover slds-popover_tooltip slds-nubbin_bottom-left d-none" role="tooltip" id="loc" style="position:absolute;top:-50px;left:-16px;height:40px;width:200px;"> <div class="slds-popover__body">Your current country of residence.</div> </div> </div> <div class="slds-form-element__control" > <div class="slds-select_container"> <select class="slds-select info-field" id="location" name="country" onblur="validateField(this)"> <option value="" selected>Choose one&hellip;</option> </select> <span class="slds-icon_container slds-icon-utility-down slds-input__icon slds-input__icon_right"> <svg class="slds-icon slds-icon slds-icon_x-small slds-icon-text-default" aria-hidden="true"> <use xlink:href="#down"></use> </svg> </span> </div> </div> <div class="slds-form-element__help" id="location-help" style="display: none;"></div> </div> <div class="slds-form-element slds-input-has-icon slds-input-has-icon_right mb-2" id="language-element"> <label class="slds-form-element__label" for="language"><abbr class="slds-required" title="required" id="language-label" style="display: none;">* </abbr> <span id="language-text">Preferred Language</span> </label> <div class="slds-form-element__control"> <div class="slds-select_container"> <select class="slds-select info-field" id="language" name="language" onblur="validateField(this)"> </select> <span class="slds-icon_container slds-icon-utility-down slds-input__icon slds-input__icon_right"> <svg class="slds-icon slds-icon slds-icon_x-small slds-icon-text-default" aria-hidden="true"> <use xlink:href="#down"></use> </svg> </span> </div> </div> <div class="slds-form-element__help" id="language-help" style="display: none;"></div> </div> </div> </div> </div> <div class="col-md-4"> <h2 id="column2-header">Your Subscriptions</h2> <p id="column2-intro" class="header-intro">Choose the emails you&rsquo;d like to receive from Salesforce.</p> <div class="card mt-3"> <div class="card-body d-flex"> <div class="w-100"> <h3 id="recruitment-header">Salesforce Recruitment</h3> <p id="recruitment-intro" class="pe-4">I would like Salesforce Recruiting to reach out to me with personalized career opportunities.</p> </div> <div class="slds-form-element px-0 pt-4 me-4"> <label class="slds-checkbox_toggle slds-grid"> <input type="checkbox" id="recruitment-toggle" name="salesforce-recruitment" aria-describedby="salesforce-recruitment" checked="" onclick="optOut(this,'careers')"> <span class="slds-checkbox_faux_container" aria-live="assertive"> <span class="slds-checkbox_faux"></span> <span class="slds-checkbox_on">Enabled</span> <span class="slds-checkbox_off">Disabled</span> </span> </label> </div> </div> </div> <div class="card mt-3"> <div class="card-body d-flex"> <div class="w-100"> <h3 id="newsletter-header">Life at Salesforce Newsletter</h3> <p id="newsletter-intro" class="pe-4">I would like to receive periodic communications that share relevant career resources, employee stories, interview tips, and more.</p> </div> <div class="slds-form-element px-0 pt-4 me-4"> <label class="slds-checkbox_toggle slds-grid"> <input type="checkbox" id="newsletter-toggle" name="salesforce-newsletter" aria-describedby="salesforce-news" checked="" onclick="optOut(this,'updates')"> <span class="slds-checkbox_faux_container" aria-live="assertive"> <span class="slds-checkbox_faux"></span> <span class="slds-checkbox_on">Enabled</span> <span class="slds-checkbox_off">Disabled</span> </span> </label> </div> </div> </div> <div class="card mt-3"> <div class="card-body d-flex"> <div class="w-100"> <h3 id="unsubscribe-header">Unsubscribe</h3> <p id="unsubscribe-intro" class="pe-4">Unsubscribe from all Salesforce Recruiting communications.</p> <div class="slds-form-element pt-2" id="snooze-element" style="display: none;" > <div class="slds-form-element__control"> <div class="slds-checkbox"> <input type="checkbox" id="snooze" class="interest-type" name="snooze" value="snooze" > <label class="slds-checkbox__label" for="snooze"> <span class="slds-checkbox_faux"></span> <span class="slds-form-element__label">Take a break for three months</span> </label> </div> </div> </div> </div> <div class="slds-form-element px-0 pt-4 me-4"> <label class="slds-checkbox_toggle slds-grid"> <input type="checkbox" id="unsubscribe-toggle" name="email-unsub" aria-describedby="salesforce-news" onclick="optOut(this,'careers|updates|snooze')"> <span class="slds-checkbox_faux_container" aria-live="assertive"> <span class="slds-checkbox_faux"></span> <span class="slds-checkbox_on">Enabled</span> <span class="slds-checkbox_off">Disabled</span> </span> </label> </div> </div> </div> </div> <div class="col-md-4"> <h2 id="column3-header">Your Interests</h2> <p id="column3-intro" class="header-intro">Let us know what you&rsquo;re most interested in so we can provide customized content for your career journey.</p> <div class="card mt-3"> <div class="card-body"> <h3 id="job-category-text">Job Category</h3> <div class="slds-form-element slds-input-has-icon slds-input-has-icon_right mb-2" id="language-element"> <div class="slds-form-element__control"> <div class="slds-select_container"> <select class="slds-select info-field" id="careerPath" name="career"> <option value="">Choose one&hellip;</option> </select> <span class="slds-icon_container slds-icon-utility-down slds-input__icon slds-input__icon_right"> <svg class="slds-icon slds-icon slds-icon_x-small slds-icon-text-default" aria-hidden="true"> <use xlink:href="#down"></use> </svg> </span> </div> </div> </div> </div> </div> <div class="card mt-3"> <div class="card-body"> <h3 id="event-text">Events</h3> <div class="slds-form-element" id="events-updates-element"> <div class="slds-form-element__control"> <div class="slds-checkbox"> <input type="checkbox" id="events-updates" name="events" class="interest-type" value="updates" onclick="manageUpdates(this)"> <label class="slds-checkbox__label" for="events-updates"> <span class="slds-checkbox_faux"></span> <span class="slds-form-element__label" id="event-checkbox">Events Updates</span> </label> </div> </div> </div> <p id="event-cb-desc">Invites to Recruiting events and webinars</p> </div> </div> <div class="card mt-3"> <div class="card-body"> <h3 id="equality-text">Equality</h3> <div class="slds-form-element" id="equality-updates-element"> <div class="slds-form-element__control"> <div class="slds-checkbox"> <input type="checkbox" id="equality-updates" class="interest-type" name="equality" value="updates" onclick="manageUpdates(this)"> <label class="slds-checkbox__label" for="equality-updates"> <span class="slds-checkbox_faux"></span> <span class="slds-form-element__label" id="equality-checkbox">Equality Updates</span> </label> </div> </div> </div> <p id="equality-cb-desc">Equality and diversity news</p> </div> </div> <div class="card mt-3"> <div class="card-body"> <h3 id="hot-jobs-text">Hot Job Alerts</h3> <div class="slds-form-element" id="hotjobs-updates-element"> <div class="slds-form-element__control"> <div class="slds-checkbox"> <input type="checkbox" id="hotjobs-updates" name="hotjobs" class="interest-type" value="updates" onclick="manageUpdates(this)"> <label class="slds-checkbox__label" for="hotjobs-updates"> <span class="slds-checkbox_faux"></span> <span id="hot-jobs-checkbox" class="slds-form-element__label">Job Updates</span> </label> </div> </div> </div> <p id="hot-jobs-cb-desc">Periodic emails with personalized job alerts</p> </div> </div> </div> </div> <div class="text-center my-5 settings"> <button class="btn btn-primary" type="button" id="submit-form" onclick="submitForm();">Confirm Preferences</button> </div> </form> </div> </main> <footer class="flex-wrap justify-content-between align-items-center mt-auto py-3"> <div class="container px-5"> <div class="text-white mb-3 px-2 px-sm-0"> <p>&copy; Copyright 2025 Salesforce.com, inc.&nbsp; <a class="text" ref="https://www.salesforce.com/company/legal/intellectual/" adhocenable="false">All rights reserved</a>. Various trademarks held by their respective owners. Salesforce.com, inc. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States. </p> </div> </div> <div class="container px-5"> <ul class="list-unstyled px-2 px-sm-0"> <li class="d-md-inline-block"> <a class="me-md-4 mobile-col" href="https://www.salesforce.com/company/legal/" target="_blank">Legal</a> <a class="me-md-4 mobile-col" href="https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/" target="_blank">Terms of Service</a> </li> <li class="d-md-inline-block"> <a class="me-md-4 mobile-col" href="https://www.salesforce.com/company/privacy/" target="_blank">Privacy</a> <a class="me-md-4 mobile-col" href="https://www.salesforce.com/company/disclosure/" target="_blank">Responsible Disclosure</a> </li> <li class="d-md-inline-block hide_mobile"> <a class="me-md-4" href="https://trust.salesforce.com/en/" target="_blank">Trust</a> <a class="me-md-4" href="https://www.salesforce.com/company/contact-us/" target="_blank">Contact</a> <a class="me-md-4" target="_blank" href="#" data-ignore-geolocation="true">Cookie Preferences</a> </li> </ul> </div> </footer> <div class="notification notification-success toast" data-bs-animation="true" id="notify-submit" role="alert" aria-live="assertive" aria-atomic="true"> <div class="slds-notification-container"> <div aria-live="assertive" aria-atomic="true" id="notify-assist-msg" class="slds-assistive-text"></div> <section class="slds-notification" role="dialog" aria-labelledby="noti-86" aria-describedby="dialog-body-id-85"> <div class="slds-notification__body" id="dialog-body-id-85"> <a class="slds-notification__target slds-media" href="#"> <span class="slds-icon slds-icon-text-default" title="success"> <svg class="slds-icon slds-icon_small" id="notify-symbol-svg" aria-hidden="true"> <use id="notify-symbol" xlink:href="#"></use> </svg> <span class="slds-assistive-text" id="notify-heading"></span> </span> <div class="slds-media__body"> <h2 class="slds-text-heading_small slds-m-bottom_xx-small" id="notify-msg"> <span class="slds-assistive-text">Notification message:</span> <span id="notify-heading-assist"></span></h2> <p id="notify-info"></p> </div> </a> <button class="slds-button slds-button_icon slds-button_icon-container slds-notification__close" title="Close confirmation message" type="button" class="btn-close" data-bs-dismiss="toast"> <svg class="slds-button__icon" aria-hidden="true"> <use xlink:href="#close"></use> </svg> <span class="slds-assistive-text">Close notification message</span> </button> </div> </section> </div> </div> <!-- Bootstrap core --> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/js/bootstrap.min.js"></script> <script> var id = ''; var cid = ''; var langCode = 'en-US'; const menus = {"countries":[{"code":"US","name":"United States"}, {"code":"CA","name":"Canada"}, {"code":"AF","name":"Afghanistan"}, {"code":"AL","name":"Albania"}, {"code":"DZ","name":"Algeria"}, {"code":"AS","name":"American Samoa"}, {"code":"AD","name":"Andorra"}, {"code":"AO","name":"Angola"}, {"code":"AI","name":"Anguilla"}, {"code":"AQ","name":"Antarctica"}, {"code":"AG","name":"Antigua &amp; Barbuda"}, {"code":"AR","name":"Argentina"}, {"code":"AM","name":"Armenia"}, {"code":"AW","name":"Aruba"}, {"code":"AU","name":"Australia"}, {"code":"AT","name":"Austria"}, {"code":"AZ","name":"Azerbaijan"}, {"code":"BS","name":"Bahama"}, {"code":"BH","name":"Bahrain"}, {"code":"BD","name":"Bangladesh"}, {"code":"BB","name":"Barbados"}, {"code":"BY","name":"Belarus"}, {"code":"BE","name":"Belgium"}, {"code":"BZ","name":"Belize"}, {"code":"BJ","name":"Benin"}, {"code":"BM","name":"Bermuda"}, {"code":"BT","name":"Bhutan"}, {"code":"BO","name":"Bolivia"}, {"code":"BA","name":"Bosnia and Herzegovina"}, {"code":"BW","name":"Botswana"}, {"code":"BV","name":"Bouvet Island"}, {"code":"BR","name":"Brazil"}, {"code":"IO","name":"British Indian Ocean Territory"}, {"code":"VG","name":"British Virgin Islands"}, {"code":"BN","name":"Brunei Darussalam"}, {"code":"BG","name":"Bulgaria"}, {"code":"BF","name":"Burkina Faso"}, {"code":"BI","name":"Burundi"}, {"code":"KH","name":"Cambodia"}, {"code":"CM","name":"Cameroon"}, {"code":"CV","name":"Cape Verde"}, {"code":"KY","name":"Cayman Islands"}, {"code":"CF","name":"Central African Republic"}, {"code":"TD","name":"Chad"}, {"code":"CL","name":"Chile"}, {"code":"CN","name":"China"}, {"code":"CX","name":"Christmas Island"}, {"code":"CC","name":"Cocos (Keeling) Islands"}, {"code":"CO","name":"Colombia"}, {"code":"KM","name":"Comoros"}, {"code":"CG","name":"Congo"}, {"code":"CK","name":"Cook Islands"}, {"code":"CR","name":"Costa Rica"}, {"code":"CI","name":"Cote D'ivoire (Ivory Coast)"}, {"code":"HR","name":"Croatia"}, {"code":"CU","name":"Cuba"}, {"code":"CY","name":"Cyprus"}, {"code":"CZ","name":"Czech Republic"}, {"code":"DK","name":"Denmark"}, {"code":"DJ","name":"Djibouti"}, {"code":"DM","name":"Dominica"}, {"code":"DO","name":"Dominican Republic"}, {"code":"TP","name":"East Timor"}, {"code":"EC","name":"Ecuador"}, {"code":"EG","name":"Egypt"}, {"code":"SV","name":"El Salvador"}, {"code":"GQ","name":"Equatorial Guinea"}, {"code":"ER","name":"Eritrea"}, {"code":"EE","name":"Estonia"}, {"code":"ET","name":"Ethiopia"}, {"code":"FK","name":"Falkland Islands (Malvinas)"}, {"code":"FO","name":"Faroe Islands"}, {"code":"FJ","name":"Fiji"}, {"code":"FI","name":"Finland"}, {"code":"FR","name":"France"}, {"code":"GF","name":"French Guiana"}, {"code":"PF","name":"French Polynesia"}, {"code":"TF","name":"French Southern Territories"}, {"code":"GA","name":"Gabon"}, {"code":"GM","name":"Gambia"}, {"code":"GE","name":"Georgia"}, {"code":"DE","name":"Germany"}, {"code":"GH","name":"Ghana"}, {"code":"GI","name":"Gibraltar"}, {"code":"GR","name":"Greece"}, {"code":"GL","name":"Greenland"}, {"code":"GD","name":"Grenada"}, {"code":"GP","name":"Guadeloupe"}, {"code":"GU","name":"Guam"}, {"code":"GT","name":"Guatemala"}, {"code":"GN","name":"Guinea"}, {"code":"GW","name":"Guinea-Bissau"}, {"code":"GY","name":"Guyana"}, {"code":"HT","name":"Haiti"}, {"code":"HM","name":"Heard &amp; McDonald Islands"}, {"code":"HN","name":"Honduras"}, {"code":"HK","name":"Hong Kong"}, {"code":"HU","name":"Hungary"}, {"code":"IS","name":"Iceland"}, {"code":"IN","name":"India"}, {"code":"ID","name":"Indonesia"}, {"code":"IQ","name":"Iraq"}, {"code":"IE","name":"Ireland"}, {"code":"IR","name":"Iran"}, {"code":"IL","name":"Israel"}, {"code":"IT","name":"Italy"}, {"code":"JM","name":"Jamaica"}, {"code":"JP","name":"Japan"}, {"code":"JO","name":"Jordan"}, {"code":"KZ","name":"Kazakhstan"}, {"code":"KE","name":"Kenya"}, {"code":"KI","name":"Kiribati"}, {"code":"KW","name":"Kuwait"}, {"code":"KG","name":"Kyrgyzstan"}, {"code":"LA","name":"Lao People's Democratic Republic"}, {"code":"LA","name":"Laos"}, {"code":"LV","name":"Latvia"}, {"code":"LB","name":"Lebanon"}, {"code":"LS","name":"Lesotho"}, {"code":"LR","name":"Liberia"}, {"code":"LY","name":"Libyan Arab Jamahiriya"}, {"code":"LI","name":"Liechtenstein"}, {"code":"LT","name":"Lithuania"}, {"code":"LU","name":"Luxembourg"}, {"code":"MO","name":"Macau"}, {"code":"MK","name":"Macedonia"}, {"code":"MG","name":"Madagascar"}, {"code":"MW","name":"Malawi"}, {"code":"MY","name":"Malaysia"}, {"code":"MV","name":"Maldives"}, {"code":"ML","name":"Mali"}, {"code":"MT","name":"Malta"}, {"code":"MH","name":"Marshall Islands"}, {"code":"MQ","name":"Martinique"}, {"code":"MR","name":"Mauritania"}, {"code":"MU","name":"Mauritius"}, {"code":"YT","name":"Mayotte"}, {"code":"MX","name":"Mexico"}, {"code":"FM","name":"Micronesia"}, {"code":"MD","name":"Moldova"}, {"code":"MC","name":"Monaco"}, {"code":"MN","name":"Mongolia"}, {"code":"MS","name":"Monserrat"}, {"code":"ME","name":"Montenegro"}, {"code":"MA","name":"Morocco"}, {"code":"MZ","name":"Mozambique"}, {"code":"MM","name":"Myanmar"}, {"code":"NA","name":"Namibia"}, {"code":"NR","name":"Nauru"}, {"code":"NP","name":"Nepal"}, {"code":"NL","name":"Netherlands"}, {"code":"AN","name":"Netherlands Antilles"}, {"code":"NC","name":"New Caledonia"}, {"code":"NZ","name":"New Zealand"}, {"code":"NI","name":"Nicaragua"}, {"code":"NE","name":"Niger"}, {"code":"NG","name":"Nigeria"}, {"code":"NU","name":"Niue"}, {"code":"NF","name":"Norfolk Island"}, {"code":"MP","name":"Northern Mariana Islands"}, {"code":"NO","name":"Norway"}, {"code":"OM","name":"Oman"}, {"code":"PK","name":"Pakistan"}, {"code":"PW","name":"Palau"}, {"code":"PA","name":"Panama"}, {"code":"PG","name":"Papua New Guinea"}, {"code":"PY","name":"Paraguay"}, {"code":"PE","name":"Peru"}, {"code":"PH","name":"Philippines"}, {"code":"PN","name":"Pitcairn"}, {"code":"PL","name":"Poland"}, {"code":"PT","name":"Portugal"}, {"code":"PR","name":"Puerto Rico"}, {"code":"QA","name":"Qatar"}, {"code":"RE","name":"Réunion"}, {"code":"RO","name":"Romania"}, {"code":"RU","name":"Russia"}, {"code":"RU","name":"Russian Federation"}, {"code":"RW","name":"Rwanda"}, {"code":"KN","name":"Saint Kitts and Nevis"}, {"code":"LC","name":"Saint Lucia"}, {"code":"WS","name":"Samoa"}, {"code":"SM","name":"San Marino"}, {"code":"ST","name":"Sao Tome &amp; Principe"}, {"code":"SA","name":"Saudi Arabia"}, {"code":"SN","name":"Senegal"}, {"code":"RS","name":"Serbia"}, {"code":"SC","name":"Seychelles"}, {"code":"SL","name":"Sierra Leone"}, {"code":"SG","name":"Singapore"}, {"code":"SK","name":"Slovakia"}, {"code":"SI","name":"Slovenia"}, {"code":"SB","name":"Solomon Islands"}, {"code":"SO","name":"Somalia"}, {"code":"ZA","name":"South Africa"}, {"code":"GS","name":"South Georgia and the South Sandwich Islands"}, {"code":"ES","name":"Spain"}, {"code":"LK","name":"Sri Lanka"}, {"code":"SH","name":"St. Helena"}, {"code":"KN","name":"St. Kitts and Nevis"}, {"code":"PM","name":"St. Pierre &amp; Miquelon"}, {"code":"VC","name":"St. Vincent &amp; the Grenadines"}, {"code":"SD","name":"Sudan"}, {"code":"SR","name":"Suriname"}, {"code":"SJ","name":"Svalbard &amp; Jan Mayen Islands"}, {"code":"SZ","name":"Swaziland"}, {"code":"SE","name":"Sweden"}, {"code":"CH","name":"Switzerland"}, {"code":"SY","name":"Syrian Arab Republic"}, {"code":"TW","name":"Taiwan"}, {"code":"TJ","name":"Tajikistan"}, {"code":"TH","name":"Thailand"}, {"code":"TG","name":"Togo"}, {"code":"TK","name":"Tokelau"}, {"code":"TO","name":"Tonga"}, {"code":"TT","name":"Trinidad &amp; Tobago"}, {"code":"TN","name":"Tunisia"}, {"code":"TR","name":"Turkey"}, {"code":"TM","name":"Turkmenistan"}, {"code":"TC","name":"Turks &amp; Caicos Islands"}, {"code":"TV","name":"Tuvalu"}, {"code":"UG","name":"Uganda"}, {"code":"UA","name":"Ukraine"}, {"code":"AE","name":"United Arab Emirates"}, {"code":"GB","name":"United Kingdom"}, {"code":"UM","name":"United States Minor Outlying Islands"}, {"code":"VI","name":"United States Virgin Islands"}, {"code":"UY","name":"Uruguay"}, {"code":"UZ","name":"Uzbekistan"}, {"code":"VU","name":"Vanuatu"}, {"code":"VA","name":"Vatican City State (Holy See)"}, {"code":"VE","name":"Venezuela"}, {"code":"VN","name":"Vietnam"}, {"code":"WF","name":"Wallis &amp; Futuna Islands"}, {"code":"EH","name":"Western Sahara"}, {"code":"YE","name":"Yemen"}, {"code":"YU","name":"Yugoslavia"}, {"code":"ZR","name":"Zaire"}, {"code":"ZM","name":"Zambia"}, {"code":"ZW","name":"Zimbabwe"}],"languages":[{"value":"Arabic","name":"Arabic"}, {"value":"Armenian","name":"Armenian"}, {"value":"Azerbaijani","name":"Azerbaijani"}, {"value":"Bengali","name":"Bengali"}, {"value":"Bosnian","name":"Bosnian"}, {"value":"Burmese","name":"Burmese"}, {"value":"Chinese","name":"Chinese"}, {"value":"Croatian","name":"Croatian"}, {"value":"Dutch","name":"Dutch"}, {"value":"English","name":"English"}, {"value":"French","name":"French"}, {"value":"German","name":"German"}, {"value":"Greek","name":"Greek"}, {"value":"Gujarati","name":"Gujarati"}, {"value":"Hausa","name":"Hausa"}, {"value":"Hebrew","name":"Hebrew"}, {"value":"Hindi","name":"Hindi"}, {"value":"Italian","name":"Italian"}, {"value":"Japanese","name":"Japanese"}, {"value":"Javanese","name":"Javanese"}, {"value":"Kannada","name":"Kannada"}, {"value":"Kazakh","name":"Kazakh"}, {"value":"Korean","name":"Korean"}, {"value":"Kurdish","name":"Kurdish"}, {"value":"Lao","name":"Lao"}, {"value":"Malayalam","name":"Malayalam"}, {"value":"Marathi","name":"Marathi"}, {"value":"Nauru","name":"Nauru"}, {"value":"Norwegian","name":"Norwegian"}, {"value":"Oriya","name":"Oriya"}, {"value":"Persian","name":"Persian"}, {"value":"Polish","name":"Polish"}, {"value":"Portuguese","name":"Portuguese"}, {"value":"Romanian","name":"Romanian"}, {"value":"Russian","name":"Russian"}, {"value":"Samoan","name":"Samoan"}, {"value":"Serbian","name":"Serbian"}, {"value":"Sindhi","name":"Sindhi"}, {"value":"Slovak","name":"Slovak"}, {"value":"Slovenian","name":"Slovenian"}, {"value":"Somali","name":"Somali"}, {"value":"Spanish","name":"Spanish"}, {"value":"Sundanese","name":"Sundanese"}, {"value":"Swahili","name":"Swahili"}, {"value":"Swati","name":"Swati"}, {"value":"Swedish","name":"Swedish"}, {"value":"Tagalog","name":"Tagalog"}, {"value":"Tajik","name":"Tajik"}, {"value":"Tamil","name":"Tamil"}, {"value":"Telugu","name":"Telugu"}, {"value":"Thai","name":"Thai"}, {"value":"Turkish","name":"Turkish"}, {"value":"Ukrainian","name":"Ukrainian"}, {"value":"Vietnamese","name":"Vietnamese"}, {"value":"Yoruba","name":"Yoruba"}],"jobs":[{"value":"Tech - Engineering","name":"Software Engineering"}, {"value":"Administrative Support","name":"Corporate"}, {"value":"Customer Success Group","name":"Customer Success"}, {"value":"Employee Success Group","name":"Employee Success"}, {"value":"Corporate Development","name":"Development & Strategy"}, {"value":"Finance and Operations","name":"Finance"}, {"value":"Legal","name":"Legal & Global Affairs"}, {"value":"Marketing","name":"Marketing & Communications"}, {"value":"Operations","name":"Operations"}, {"value":"Products and Technology","name":"Product"}, {"value":"Program/Project Management","name":"Program & Project Management"}, {"value":"Sales","name":"Sales"}, {"value":"User Experience","name":"User Experience"}, {"value":"Compliance","name":"Compliance"}, {"value":"Data","name":"Data"}, {"value":"Real Estate & Facility Management","name":"Real Estate & Facility Management"}, {"value":"Enterprise Technology & Infrastructure","name":"Enterprise Technology & Infrastructure"}, {"value":"Other","name":"Other"}],"errorMsg":{"en-US":{"email-address":"Please enter your email address","invalid-email":"Email address is invalid","invalid-email-try-another":"Your email is not valid. Please try an alternative email address. ","updating-prefs":"Updating Preferences","confirm-prefs":"Confirm Preferences","prefs-updated":"Your preferences have been updated","prefs-not-updated":"Preferences not updated","try-again-later":"Your preferences could not be saved. Please try again later.","review-highlighted-fields":"Please review highlighted fields","update-success":"Update Successful","firstname":"Please enter your first name","lastname":"Please enter your last name","phone":"Please enter a valid mobile phone number","location":"Please choose your location","language":"Please choose your preferred language","firstname-placeholder":"Your First Name","lastname-placeholder":"Your Last Name","email-address-placeholder":"Your Email Address","phone-placeholder":"Your Mobile Number","location-placeholder":"Choose one...","language-placeholder":"Choose one...","careerPath-placeholder":"Choose one..."},"fr-FR":{"email-address":"Saisis ton adresse e-mail","invalid-email":"Adresse e-mail invalide","invalid-email-try-another":"Ton adresse e-mail n’est pas valide. Essaie une autre adresse e-mail.","updating-prefs":"Mise à jour des préférences","confirm-prefs":"Confirmation des préférences","prefs-updated":"Tes préférences ont été mises à jour","prefs-not-updated":"Preferences not updated","try-again-later":"Tes préférences n’ont pas pu être enregistrées. Réessaie plus tard.","review-highlighted-fields":"Revois les champs en surbrillance","update-success":"Mise à jour réussie","firstname":"Saisis ton prénom","lastname":"Saisis ton nom de famille","phone":"Saisis un numéro de téléphone portable valide","location":"Choisis ta localisation","language":"Choisis ta langue privilégiée","firstname-placeholder":"Ton prénom","lastname-placeholder":"Ton nom de famille","email-address-placeholder":"Ton adresse e-mail","phone-placeholder":"Ton numéro de téléphone portable","location-placeholder":"Choisis...","language-placeholder":"Choisis...","careerPath-placeholder":"Choisis..."},"pt-BR":{"email-address":"Por favor, introduz o teu endereço de e-mail","firstname":"Por favor, introduz o teu nome próprio","lastname":"Por favor, introduz o teu apelido","invalid-email":"Endereço de e-mail inválido","phone":"Por favor, introduz um número de telemóvel válido","location":"Por favor, escolhe a tua localização","language":"Por favor, escolhe o idioma da tua preferência","prefs-updated":"As tuas preferências foram atualizadas","try-again-later":"Não foi possível guardar as tuas preferências. Por favor, tenta mais tarde.","invalid-email-try-another":"O teu e-mail não é válido. Por favor, tenta um endereço de e-mail alternativo.","review-highlighted-fields":"Por favor, verifica os campos assinalados","update-success":"Atualização bem-sucedida","updating-prefs":"A atualizar as preferências...","confirm-prefs":"Confirmar preferências","prefs-not-updated":"Preferences not updated","firstname-placeholder":"O teu nome próprio","lastname-placeholder":"O teu apelido","email-address-placeholder":"O teu endereço de e-mail","phone-placeholder":"O teu número de telemóvel","location-placeholder":"Escolhe um...","language-placeholder":"Escolhe um...","careerPath-placeholder":"Escolhe um..."},"he-IL":{"email-address":"נא להזין את כתובת האימייל שלך","firstname":"אנא הכנס את שמך הפרטי","lastname":"אנא הכנס את שם המשפחה שלך","invalid-email":"כתובת הדואר האלקטרוני לא חוקית","phone":"נא להזין מספר טלפון נייד חוקי","location":"אנא בחר את מיקומך","language":"אנא בחר את השפה המועדפת עליך","prefs-updated":"העדפותיך עודכנו","try-again-later":"לא הייתה אפשרות לשמור את ההעדפות שלך. אנא נסה שוב מאוחר יותר.","invalid-email-try-another":"האימייל שלך לא חוקי. אנא נסה כתובת דוא\"ל חלופית.","review-highlighted-fields":"אנא סקור את השדות המודגשים","update-success":"עדכון הצליח","updating-prefs":"...מעדכן העדפות","confirm-prefs":"אשר העדפות","prefs-not-updated":"העדפות לא מעודכנות","firstname-placeholder":"שמך הפרטי","lastname-placeholder":"שם המשפחה שלך","email-address-placeholder":"כתובת הדוא\"ל שלך","phone-placeholder":"מספר הטלפון הנייד שלך","location-placeholder":"...בחר אחד","language-placeholder":"...בחר אחד","careerPath-placeholder":"...בחר אחד"},"es-ES":{"email-address":"Escribe tu dirección de email","firstname":"Escribe tu nombre","lastname":"Escribe tu apellido","invalid-email":"La dirección de email no es válida","phone":"Escribe un número de teléfono móvil válido","location":"Selecciona tu ubicación","language":"Selecciona tu idioma preferido","prefs-updated":"Se han actualizado tus preferencias","try-again-later":"Tus preferencias no se han podido guardar. Vuelve a intentarlo más tarde.","invalid-email-try-another":"Tu email no es válido. Prueba con una dirección de email distinta.","review-highlighted-fields":"Revisa los campos resaltados","update-success":"Actualización completada","updating-prefs":"Preferencias de actualización...","confirm-prefs":"Confirmar preferencias","prefs-not-updated":"Preferencias no actualizadas","firstname-placeholder":"Escribe aquí tu nombre","lastname-placeholder":"Escribe aquí tu apellido","email-address-placeholder":"Escribe aquí tu dirección de email","phone-placeholder":"Escribe aquí tu número de móvil","location-placeholder":"Selecciona uno...","language-placeholder":"Selecciona uno...","careerPath-placeholder":"Selecciona una..."},"fy-NL":{"email-address":"Vul je e-mailadres in","firstname":"Vul je voornaam in","lastname":"Vul je achternaam in","invalid-email":"Het e-mailadres is ongeldig","phone":"Vul een geldig mobiel nummer in","location":"Kies je land","language":"Kies je taalvoorkeur","prefs-updated":"Je voorkeuren zijn bijgewerkt","try-again-later":"Je voorkeuren kunnen niet opgeslagen worden. Probeer het later opnieuw.","invalid-email-try-another":"Je e-mailadres is ongeldig. Vul een ander e-mailadres in.","review-highlighted-fields":"Controleer de gemarkeerde velden","update-success":"Het bijwerken is gelukt","updating-prefs":"Voorkeuren bijwerken...","confirm-prefs":"Voorkeuren bevestigen","prefs-not-updated":"Preferences not updated","firstname-placeholder":"Je voornaam","lastname-placeholder":"Je achternaam","email-address-placeholder":"Je e-mailadres","phone-placeholder":"Je mobiele nummer","location-placeholder":"Kies één optie...","language-placeholder":"Kies één optie...","careerPath-placeholder":"Kies één optie..."},"de-DE":{"email-address":"Bitte gib deine E-Mail-Adresse ein","firstname":"Bitte gib deinen Vornamen ein","lastname":"Bitte gib deinen Nachnamen ein","invalid-email":"E-Mail-Adresse ist ungültig","phone":"Bitte gib eine gültige Handynummer ein","location":"Bitte wähle deinen Standort","language":"Bitte wähle deine bevorzugte Sprache","prefs-updated":"Deine Einstellungen wurden aktualisiert","try-again-later":"Deine Einstellungen konnten nicht gespeichert werden. Bitte versuche es später noch einmal.","invalid-email-try-another":"Diese E-Mail-Adresse ist ungültig. Bitte gib eine andere E-Mail-Adresse ein.","review-highlighted-fields":"Bitte überprüfe die markierten Felder","update-success":"Aktualisierung erfolgreich","updating-prefs":"Einstellungen werden aktualisiert","confirm-prefs":"Einstellungen bestätigen","prefs-not-updated":"Einstellungen nicht aktualisiert","firstname-placeholder":"Dein Vorname","lastname-placeholder":"Dein Nachname","email-address-placeholder":"Deine E-Mail-Adresse","phone-placeholder":"Deine Handynummer","location-placeholder":"Bitte wähle eine der Optionen...","language-placeholder":"Bitte wähle eine der Optionen...","careerPath-placeholder":"Bitte wähle eine der Optionen..."},"ja-JP":{"email-address":"Eメールアドレスを記入してください。","invalid-email":"Eメールアドレスが無効です。","invalid-email-try-another":"あなたのメールアドレスは無効です。別のメールアドレスをお試しください。","updating-prefs":"プリファレンスの更新","confirm-prefs":"入力内容を確認","prefs-updated":"あなたの設定が更新されました","prefs-not-updated":"更新できませんでした","try-again-later":"あなたの設定を保存できませんでした。後でもう一度お試しください。","review-highlighted-fields":"太文字で表示された箇所を確認してください","update-success":"更新されました","firstname":"あなたの名前を入力してください","lastname":"あなたの名字を入力してください","phone":"携帯番号を記入してください。","location":"居住地を選択してください","language":"言語を選択してください。","firstname-placeholder":"あなたの名","lastname-placeholder":"あなたの姓","email-address-placeholder":"あなたのメールアドレス","phone-placeholder":"あなたの携帯番号","location-placeholder":"1つの...を選択してください","language-placeholder":"1つの...を選択してください"}},"labels":[{"en-US":{"column1-header":"For English this","column1-intro":"is not","email-address-text":"used","firstname-text":"but rather","lastname-text":"just here","phone-text":"as a placholder","location-text":"so you can see","language-text":"how to add","column2-header":"other languages","column2-intro":"you will need","recruitment-header":"all of these same fields","recruitment-intro":"because we are using javascript","newsletter-header":"to set the innerText property","newsletter-intro":"and each object key you see here","unsubscribe-header":"correlates to an ID on the page","unsubscribe-intro":"You may be asking, why not keep it consistent?","page-title":"Well because should JavaScript fail","column3-header":"the text on the main page is hard coded and will","column3-intro":"still work","job-category-text":"cheers","event-text":"and","event-checkbox":"happy","event-cb-desc":"programming","equality-text":"","equality-checkbox":"","equality-cb-desc":"","hot-jobs-text":"","hot-jobs-checkbox":"","hot-jobs-cb-desc":"","submit-form":""},"fr-FR":{"column1-header":"Tes coordonnées","column1-intro":"","email-address-text":"E-mail","firstname-text":"Prénom","lastname-text":"Nom de famille","phone-text":"Portable","location-text":"Domicile","language-text":"Préférences linguistiques","column2-header":"Tes abonnements","column2-intro":"Sélectionne les e-mails que tu souhaites recevoir de la part de Salesforce.","recruitment-header":"Recrutement Salesforce","recruitment-intro":"Je souhaite être contacté(e) par Salesforce au sujet d’offres d’emploi personnalisées.","newsletter-header":"Newsletter « Life at Salesforce »","newsletter-intro":"Je souhaite recevoir des communications périodiques contenant des ressources utiles, des témoignages d’employés, des astuces pour les entretiens et plus encore.","unsubscribe-header":"Se désabonner","unsubscribe-intro":"Se désabonner de toutes les communications de Salesforce.","page-title":"Préférences de communication","column3-header":"Tes centres d’intérêt","column3-intro":"Dis-nous ce qui t’intéresse afin qu’on te fournisse un contenu personnalisé pour ta recherche d’emploi.","job-category-text":"Catégorie d’emploi","event-text":"Événements","event-checkbox":"Actus concernant les événements","event-cb-desc":"Invitations aux événements et webinaires de Recrutement","equality-text":"Égalité","equality-checkbox":"Actus concernant l’égalité","equality-cb-desc":"Informations relatives à l’égalité et à la diversité","hot-jobs-text":"Alertes pour les emplois recherchés","hot-jobs-checkbox":"Actus concernant les offres d’emploi","hot-jobs-cb-desc":"E-mails périodiques avec des alertes personnalisées pour des offres d’emploi","submit-form":"Confirmation des préférences"},"pt-BR":{"column1-header":"Os teus dados","column2-header":"As tuas subscrições","column3-header":"Tes centres d’intérêt","column1-intro":"","column2-intro":"Sélectionne les e-mails que tu souhaites recevoir de la part de Salesforce.","column3-intro":"Dis-nous ce qui t’intéresse afin qu’on te fournisse un contenu personnalisé pour ta recherche d’emploi.","email-address-text":"E-mail","firstname-text":"Nome próprio","lastname-text":"Apelido","phone-text":"Telemóvel","location-text":"Localização","language-text":"Idioma preferido","recruitment-header":"Recrutamento Salesforce","recruitment-intro":"Gostaria de receber informações do Recrutamento Salesforce sobre oportunidades de carreira personalizadas.","newsletter-header":"Newsletter Life at Salesforce","newsletter-intro":"Gostaria de receber comunicações periódicas que partilhem recursos de carreira relevantes, histórias de colaboradores, conselhos para entrevistas, entre outros.","unsubscribe-header":"Cancelar subscrição","unsubscribe-intro":"Cancela a subscrição de todas as comunicações do Recrutamento Salesforce.","page-title":"Preferências de Comunicação","job-category-text":"Categoria de trabalho","event-text":"Eventos","event-checkbox":"Atualizações sobre eventos","event-cb-desc":"Convites para eventos e webinars do Recrutamento","equality-text":"Igualdade","equality-checkbox":"Atualizações sobre igualdade","equality-cb-desc":"Notícias sobre igualdade e diversidade","hot-jobs-text":"Alertas de emprego interessantes","hot-jobs-checkbox":"Atualizações sobre emprego","hot-jobs-cb-desc":"E-mails periódicos com alertas de emprego personalizados","submit-form":"Confirmar preferências"},"he-IL":{"column1-header":"המידע שלך","column2-header":"העדפות הדיוור שלך","column3-header":"?מה מעניין אותך","column1-intro":"","column2-intro":"אלה המיילים שיגיעו אלייך מסיילספורס","column3-intro":".זה המקום לוודא שהתוכן שיגיע אלייך יהיה רלוונטי עבורך","email-address-text":"כתובת דוא\"ל","firstname-text":"שם פרטי","lastname-text":"שם משפחה","phone-text":"נייד","location-text":"מקום מגורים","language-text":"שפה מועדפת","recruitment-header":"צוות הגיוס של סיילספורס","recruitment-intro":".אשמח לקבל הזדמנויות קריירה מותאמות אישית","newsletter-header":"החיים בסיילספורס","newsletter-intro":".אשמח לקבל מיילים עם מאגרי מידע לקריירה, סיפורי עובדים, טיפים לראיונות עבודה ועוד","unsubscribe-header":"ביטול רישום","unsubscribe-intro":".בטל את המנוי לכל התקשורת של צוות הגיוס בסיילספורס","page-title":"העדפות תקשורת","job-category-text":"?מה התחום שלך","event-text":"אירועים","event-checkbox":"עדכוני אירועים","event-cb-desc":"הזמנות לאירועי גיוס וסמינרים מקוונים","equality-text":"שוויון והכללה","equality-checkbox":"עדכונים בנושא שוויון והכללה","equality-cb-desc":"חדשות שוויון והכללה","hot-jobs-text":"התראות עבודות חמות","hot-jobs-checkbox":"עדכוני עבודה","hot-jobs-cb-desc":"מיילים תקופתיים עם התראות עבודה מותאמות אישית","submit-form":"אשר העדפות"},"es-ES":{"column1-header":"Datos personales","column2-header":"Suscripciones","column3-header":"Intereses","column1-intro":"","column2-intro":"Elige las comunicaciones de email que puede enviarte Salesforce.","column3-intro":"Cuéntanos lo que más te interesa y recibe contenidos personalizados para tu orientación profesional.","email-address-text":"Email","firstname-text":"Nombre","lastname-text":"Apellido","phone-text":"Teléfono móvil","location-text":"País","language-text":"Idioma preferido","recruitment-header":"Contratación de Salesforce","recruitment-intro":"Deseo que el Departamento de contratación de Salesforce me envíe ofertas de empleo personalizadas.","newsletter-header":"Newsletter Life at Salesforce","newsletter-intro":"Deseo recibir regularmente comunicaciones con información práctica sobre recursos profesionales, historias de empleados y empleadas de Salesforce, consejos para las entrevistas y mucho más.","unsubscribe-header":"Cancelación de la suscripción","unsubscribe-intro":"Cancelar la suscripción a cualquier comunicación enviada por el Departamento de contratación de Salesforce.","page-title":"Preferencia de Comunicación","job-category-text":"Categoría de empleo","event-text":"Eventos","event-checkbox":"Actualizaciones de eventos","event-cb-desc":"Invitaciones a eventos y webinars del Departamento de contratación","equality-text":"Igualdad","equality-checkbox":"Actualizaciones en el área de igualdad","equality-cb-desc":"Noticias sobre igualdad y diversidad","hot-jobs-text":"Ofertas de empleo interesantes","hot-jobs-checkbox":"Actualizaciones de empleo","hot-jobs-cb-desc":"Comunicaciones periódicas por email con ofertas de empleo personalizadas","submit-form":"Confirmar preferencias"},"fy-NL":{"column1-header":"Jouw gegevens","column2-header":"Je abonnementen","column3-header":"Je interesses","column1-intro":"","column2-intro":"Kies de e-mails die je van Salesforce wilt ontvangen.","column3-intro":"Vertel ons waarin je het meest geïnteresseerd bent, zodat we je goed op de hoogte kunnen houden.","email-address-text":"E-mailadres","firstname-text":"Voornaam","lastname-text":"Achternaam","phone-text":"Mobiel","location-text":"Land","language-text":"Taalvoorkeur","recruitment-header":"Salesforce Recruitment","recruitment-intro":"Ik wil dat Salesforce Recruitment me benadert met persoonlijke vacatures.","newsletter-header":"Nieuwsbrief: Life at Salesforce","newsletter-intro":"Ik ontvang graag informatie over sollicitatiehulpmiddelen, medewerkersverhalen, tips voor sollicitatiegesprekken en nog veel meer.","unsubscribe-header":"Afmelden","unsubscribe-intro":"Meld je af voor alle berichten van Salesforce Recruitment.","page-title":"Communicatievoorkeur","job-category-text":"Functiecategorie","event-text":"Events","event-checkbox":"Nieuws over events","event-cb-desc":"Uitnodigingen voor events en webinars van Recruitment","equality-text":"Gelijkheid","equality-checkbox":"Nieuws over gelijkheid","equality-cb-desc":"Informatie over gelijkheid en diversiteit","hot-jobs-text":"Interessante vacatures","hot-jobs-checkbox":"Nieuwe vacatures","hot-jobs-cb-desc":"Periodieke e-mails met persoonlijke vacatures","submit-form":"Voorkeuren bevestigen"},"de-DE":{"column1-header":"Deine Daten","column2-header":"Deine Abonnements","column3-header":"Deine Interessen","column1-intro":"","column2-intro":"Wähle aus, welche E-Mails du von Salesforce erhalten möchtest.","column3-intro":"Was sind deine Interessen? Lass es uns wissen, damit wir dir personalisierte Inhalte, zugeschnitten auf deinen Karriereweg, zusenden können","email-address-text":"E-Mail-Adresse","firstname-text":"Vorname","lastname-text":"Nachname","phone-text":"Handy","location-text":"Ort","language-text":"Bevorzugte Sprache","recruitment-header":"Salesforce Personalbeschaffung","recruitment-intro":"Ich möchte von der Personalabteilung von Salesforce regelmäßig mit personalisierten Benachrichtigungen zu Stellenangeboten auf dem Laufenden gehalten werden.","newsletter-header":"Newsletter Life at Salesforce","newsletter-intro":"Ich möchte regelmäßig Mitteilungen mit relevanten Karriere-Ressourcen, Mitarbeiter-Stories, Tipps rund um das Vorstellungsgespräch und mehr erhalten.","unsubscribe-header":"Abmelden","unsubscribe-intro":"Von allen Mitteilungen der Personalabteilung von Salesforce abmelden.","page-title":"Kommunikationseinstellungen","job-category-text":"Stellenkategorie","event-text":"Events","event-checkbox":"Updates zu Veranstaltungen","event-cb-desc":"Einladungen zu Recruiting-Veranstaltungen und -Webinaren","equality-text":"Diversity","equality-checkbox":"Updates zur Gleichstellung","equality-cb-desc":"Neuigkeiten rund um Chancengleichheit und Diversität","hot-jobs-text":"Hot Jobs","hot-jobs-checkbox":"Updates zu den neuesten Stellenangeboten","hot-jobs-cb-desc":"Regelmäßige E-Mails mit personalisierten Job-Benachrichtigungen","submit-form":"Einstellungen bestätigen"},"ja-JP":{"column1-header":"あなたの情報","column2-header":"あなたの購読設定","column3-header":"あなたのご関心","column1-intro":"","column2-intro":"Salesforceから受信したいメールの項目を選択ください。","column3-intro":"あなたが関心のあるキャリアトピックスに合わせたコンテンツを配信いたします。","email-address-text":"メールアドレス","firstname-text":"名","lastname-text":"姓","phone-text":"携帯番号","location-text":"居住地","language-text":"言語","recruitment-header":"Salesforce採用情報","recruitment-intro":"自身に適した求人情報の提供を希望します。","newsletter-header":"Life at Salesforce ニュースレター","newsletter-intro":"キャリアに 関する情報、社員の体験談、面接のコツなど、定期的な配信を希望します。","unsubscribe-header":"配信停止","unsubscribe-intro":"Salesforce Recruitingからの配信を停止します。","page-title":"情報の配信設定","job-category-text":"ジョブカテゴリー","event-text":"イベント","event-checkbox":"イベントの最新情報","event-cb-desc":"採用イベントやウェビナーへの招待","equality-text":"イクオリティ(平等)","equality-checkbox":"イクオリティ(平等)に関する最新情報","equality-cb-desc":"平等と多様性に関するニュース","hot-jobs-text":"注目の求人","hot-jobs-checkbox":"求人アップデート","hot-jobs-cb-desc":"あなたに合った求人情報の定期的なメール","submit-form":"設定を確認"}}]}; //if language is not English, load translated labels if(langCode != 'en-US'){ const content = menus.labels; let labels = content[0][langCode]; Object.keys(labels).forEach( element => { let elem = document.getElementById(element); elem.innerText = labels[element]; if(langCode == 'he-IL' && element!='submit-form'){ elem.classList.add("righttoleft"); } }); } var errorMsg = menus.errorMsg; const country = ''; var countryList = document.getElementById('location'); var countries = menus.countries; for (let i = 0; i < countries.length; i++) { var opt = document.createElement('option'); opt.innerHTML = countries[i].name; opt.value = countries[i].code; if (countries[i].code == country) { opt.setAttribute('selected', true); } countryList.options.add(opt); } const lang = ''; //user language from CRM var langList = document.getElementById('language'); var languages = menus.languages; // var defaultLang = 'English'; for (let i = 0; i < languages.length; i++) { var opt = document.createElement('option'); opt.innerHTML = languages[i].name; opt.value = languages[i].value; if (languages[i].value == lang) { opt.setAttribute('selected', true); } langList.options.add(opt); } if(!lang) { // insert choose one var choose = document.createElement('option'); //choose.text = 'Choose one...'; choose.text = errorMsg[langCode]["language-placeholder"]; if(langCode == 'he-IL'){ choose.classList.add("righttoleft") } choose.value = ''; choose.setAttribute('selected', true); langList.prepend(choose); } const job = ''; var jobList = document.getElementById('careerPath'); //var jobs = menus.jobs; //var jobs = menus.jobsML[0][langCode]; //it was way easier to store and load this stuff from a data extension, so it's a bit different var jobs = [{value:"Compliance",name:"Compliance"},{value:"Administrative Support",name:"Corporate"},{value:"Customer Success Group",name:"Customer Success"},{value:"Data",name:"Data"},{value:"Corporate Development",name:"Development & Strategy"},{value:"Employee Success Group",name:"Employee Success"},{value:"Enterprise Technology & Infrastructure",name:"Enterprise Technology & Infrastructure"},{value:"Finance and Operations",name:"Finance"},{value:"Legal",name:"Legal & Global Affairs"},{value:"Marketing",name:"Marketing & Communications"},{value:"Operations",name:"Operations"},{value:"Products and Technology",name:"Product"},{value:"Program/Project Management",name:"Program & Project Management"},{value:"Real Estate & Facility Management",name:"Real Estate & Facility Management"},{value:"Sales",name:"Sales"},{value:"Tech - Engineering",name:"Software Engineering"},{value:"User Experience",name:"User Experience"},{value:"Other",name:"Other"}] for (let i = 0; i < jobs.length; i++) { var opt = document.createElement('option'); opt.innerHTML = jobs[i].name; opt.value = jobs[i].value; if (jobs[i].value == job) { opt.setAttribute('selected', true); } jobList.options.add(opt); } //update placeholders if(langCode != 'en-US'){ let fn = document.getElementById('firstname'); let ln = document.getElementById('lastname'); let em = document.getElementById('email-address'); let ph = document.getElementById('phone'); let lc = document.getElementById('location'); let cp = document.getElementById('careerPath'); fn.placeholder = errorMsg[langCode]["firstname-placeholder"]; ln.placeholder = errorMsg[langCode]["lastname-placeholder"]; em.placeholder = errorMsg[langCode]["email-address-placeholder"]; ph.placeholder = errorMsg[langCode]["phone-placeholder"]; lc.options[0].innerText = errorMsg[langCode]["location-placeholder"]; cp.options[0].innerText = errorMsg[langCode]["location-placeholder"];//yes, I'm reusing this one out of laziness, it's for the area of interest and there isn't a specific one for that field //you might be confused as to why language-placeholder is not here... it's on line 576 if(langCode == 'he-IL'){ fn.classList.add("righttoleft"); ln.classList.add("righttoleft"); em.classList.add("righttoleft"); ph.classList.add("righttoleft"); lc.classList.add("righttoleft"); cp.classList.add("righttoleft"); let labeldivs = document.querySelectorAll('.slds-form-element'); let cbs = document.querySelectorAll('.slds-checkbox_faux'); for(let i = 0;i < labeldivs.length;i++){ labeldivs[i].classList.add('righttoleft'); } for(let i = 0;i < cbs.length;i++){ cbs[i].classList.add('floatright'); } let headerstuff = ['column1-header','column2-header','column2-intro','column3-header','column3-intro','dialog-body-id-85','notify-submit']; headerstuff.forEach(element => document.getElementById(element).classList.add('hebrewheader')); document.getElementById('notify-submit').classList.add("righttoleft"); //console.log(labeldivs); } } var phoneInput = document.querySelector('#phone'); var iti = window.intlTelInput(phoneInput, { // initialize phone plugin preferredCountries: ['us','ca'], utilsScript: 'utils.js' }); iti.promise.then(function() { // Wait for initialisation requests to finish iti.setNumber('+'); if(iti.getNumberType() < 1 || iti.getNumberType() > 2) iti.setNumber('') // unset }); function showTip(id) { var el = document.getElementById(id); if (el.classList.contains('slds-rise-from-ground')) { el.classList.replace('slds-rise-from-ground', 'slds-fall-into-ground'); } else if (el.classList.contains('slds-fall-into-ground')) { el.classList.replace('slds-fall-into-ground', 'slds-rise-from-ground'); } else { // not yet clicked el.classList.replace('d-none', 'slds-rise-from-ground'); } } function scrollToTop() { document.body.scrollTop = 0; document.documentElement.scrollTop = 0; } function submitForm() { const checkFields = [ { name: 'firstname', required: true}, { name: 'lastname', required: true}, { name: 'location', required: true}, { name: 'language', required: true}, { name: 'phone', required: false} ]; var reqFields = []; var nonReqFields = []; for (let i = 0; i < checkFields.length; i++) { if (checkFields[i].required) { reqFields.push(checkFields[i].name); } else { nonReqFields.push(checkFields[i].name); } } var validationPass = true; for (let i = 0; i < reqFields.length; i++) { var field = document.getElementById(reqFields[i]); var helpMsg = document.getElementById(reqFields[i] + '-help'); if (!field.value || helpMsg.style.display == 'block') { // field is empty or help is visible validationPass = false; errorHandler(reqFields[i], true, reqFields, helpMsg.innerText); } } for (let i = 0; i < nonReqFields.length; i++) { // only check for active error var field = document.getElementById(nonReqFields[i]); var helpMsg = document.getElementById(nonReqFields[i] + '-help'); if (helpMsg.style.display == 'block') validationPass = false; } if (validationPass) { // submit form submittingForm(true); var formData = {}; var infoFields = []; var updates = []; var infoFieldList = document.getElementsByClassName('info-field'); for (var i = 0; i< infoFieldList.length; i++ ) { infoFields.push(infoFieldList[i].id); } for (let i = 0; i < infoFields.length; i++) { let name = infoFields[i]; formData[infoFields[i]] = document.getElementById(infoFields[i]).value; } var iti = window.intlTelInputGlobals.getInstance(phoneInput); // access lib instance var phoneValWithPrefix = iti.getNumber(); formData.phone = phoneValWithPrefix.slice(1); var eventUpdates = document.getElementById('events-updates').checked; var equalityUpdates = document.getElementById('equality-updates').checked; var hotjobsUpdates = document.getElementById('hotjobs-updates').checked; if (eventUpdates) updates.push('events'); if (equalityUpdates) updates.push('equality'); if (hotjobsUpdates) updates.push('hotjobs'); formData.createNew = id ? false : true; formData.updates = updates; formData.recruitmentOptin = document.getElementById('recruitment-toggle').checked; formData.newsletterOptin = document.getElementById('newsletter-toggle').checked; formData.emailOptOut = document.getElementById('unsubscribe-toggle').checked; formData.snooze = document.getElementById('snooze').checked; formData.prefsOnLoad = ''; formData.id = id ? id : ''; if (cid) formData.cid = cid; var emailVal = document.getElementById('email-address').value; if (emailVal) formData.email = emailVal; // console.log('formData:' + JSON.stringify(formData)); var xhr = new XMLHttpRequest(); xhr.open('POST', 'https://careers.mail.salesforce.com/prefs-handler'); xhr.send(JSON.stringify(formData)); xhr.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var obj = JSON.parse(this.responseText); if (obj.success) { id = obj.id; // new Leads and re-submits cid = obj.cid // campaign member id for new lead resubmit const emailInput = document.getElementById('email-address'); if (!emailInput.disabled) emailInput.disabled = true; // disallow editing notify('success'); } else if (obj.validEmail==false) { notify('invalidEmail'); } else { notify('fail'); } } else if (this.readyState == 4 && this.status != 200) { notify('fail'); } } } else { notify('error'); } } function optOut(el,str) { toggleSub(el); // toggle other subscriptions let arr = str.split('|'); var optout = false; if ((!el.checked && el.id!=='unsubscribe-toggle') || (el.id=='unsubscribe-toggle' && el.checked)) optout = true; // unsubscribe if (el.id == 'recruitment-toggle') { // disable job category document.getElementById('careerPath').disabled = optout; } else { for (let i = 0; i < arr.length; i++) { //let element = interest + '-' + arr[i]; disableFields(optout, arr[i]) // uncheck and disable or just check } } } function toggleSub(el) { let unsubId = 'unsubscribe-toggle'; let recruitToggle = document.getElementById('recruitment-toggle'); let newsToggle = document.getElementById('newsletter-toggle'); let unsubToggle = document.getElementById(unsubId); if(el.checked && el.id==unsubId) { // simulate other element onclick events if (recruitToggle.checked) recruitToggle.click(); if (newsToggle.checked) newsToggle.click(); } else if (!recruitToggle.checked && !newsToggle.checked && el.id!=unsubId) { unsubToggle.click(); // unsub } else if(!el.checked && el.id==unsubId) { recruitToggle.click(); // enable both subs on resub newsToggle.click(); disableFields(false); // re-enable all checkboxes } else if (el.checked && el.id==unsubId) { } else if (el.checked && el.id!==unsubId) { if (unsubToggle.checked) unsubToggle.checked = false; // don't simulate onclick document.getElementById('snooze').disabled = false; } } function disableFields(bool,val) { const checkboxes = document.getElementsByClassName('interest-type'); for (let i = 0; i < checkboxes.length; i++) { if (val) { // disable based on value if (checkboxes[i].value==val) { checkboxes[i].disabled = bool; if (bool) { checkboxes[i].checked = false; } } } else { // disable all checkboxes[i].disabled = bool; if (bool) { checkboxes[i].checked = false; } } } } function manageUpdates(input) { var updates = []; if (input.checked) { updates.push(input.name); } else { // unchecked pruneArr(updates,input.name); } } function pruneArr(arr, val) { const index = arr.indexOf(val); if (index > -1) { arr.splice(index, 1); // prune type from array if (arr.length==0 && arr == interestTypes) { // no types selected interest = ''; // clear interest } } } function resetHelp() { const elements = document.getElementsByClassName('interests-help'); while(elements.length > 0) { // remove help elements elements[0].parentNode.removeChild(elements[0]); } for (let i = 0; i < disabledInterests.length; i++) { // reset disabled checkboxes let element = disabledInterests[i]; document.getElementById(element).disabled = false; // enable errorHandler(element, false) } disabledInterests = []; // purge array } function validateField(input) { var msg = ''; if (input.id=='phone') { // validate phone field if (!validatePhoneNum(input.value) && input.value) { // ignore if blank //msg = 'Please enter a valid mobile phone number'; msg = errorMsg[langCode]["phone"]; errorHandler(input.id, true, null, msg); } else { errorHandler(input.id, false); } } else if (input.value.length < 1) { /* switch(input.id) { case 'location': msg = 'Please choose your location'; break; case 'language': msg = 'Please choose your preferred language'; break; default: msg = 'Please enter ' + input.placeholder.toLowerCase(); }*/ msg = errorMsg[langCode][input.id]; errorHandler(input.id, true, null, msg); } else if (String(input.value).match(/\p{Emoji_Presentation}/gu)) { errorHandler(input.id, true, null, 'Field contains unsupported characters'); } else if (input.id=='email-address') { validateEmail(input); } else { errorHandler(input.id, false); } } function validatePhoneNum() { var iti = window.intlTelInputGlobals.getInstance(phoneInput); // access lib instance var bool = iti.getNumberType() == 1 // is mobile number || iti.getNumberType() == 2; // is fixed line OR mobile for US (as cannot differentiate between the two) return bool; } function validateEmail(input) { if(input.value) { var filter = /^\s*[\w\-\+_]+(\.[\w\-\+_]+)*\@[\w\-\+_]+\.[\w\-\+_]+(\.[\w\-\+_]+)*\s*$/; if (String(input.value).search (filter) != -1) { errorHandler(input.id, false); } else { //errorHandler(input.id, true, null, 'Email address is invalid'); errorHandler(input.id, true, null, errorMsg[langCode]["invalid-email"]); } } } function submittingForm(bool) { const el = document.getElementById('submit-form'); var label = errorMsg[langCode]["confirm-prefs"]; if (bool) { label = errorMsg[langCode]["updating-prefs"]; el.setAttribute('disabled',''); } else { el.removeAttribute('disabled'); } document.getElementById('submit-form').innerHTML = label; } function notify(res) { var props = {}; if (res=='success') { props.result = 'Success'; props.assistMsg = 'Preferences updated successfully'; props.heading = errorMsg[langCode]["update-success"]; props.msg = errorMsg[langCode]["prefs-updated"]; props.symbol = 'success'; props.color = '#4bc076'; } else if (res=='fail') { props.result = 'Error'; props.assistMsg = 'There was an error updating your preferences'; props.heading = errorMsg[langCode]["prefs-not-updated"]; props.msg = errorMsg[langCode]["try-again-later"]; props.symbol = 'error'; props.color = '#ea001e'; } else if (res=='invalidEmail') { props.result = 'Error'; props.assistMsg = 'There was an error updating your preferences'; props.heading = errorMsg[langCode]["prefs-not-updated"]; props.msg = errorMsg[langCode]["invalid-email-try-alternative"]; props.symbol = 'error'; props.color = '#ea001e'; errorHandler('email-address', true, null, errorMsg[langCode]["invalid-email-try-alternative"]); } else if (res=='error') { props.result = 'Error'; props.assistMsg = 'Preferences not updated'; props.heading = errorMsg[langCode]["prefs-not-updated"]; props.msg = errorMsg[langCode]["review-highlighted-fields"]; props.symbol = 'error'; props.color = '#ea001e'; } document.getElementById('notify-assist-msg').innerHTML = props.assistMsg; document.getElementById('notify-heading').innerHTML = props.heading; document.getElementById('notify-heading-assist').innerHTML = props.heading; document.getElementById('notify-info').innerHTML = props.msg; document.getElementById('notify-symbol').setAttribute('xlink:href', '#' + props.symbol); document.getElementById('notify-symbol-svg').style.fill = props.color; scrollToTop(); var toast = document.getElementById('notify-submit'); toast.classList.remove('show'); void toast.offsetWidth; // required when restarting animation toast.classList.add('show'); delay(1000).then(() => submittingForm(false)); // distracting if button text changes immediately } function errorHandler(element, bool, reqFields, msg) { const errorClass = 'slds-has-error'; let formElement = document.getElementById(element + '-element'); let helpElement = document.getElementById(element + '-help'); if (reqFields) { if (reqFields.includes(element)) var labelElement = document.getElementById(element + '-label'); } if (bool) { formElement.classList.add(errorClass); helpElement.innerText = msg; helpElement.style.display = 'block'; if (reqFields) { if (reqFields.includes(element)) labelElement.style.display = 'inline-block'; } } else { formElement.classList.remove(errorClass); if (helpElement) { // not deleted interests help helpElement.style.display = 'none'; if (reqFields) { if (reqFields.includes(element)) labelElement.style.display = 'none'; } } } } function delay(time) { return new Promise(resolve => setTimeout(resolve, time)); } </script> </body> </html>

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