CINXE.COM
Get Higher Ed News, Delivered Right to You
<!DOCTYPE html><html ng-app="app" lang="en"><!-- ng-app is required in the html tag for the lookup to work --> <!-- EndFormCustomCSS --> <script type="text/javascript" src="https://www.cengage.com/webfiles/1547639954545/cengage/common/js/shared.js"></script> <!-- This is required. Lookup stops working without this --> <script type="text/javascript" src="https://www.cengage.com/webfiles/1547639954545/cengage/common/js/init.js"></script> <!-- This is required. Lookup stops working without this --> <script type="text/javascript" src="https://www.cengage.com/webfiles/1547639954545/cengage/common/js/forms.js"></script> <!-- This is required. Lookup stops working without this --> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Get Higher Ed News, Delivered Right to You</title> <!-- START FAVICON SCRIPT --> <link rel="icon" href="https://www.cengage.com/webfiles/1551436164406/cengage/common/favicons/favicon-32x32.png"> <!-- END FAVICON SCRIPT --> <!-- START Google Search Console Tag --> <meta name="google-site-verification" content="-FiCKma2R10tdUsrbn1Rf0M_BtenwrWdFy__wWo6ytU"> <!-- END Google Search Console Tag --> <!-- Google Tag Manager. Paste this code as high in the <head><meta name="ROBOTS" content="NOINDEX,NOFOLLOW"><meta name="keywords" content=""><meta name="description" content=""> of the page as possible. --> <script>(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-5ZZ9XQ9');</script> <!-- UPDATED Google Tag Manager. Paste this code as high in the <head><meta name="ROBOTS" content="NOINDEX,NOFOLLOW"><meta name="keywords" content=""><meta name="description" content=""> of the page as possible. --> <script type="text/javascript"> window.dataLayer = window.dataLayer || []; window.dataLayer.push({'event':'virtualPageView', 'page':{'name' : 'Get Higher Ed News, Delivered Right to You',/*REPLACE ME*/ 'pageType' : 'OptIn',/*REPLACE ME*/ 'countryCode' : 'US', 'domain' : window.location.hostname, 'environment' : 'prod', 'region' : 'USA', 'siteName' : 'Cengage', 'url' : window.location.href } } ); </script> <style type="text/css" media="screen"> html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code, form,fieldset,legend,input,button,textarea,p,blockquote,th td{margin:0;padding:0;}table{border-collapse:collapse;borderspacing:0;}fieldset,img{border:0;}address, caption,cite,code,dfn,em,strong,th,varoptgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}caption,th{text-align:left;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;} /** Layout **/ .visible-mobile { display: none; } @media(max-width: 767px) { .hidden-mobile { display: none; } .visible-mobile { display: block; } } .container { max-width: 1148px; margin: 0 auto; } @media(max-width: 1234px) { .container { margin-left: 35px; margin-right: 35px; } } @media(max-width: 767px) { .container { margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; } } .container--narrow { max-width: 640px; margin: 0 auto; } @media(max-width: 670px) { .container--narrow { margin-left: 15px; margin-right: 15px; } } #main { padding: 40px 0 115px; } .two-column .main-content { display: flex; } @media(max-width: 767px) { #main { padding: 20px 0; } .two-column .main-content { flex-direction: column-reverse; max-width: 600px; } } @media(max-width: 60px) { .two-column .main-content { margin: 0 15px; } } .two-column .main-content__article { padding-right: 70px; width: 62.5%; } @media(max-width: 767px) { .two-column .main-content__article { width: 100%; padding-right: 0; } } .two-column .sidebar { width: 37.5%; } @media(max-width: 767px) { .two-column .sidebar { width: 100%; margin-top: 0; margin-bottom: 40px; } } /** end Layout **/ /** Base Styles **/ body { font-family: 'Work Sans', sans-serif; font-weight: 400; color: #000000; background: white; font-size: 18px; line-height: 1.6; letter-spacing: 0; margin: 0; } body * { box-sizing: border-box; } p { margin-bottom: 18px; line-height: 1.6; } h1 { font-family: 'Work Sans Light', sans-serif; font-size: 48px; font-weight: 300; color: #292F7C; text-align: left; margin-bottom: 25px; line-height: 1.4; } .page-title { margin-top: -11px; } h2 { font-size: 22px; font-weight: 600; } .form-header { text-align: center; } h3 { font-weight: 600; margin-bottom: 4px; font-size: 17px; } h2.arrow-detail { margin-bottom: 25px; } h2.arrow-detail--ebook { margin-bottom: 0; } @media(max-width: 767px) { h1 { font-size: 33px; } .page-title { margin-top: 0; } h2.arrow-detail { max-width: 600px; margin: 0 auto 25px; } } a, .btn, input[type=submit] { transition: 0.25s; } ul { padding-left: 15px; list-style: none; } ul li { position: relative; margin-bottom: 3px; } ul li::before { content: ''; display: block; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #053863; left: -12px; top: 9px; } strong { font-weight: 600; } img { max-width: 100%; height: auto; } /** end Base Styles **/ /** Form Styles **/ label { display: block; font-size: 16px; } .required-marker { color: #c61d23; } .error { font-family: "Work Sans"; font-size: 13px; font-weight: 600; color: #c61d23; margin-top: -1px; display: none; } label#consent-error { margin-top: -10px; } .form-item { margin-bottom: 9px; } .form-item__checkbox { display: flex; justify-content: space; align-items: flex-start; margin-top: 25px; } .form-item__checkbox label { margin-top: -5px; padding-left: 5px; } input, select, textarea { font-size: 14px; letter-spacing: 0px; } input[type=text], input[type=email] { width: 100%; height: 33px; padding: 0 9px; } select { height: 33px; width: 100%; border-color: #ccc; } input[type=submit] { cursor: pointer; } /** end Form Styles /** Button Styles **/ .btn { border-radius: 10px; padding: 6px 45px; display: inline-block; width: auto; box-shadow: none; border: none; font-size: 18px; font-weight: 600; color: #292F7C; text-decoration: none; text-align: center; } .btn--centered { display: block; max-width: 250px; margin-left: auto; margin-right: auto; max-width: 330px; } .btn--yellow { background-color: #FEE449; } .btn--yellow:hover, .btn--yellow:focus { background-color: #FEE449; } @media(max-width: 1000px) and (min-width: 768px) { .btn { font-size: 18px; } } @media(max-width: 767px) { .btn { font-size: 17px; } } /** end Button Styles **/ /** Header **/ #ceng-header { border-bottom: 1px solid #eeeeee; padding: 25px 0; background: white; } .ceng-headerNav_logo { max-width: 239px; } .ceng-headerNav_logo img { display: block; } @media(max-width: 767px) { #ceng-header { padding: 15px 0 10px; } } /** end Header **/ /** Main Content Area **/ #main { background: white; } .sub-title { text-align: center; font-size: 27px; font-weight: 300; margin: -19px 0 3px; } .sub-title-text { text-align: center; } @media(max-width: 767px) { .sub-title { margin: -14px 0 15px; line-height: 1.25; font-size: 25px; } } .big-image { text-align: center; margin-bottom: 25px; } .vidyard-player-container { margin-bottom: 30px !important; } /** end Main Content Area **/ /** Speaker Bios **/ .speaker-bios { margin: 40px 0; padding: 0; display: flex; justify-content: space-around; } @media(max-width: 767px) { .speaker-bios { flex-direction: column; } } .speaker-bios__item { max-width: 242px; text-align: center; /* Ensure each bio has equal width */ flex-basis: 0; flex-grow: 1; } @media(max-width: 767px) { .speaker-bios__item { max-width: 100%; margin-bottom: 35px; } } /* Remove custom bullets on li */ .speaker-bios__item::before { display: none; } .speaker-bios__item__name { margin-top: 10px; margin-bottom: 3px; } .speaker-bios__item p { margin-bottom: 3px; } .speaker-bios__item__image { max-width: 135px; } /** end Speaker Bios **/ /** Text with Button Blocks and Address Blocks **/ .text-with-button, .address-block { display: flex; justify-content: space-between; margin-top: 50px; } .text-with-button__item, .address-block__item { max-width: 320px; flex-basis: 0; flex-grow: 1; text-align: center; padding: 0 10px; } .address-block__item { text-align: left; } .text-with-button__item:first-child { padding-left: 0; padding-right: 20px; } .text-with-button__item:last-child { padding-right: 0; padding-left: 20px; } .text-with-button__title, .address-block__title { font-weight: 300; font-size: 24px; margin-bottom: 10px; } .address-block__title { } .text-with-button__text, .address-block__text { margin-bottom: 20px; } .address-block__text { } .text-with-button__button { width: 250px; } @media(max-width: 890px) { .text-with-button__button { width: 220px; padding: 6px 30px; } } @media(max-width: 767px) { .text-with-button, .address-block { flex-direction: column; } .secondary-content { margin-top: 50px; } .address-block { margin: 0; } .text-with-button__item, .address-block__item { margin: 0 auto 35px; padding: 0; } .address-block__item { width: 100%; margin-left: 20px; } .text-with-button__item:first-child, .address-block__item:first-child { padding: 0; } .text-with-button__item:last-child, .address-block__item:last-child { padding: 0; } .text-with-button__text, .address-block__text { min-height: 0; } .text-with-button__button { width: 250px; padding: 6px 45px; } } /** end Text with Button Blocks **/ /** Sidebar **/ .sidebar__title { font-weight: 600; line-height: 1.3; font-size: 22px; letter-spacing: 0px; position: relative; border-radius: 20px 20px 0px 0px } .sidebar__title--red { background-color: #292F7C; padding: 28px 20px; margin: 0; color: white; } .sidebar__title--red::after { content: ''; display: block; position: absolute; width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; bottom: -16px; left: 69px; } @media(max-width: 767px) { .sidebar__title { font-size: 27px; } .sidebar__title--red { padding: 20px; } } .sidebar__form { padding: 33px 48px; background: #F5F5F5; border-radius: 0px 0px 20px 20px } .sidebar__form__button { margin-top: 15px; padding: 12px; width: 100%; font-size: 24px; font-weight: 600; } @media(max-width: 1000px) and (min-width: 768px) { .sidebar__form { padding: 33px 28px; font-size: 23px; } } @media(max-width: 480px) { .sidebar__form { padding: 33px 28px; font-size: 23px; } } /** end Sidebar **/ /** Footer **/ #ceng-footer { background-color: #292F7C; padding: 40px 0; overflow: hidden; } @media(max-width: 767px) { #ceng-footer { padding: 20px 0; } } .ceng-footer_menu { float: left; width: 50%; } @media(max-width: 767px) { .ceng-footer_menu { float: none; width: auto; text-align: center; margin-bottom: 20px; } } .ceng-footer_menu ul { padding-left: 0; } .ceng-footer_menu li { display: inline-block; margin-right: 15px; } .ceng-footer_menu ul li::before { display: none; } .ceng-footer_menu a { padding: 0; color: white; text-decoration: none; font-weight: 300; font-size: 16px; text-transform: uppercase; } .ceng-footer_social { float: right; width: 50%; text-align: right; } .ceng-footer_social ul { display: flex; justify-content: flex-end; } .ceng-footer_social li { padding-right: 20px; } .ceng-footer_social li:last-child { padding-right: 0; } .ceng-footer_social li::before { display: none; } .ceng-footer_socialLabel { display: none; } .ceng-footer_social .ceng-sprite, .ceng-footer_social .ceng-sprite svg { display: inline-block; width: 20px; height: 24px; } .ceng-footer_social .ceng-sprite svg path { fill: white; } @media(max-width: 767px) { .ceng-footer_social { float: none; width: auto; max-width: 305px; margin: 0 auto; } .ceng-footer_social ul { justify-content: center; padding-left: 0; } .ceng-footer_social li { padding-right: 0; flex-basis: 0; flex-grow: 1; text-align: center; } } /** end Footer **/ /** Download Asset Pages **/ .download-asset .two-column .main-content__article { padding-right: 49px; } @media(max-width: 767px) { .download-asset .two-column .main-content__article { padding-right: 0; } } /** end Download Asset Pages **/ /** Webinar pages **/ @media(max-width: 767px) { .webinar--email #main { padding-bottom: 35px; } } /** Webinar pages **/ /** Institution autocomlete **/ ul.dropdown-menu { background: white; max-height: 200px; overflow-y: auto; overflow-x: hidden; padding-top: 12px; box-shadow: 0 5px 10px #aaa; } ul.dropdown-menu li { margin-bottom: 12px; line-height: 1; } ul.dropdown-menu li::before { display: none; } ul.dropdown-menu a { text-decoration: none; font-size: 13px; color: #292F7C; } /** end Institution autocomplete **/ /* Custom */ .hidden-field,.hed,.inst,.hide-disp,.hide-title,.hide-state,.hide-inst,.hide-fn,.hide-ln,#email-notYou{ display: none; } select { padding: 0 9px; height: 33px; } .wid100 { width: 100%; } textarea{ width: 100%; height: 100px; padding: 6px 9px; } #email-notYou{ font-size: 13px; font-weight: bold; cursor: pointer; } </style> <!-- START OF STYLES FOR INSTITUTE FIELDS AND DROP DOWN VALUES --> </head><body class="download-asset"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i" rel="stylesheet"> <!-- START FAVICON SCRIPT --> <link rel="icon" href="https://www.cengage.com/webfiles/1551436164406/cengage/common/favicons/favicon-32x32.png"> <!-- END FAVICON SCRIPT --> <script type="text/javascript" async="" src="//play.vidyard.com/embed/v4.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <!-- START OF STYLES FOR INSTITUTE FIELDS AND DROP DOWN VALUES --> <style> .hidden { display: none; } #outputJSON h5 { font-size: 12px; font-family: "Open Sans"; display: inline-block; font-weight: normal; margin: 0; padding-bottom: 4px; } #outputJSON h6 { font-size: 10px; font-family: "Open Sans"; margin: 0; font-weight: normal; } #outputJSON h6:last-child { border-bottom: none; } #outputJSON { padding: 0; max-height: 500px; overflow: auto; } .schoolListContainer { cursor: pointer; padding: 8px; border: 1px solid #a1a1a1; border-top: none; } .schoolListContainer:hover { background-color: #d2d0d0; } </style> <!-- END OF STYLES FOR INSTITUTE FIELDS AND DROP DOWN VALUES --> <!-- Google Tag Manager (noscript). Additionally, paste this code immediately after the opening <body> tag --> <noscript> <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5ZZ9XQ9" height="0" width="0" style="display:none;visibility:hidden"></iframe> </noscript> <!-- End Google Tag Manager (noscript) --> <!-- HEADER --> <header id="ceng-header"> <div class="container"> <!-- Logo --> <div class="ceng-headerNav_logo"> <a href="https://www.cengage.com" target="blank"><img src="https://www.cengage.com/binaries/content/gallery/cengage-us-en/svg/logo-cengage.svg" alt="CENGAGE Logo"></a> </div> </div> </header> <!-- END HEADER --> <!-- MAIN CONTENT --> <main id="main" class="two-column"> <!-- Page Title Mobile. We need to duplicate this to accommodate the positioning on mobile versus desktop. --> <div class="mobile-title container"> <h1 class="page-title visible-mobile">Get Higher Ed News, Delivered Right to You</h1> </div> <div class="main-content container "> <article class="main-content__article"> <!-- Page Title Desktop. --> <h1 class="page-title hidden-mobile">Get Higher Ed News, Delivered Right to You</h1> <!-- Main Text--> <p>Sign up to get the Cengage Newsletter, designed for educators and academic leaders in higher education. It’s filled with trending articles, helpful teaching strategies and tips on using Cengage products and features ― all written by peers, students and subject matter experts.<p> You’ll also get access to upcoming events, webinars, free white papers and guides, and other valuable info that keeps you in the know. </p> </article> <!-- SIDEBAR --> <aside class="sidebar"> <!-- Form - Get Our Free eBook. --> <div class="sidebar-form"> <header> <h2 class="sidebar__title sidebar__title--red form-header">Get higher ed news</h2> </header> <form id="gatedContent_signup" form="" class="sidebar__form" action="https://cp.cengage.com/thankyoutest" method="POST" name="FA22_HED_Interest_Form"> <input type="hidden" name="elqFormName" value="FA22_HED_Interest_Form"> <input type="hidden" name="elqSiteID" value="2138"> <!-- Hidden fields --> <!-- Used when discipline is hard-coded in the back end, depending on page source or form purpose --> <input type="hidden" name="idc" id="idc" value=""> <!-- Identifies how the lead should be routed for lead scoring (INST/HED)--> <input type="hidden" name="leadGen" id="leadGen" value="HED"> <!-- Workfront project Reference number (unique ID) --> <input type="hidden" name="csourcecode" id="csourcecode" value="2966780"> <!-- Identifies the asset type, what is the form gating? --> <input type="hidden" name="assetType" id="assetType" value="Opt-In"> <!-- Indicates the Eloqua form ID --> <input type="hidden" name="formID" id="formID" value="4175"> <!-- Indicates the Eloqua landing page ID --> <input type="hidden" name="landingPageId" id="landingPageId" value="6382"> <!-- Indicates the webpage that the form was submitted from --> <input type="hidden" name="formURL" id="formURL"> <!-- Indicates the page visited before landing on form page --> <input type="hidden" name="refURL" id="refURL"> <!-- Calculated campaign name in workfront --> <input type="hidden" name="utm_campaign" id="utm_campaign"> <!-- Workfront task reference associated with the submission --> <input type="hidden" name="utm_content" id="utm_content"> <!-- Identifies the medium for attribution --> <input type="hidden" name="utm_medium" id="utm_medium"> <!-- Identifies source value --> <input type="hidden" name="utm_source" id="utm_source"> <!-- Indicates contact type --> <input type="hidden" name="channelDesignation" id="channelDesignation" value="HED US"> <!-- Indicates where the contact came from (tactic) --> <input type="hidden" name="contactSource" id="contactSource" value="Form Submit"> <!-- Sales-facing activity name to pass to MAG; also use for lead source --> <input type="hidden" name="MAGcampaignName" id="MktcampaignName" value="Today's Learner Email Sign-Up"> <!-- Identifies the asset or action funnel stage, for lead scoring --> <input type="hidden" name="funStage" id="funStage" value="Reputation"> <input type="hidden" name="MID" id="MID" value="515011284"> <input type="hidden" name="segment" id="segment" value="Faculty"> <input type="hidden" name="PreferenceName" id="PreferenceName" value="515011284_Faculty_Todays_Learner_Newsletter"> <input type="hidden" name="PreferenceValue" id="PreferenceValue" value="TRUE"> <!-- Email --> <div class="form-item"> <label for="email">Email Address <span class="required-marker">*</span></label> <input id="email" type="text" name="email" value=""> <label id="email-error" class="error">This field is required.</label> <label id="email-invalid" class="error">Please enter a valid email address.</label> <label id="email-notYou">Not you?</label> </div> <div class="form-item"> <label for="Region">Region <span class="required-marker">*</span></label> <select id="region" name="region" data-value=""> <option value="Select One">Select One</option> <option value="HED_US">United States</option> <option value="HED_CANADA">Canada</option> <option value="HED_EMEA">EMEA</option> <option value="HED_ANZ">Australia</option> <option value="HED_ASIA">Asia</option></select> </div> <!-- consent --> <div class="form-item form-item__checkbox"> <input id="consent" type="checkbox" name="consent" value="Yes" class=""> <label for="consent" class="">Yes, I'm over the age of 16.<span class="required-marker">*</span></label> <label id="consent-error" class="error">Required.</label> </div> <!-- Submit --> <input type="submit" value="SIGN UP" class="btn btn--yellow sidebar__form__button track_cta_primary" margin="" add-to-cart="" data-page-title="Get Higher Ed News, Delivered Right to You" data-internal="signup" isbn13="selectedItem.isbn13" id="btn-submit"> </form> </div> </aside> </div> <!-- END SIDEBAR --> </main> <!-- END MAIN CONTENT --> <!-- FOOTER --> <!-- Adapted from live Cengage website (https://www.cengage.com) --> <footer> <!-- Footer Links --> <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"> <tr> <td class="padding30" style="background: #292F7C; padding: 30px;"> <table align="left" border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"> <tr> <td style="padding: 10px 0px 10px 0px;"> <!-- LINKS --><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"> <tr> <td style="text-align: left; font-family: 'Work Sans', Arial, sans-serif; font-size: 15px; line-height: 18px; font-weight: 400; color: #ffffff;"> <a alias="" class="block centerBlock" conversion="true" data-linkto="https://" href="https://www.cengagegroup.com/legal/" style="color:#ffffff;text-decoration:none;" target="_blank" title="">TERMS OF USE</a> <span class="mobileHide"> | </span> <a alias="" class="block centerBlock" conversion="true" data-linkto="https://" href="https://www.cengagegroup.com/privacy/" style="color:#ffffff;text-decoration:none;" target="_blank" title="">PRIVACY</a> <span class="mobileHide"> | </span> <a alias="" class="block centerBlock" conversion="true" data-linkto="https://" href="https://www.cengagegroup.com/piracy/" style="color:#ffffff;text-decoration:none;" target="_blank" title="">PIRACY</a></td><td align="right" class="block"> <table align="right" border="0" cellpadding="0" cellspacing="0" class="centerBlock" role="presentation"> <tr> <td style="padding: 0px 15px 0px 0px;"> <a alias="" conversion="true" data-linkto="https://" href="https://www.linkedin.com/showcase/cengage-higher-education/" target="_blank" title=""><img alt="LinkedIn" border="0" height="16" src="https://image.s10.sfmc-content.com/lib/fe3411717064057c771c74/m/1/0eaf77b4-018f-4f5d-b94e-9fd6ffd52de0.png" style="display:block; width: 18px; height: 16px;" width="18"></a></td><td style="padding: 0px 15px 0px 0px;"> <a alias="" conversion="true" data-linkto="https://" href="https://www.facebook.com/CengageHigherEd/" target="_blank" title=""><img alt="Facebook" border="0" height="18" src="https://image.s10.sfmc-content.com/lib/fe3411717064057c771c74/m/1/9986f5fe-11f5-441d-8e93-a5680f1a9fc0.png" style="display:block; width: 10px; height: 18px;" width="10"></a></td><td style="padding: 0px 15px 0px 0px;"> <a alias="" conversion="true" data-linkto="https://" href="https://instagram.com/cengagelearning" target="_blank" title=""><img alt="Instagram" border="0" height="16" src="https://image.s10.sfmc-content.com/lib/fe3411717064057c771c74/m/1/a4b2b7c0-9b8d-469d-8e13-691115330930.png" style="display:block; width: 16px; height: 16px;" width="16"></a></td></tr></table></td></tr></table></td></tr></table></td></tr></table> </footer> <!-- END FOOTER --> <script src="https://images.learn.cengage.com/Web/CengageLearningInc/{5d882d2d-e9b2-4934-8d39-0ba1ef91555d}_discipline_lookup.js"></script> <script> $(document).ready(function(){ var fieldset=[],idc,get_lookup_detail; // on click not contact mail $("#email-notYou").on("click",function(){ $("input[type=text]").val(""); }); //Get query string parameter function getUrlParameter(name) { name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]'); var regex = new RegExp('[\\?&]' + name + '=([^&#]*)'); var results = regex.exec(location.search); return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' ')); }; // get referer URL $("#refURL").val(document.referrer); // get Urchin Tracking Module (UTM) parameters $("#utm_campaign").val(getUrlParameter("utm_campaign")); $("#utm_source").val(getUrlParameter("utm_source")); $("#utm_medium").val(getUrlParameter("utm_medium")); $("#utm_content").val(getUrlParameter("utm_content")); idc = getUrlParameter("idc"); //find the disciplone from the lookup based in the idc get_lookup_detail = discipline_lookup.filter(function (discipline) { return discipline.id == idc }); try { get_discipline = get_lookup_detail[0].discipline; $("#idc").val(get_discipline); discipline = get_discipline; } catch (error) { //show the select box //$(".hide-disp").show(); } // assign URL for Form URL $("#formURL").val(window.location.href); $("#btn-submit").on("click",function(){ // field validation var email = $("#email"); var consent = $("#consent"); fieldset.push(email); fieldset.push(consent); var error = []; fieldset.forEach(validate); function validate(arg){ var getID = $(arg).attr("id"); var getVal = $.trim($("#"+getID).val()); if ( getVal == ""){ error.push(getID); $("#"+getID+"-error").show(); } else if( getID == "email"){ if(!validateEmail(getVal)){ error.push(getID); $("#"+getID+"-error").show(); } else{ var err_index = error.indexOf(getID); if (err_index > -1) { error.splice(err_index, 1); } $("#"+getID+"-error").hide(); } } else if (getID == "consent") { if(!consent.is(":checked")){ error.push(getID); $("#"+getID+"-error").show(); } else { $("#"+getID+"-error").hide(); } } else{ var err_index = error.indexOf(getID); if (err_index > -1) { error.splice(err_index, 1); } $("#"+getID+"-error").hide(); } } if(error.length == 0){ return true; } else{ return false; } }); }); function validateEmail(email) { var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return re.test(String(email).toLowerCase()); } </script> </body></html>