CINXE.COM
2025 Application Portal - Rutgers University
<!DOCTYPE HTML> <html lang="en"> <head> <script src="/ApplicantPortal/static/111213/js/perf/stub.js" type="text/javascript"></script><script src="/ApplicantPortal/resource/1604675047000/erx_forms__standardjquery" type="text/javascript"></script><script>(function(UITheme) { UITheme.getUITheme = function() { return UserContext.uiTheme; }; }(window.UITheme = window.UITheme || {}));</script><meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" /> <meta HTTP-EQUIV="Expires" content="Mon, 01 Jan 1990 12:00:00 GMT" /> <meta content="width=device-width, initial-scale=1" name="viewport" /> <title>2025 Application Portal - Rutgers University</title> <link href="/ApplicantPortal/resource/1732634937000/RUAppPortal/images/rutgers-favicon.gif" rel="icon" type="image/png" /> <script src="/ApplicantPortal/static/111213/js/perf/stub.js" type="text/javascript"></script> <script src="/ApplicantPortal/jslibrary/1608226292230/ui-sfdc-javascript-impl/SfdcCore.js" type="text/javascript"></script> <script src="/ApplicantPortal/resource/1599627261000/erx_forms__standardjquery" type="text/javascript"> </script><script src="/ApplicantPortal/static/111213/js/picklist4.js" type="text/javascript"></script> <script src="/ApplicantPortal/jslibrary/1605126154230/sfdc/VFState.js" type="text/javascript"></script> <link class="user" href="/ApplicantPortal/resource/1613486386000/erx_forms__Portal_Font_Awsome_Social/css/fontawesome-all.min.css" rel="stylesheet" type="text/css" /> <script src="https://cdn.blueconic.net/rutgers.js"></script> <style> pre,pre > * { margin:0 !important; } .fab { padding: 10px; font-size: 12px; width: auto; text-align: center; text-decoration: none; margin: 5px 2px; border-radius:8px; height:auto; } .fa-facebook-f { background: #3B5998; color: white; } .fa-google { background: #dd4b39; color: white; } .fa-linkedin-in { background: #007bb5; color: white; } .customSocial{ font-family:'Salesforce Sans',Arial,sans-serif; padding-left:5px; } /*RU changes */ .before_login .main.two-colmn-form .sectionTitle{ text-align: left !important; } .ewd-login-area .txt-left{ text-align:left !important; } a.slds-button--neutral{ color: #ffffff!important; } .align-items-center{ text-align:center; float:center; } /*Change background image on login page; hide default image*/ #portalCustom\:j_id0\:j_id9 > div > div.ewd-login-sec > div.login-banner > img { content:url(/ApplicantPortal/resource/1732634937000/RUAppPortal/images/lg_NR22CACFall5761N_1600.jpg) ; //display:none; } #portalCustom\:j_id0\:j_id9 > div > div.ewd-login-sec > div.login-banner > span > a { //content:url(/ApplicantPortal/resource/1679669737000/RUAppPortal/images/lg_NR22CACFall5761N_1600.jpg) ; // display:none; } web-developer-display-image-paths /*Change background color*/ #portalCustom\:j_id0\:j_id9 > div > div.ewd-login-sec > div.login-banner { background-color:#cc0033; //background-color:#fff; background-image: url(/ApplicantPortal/resource/1732634937000/RUAppPortal/images/lg_NR22CACFall5761N_1600.jpg); background-position-x: right; background-repeat:no-repeat; background-size:auto; background-size:cover; height:100vh; } .ru-video{ width: 100%; height: 100%; object-fit: cover; } .before_login .logo-area img { max-height: 220px !important; } #portalCustom\:j_id0\:j_id9 > div > header > div > div { background-color: rgba(0,0,0,0); } /*Rutgers Logo #portalCustom\:j_id0\:j_id9 > div > header > div > div > a > img { content:url(https://na85.salesforce.com/brand-asset/CAAAAXqjUuAQAAAAAAAAAAAAAAAAAAAAAAAA6Iu34Cw80cAdNTjFNEWGHYq1FmHzMhzc50yaNZ3gZl4pYg7daZCKFJA-cNW6wT8F2HyYrJOc0_ashiFXKb9O52CKvTv9f3zd1ahlCyXVm6vI); } */ @media screen and (max-width:991px){ #portalCustom\:j_id0\:j_id9 > div > header.header { background-color: var(--theme-primary-bg-color); } } </style><link rel="stylesheet" type="text/css" href="/ApplicantPortal/resource/ERx_Forms__template_3/css/style.css?v=10.1" ></link><link rel="stylesheet" type="text/css" href="/ApplicantPortal/resource/ERx_Forms__template_3/css/responsive.css?v=10.1" ></link><script type="text/javascript" src="/ApplicantPortal/resource/ERx_Forms__template_3/js/owl.carousel.min.js?v=10.1" ></script><script type="text/javascript" src="/ApplicantPortal/resource/ERx_Forms__template_3/js/custom.js?v=10.1" ></script><script type="text/javascript" src="/ApplicantPortal/resource/RutgersKendoUI/js/jquery.min.js" ></script><script> var rukendojquery = jQuery.noConflict(true); </script><script type="text/javascript" src="/ApplicantPortal/resource/RutgersKendoUI/js/kendo.all.min.js?v=10.1" ></script><link rel="stylesheet" type="text/css" href="/ApplicantPortal/resource/RutgersKendoUI/styles/kendo.default-main.min.css?v=10.1" ></link> <style type="text/css">:root{--theme-body-bg:#ffffff;--theme-font:Arial;--theme-content-text-color:#000000;--theme-header-bg:#f1f1f1;--theme-footer-bg:#f1f1f1;--theme-primary-bg-color:#cc0033;--theme-secondary-bg:#000000;--theme-logo-text-color:#ffffff;--theme-primary-text-color:#ffffff;--theme-secondary-text-color:#000000;--theme-secondary-text-color-highlighted:#ffffff;--theme-nav-hover-bg:#cc0033;--theme-form-text-color:#162742;--theme-form-box-bg:#f1f1f1;--widget-box-bg:#f1f1f1;--widget-title-bg:#f1f1f1;--widget-title-font:Arial;--widget-title-color:#282828;--widget-checkbox-bg:#bbbcbe;--widget-content-font:Arial;--widget-content-text-color:#000000;}</style> </head> <body><div id="portalCustom:j_id0:j_id9" class="erx-main-wrapper before_login"> <div class="main two-colmn-form"><link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/css/select2.css" rel="stylesheet"> <style> @import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap'); :root { --theme-font: 'Source Sans Pro', sans-serif; --widget-title-font: 'Source Sans Pro', sans-serif; --widget-content-font: 'Source Sans Pro', sans-serif; } .welcome-text {align-items: flex-start;} .header .main-navigation .main-nav > li a {color: var(--theme-content-text-color);} .after_login .logo-area img, .before_login .logo-area img {/*max-height: 70px;*/} .footer-address-wrap {margin-bottom: 0; padding-bottom: 0; border-bottom: 0;} .footer-wrap {align-items: center;} .footer-social a {background: none; line-height: inherit; margin: 0px 5px;} .footer-left {padding: 20px 5px; height: 100%;} .nav-responsive.erx-checklist ul li a {color: var(--theme-primary-bg-color);} .nav-responsive.erx-checklist ul li .fa-li.fa-lg.fa-check-square-o { border-color: var(--theme-primary-bg-color);} .after_login #outerMainDiv .sideBarMenu .side-bar-page-list-div li.side-bar-page-list.selected-page a{color:var(--theme-secondary-text-color-highlighted) !important;} <!--.after_login #outerMainDiv .sideBarMenu .side-bar-page-list-div li.side-bar-page-list #left input[value='true'] {border-color: var(--theme-primary-bg-color);}--> .slds .slds-picklist .slds-picklist__item .slds-truncate {white-space: normal;} .slds-col.requiredBar .slds-scrollable--y{padding-left:5px;} .wysiwyg-textarea { background: #fff; padding: 10px;} .slds ::selection {background: #0099da; color: #fff;} .footer-right a{margin:2px 15px;} .footer-right a:hover { color: var(--theme-primary-bg-color);} .footer-logo img { max-height: 60px; } .statement-text {float: left; width: 100%; font-size: 13px; margin-top: 1rem; font-style: italic;} .statement-text a {padding: 0; margin: 0; color: var(--theme-primary-bg-color);} .footer-right {padding-top: 20px; padding-bottom: 20px;} .comn-tiles .title-tiles{ font-size: 26px; } .welcome-text p, .comn-tiles-inner p{ font-size: 16px; } .nav-responsive.erx-checklist ul li span { font-size: 16px; } .welcome-img, .welcome-img img { display:block; } h1.alert-heading, h2.alert-heading {font-size:1.8em; margin-bottom:12px;} h3.alert-heading {font-size:1.5em; margin-bottom:12px;} h4.alert-heading {font-size:1.4em; margin-bottom:12px;} @media(max-width:1279px){ .footer-social a { width: 34px;} .comn-tiles .title-tiles{ font-size: 20px; } .welcome-text p, .comn-tiles-inner p{ font-size: 16px; } } @media(max-width:991px){ .after_login .logo-area img, .before_login .logo-area img {max-height: 60px;} .after_login .header > .container {height: 100%;} .footer-address-wrap {font-size: 12px; text-align: center;} .header .main-navigation .main-nav > li a { color: var(--theme-primary-text-color);} .footer-right a {margin: 2px 5px;} .statement-text {font-size: 12px;} } @media(max-width:768px){ .welcome-img, .welcome-img img { display:none; } } .ru-notif-top{text-align: center; border: 1px solid black; display: inline-block; font-size: 16px; height: auto; vertical-align: middle; width: 100%; background-color: #ddd; padding-bottom:10px;} /*=====2025 custom label=======*/ .main #outerMainDiv .slds .slds-form-element__label{ font-weight: 600; color:var(--theme-content-text-color); } @media (min-width: 48em){ .slds .slds-form--horizontal { text-align: left; } } /*=========Custom Select===========*/ .select2-search { display: none !important; } .select2-container--default .select2-selection--single {border: solid 1px #d8dde6 !important; border-radius: 4px; height: auto !important; min-height: 34px ; color: #000; font-size: 13px; padding-top: 8px; padding-bottom: 8px; padding-left: 4px;} .select2-container--default .select2-selection--single .select2-selection__arrow {height: 34px !important; right: 6px !important; top:4px !important;} .select2-container .wrap.select2-selection--single .select2-selection__rendered {word-wrap: break-word; text-overflow: inherit; white-space: normal;} .select2-container--default .select2-selection--single .select2-selection__rendered {color: #000; line-height: 24px;} .select2-container--default.select2-container--disabled .select2-selection--single {background-color: #e0e5ee; cursor: not-allowed; border-color: #a8b7c7;} .select2.select2-container {width: 100% !important;} .requiredBar+.select2 .select2-selection {border-left: 3px solid red !important;} select[style*="display: none"]+.select2, select[style*="display:none"]+.select2 {display: none;} .k-input-md .k-input-inner, .k-picker-md .k-input-inner{padding:0px !important;} </style> <header class="header"> <div class="container"> <div class="logo-area"><a href="https://www.rutgers.edu/" target="_blank" tabindex="0" aria-hidden="true"><img src="/ApplicantPortal/resource/RUAppPortal/images/R_RSUNJ_1054.png" alt="Login Banner"><span class="logo-txt"><br/> <span class="logo-sub-heading"></span></span></a></div> </div> </header> <div class="inner_top_banner"><img src="/ApplicantPortal/resource/ERx_Forms__template_3/images/inner_top_banner.jpg" alt="inner top banner"></div> <div class="ru-notif-top hide"><strong>Cycle 2025 Portal</strong><br /><strong>Note: </strong>2024 also available.</div> <div id="contactNameHeader"></div> <div class="ewd-login-sec"> <div class="login-banner"><img src="/ApplicantPortal/resource/RUAppPortal/images/lg_NR22CACFall5761N_1600.jpg" alt="Login Banner"></div> <div class="ewd-login-area"><div id="portalCustom:j_id0:j_id14" class="ewd-mid-sec"> <div class="erx-body-container"> <div class="slds"> <div><span id="portalCustom:j_id0:j_id18"> <h1 class="slds-text-heading--small slds-truncate" html-aria-label="Welcome">2025 Application Portal</h1></span> </div> <div class="row"><br /></div> <div class="txt-left"> <p>Welcome to the 2025 Rutgers application portal! If this is your first time applying to Rutgers and you do not currently have a NetID, you will need to create a CommunityID in order to begin your application. Once you have created your CommunityID, you will use it to return to your application or view your admission status in the application portal. </p> </div> <div class="container hide"> <div class="row"> <div class="alert alert-info"> The Application Portal will be under maintenance on Monday, March 4 from 6 p.m. to 8 p.m. Users will not be able to log in during this time. We apologize for the inconvenience and appreciate your patience. </div> </div> </div> <div class="container"> <div class="row"> <div class="txt-left"> <div class="sectionTitle"> <strong>New Applicants</strong> </div> <p>If you do not have an account, please create a new <strong>Rutgers CommunityID</strong>.</p> <p> <small>Use a personal email that will not expire after you graduate from or leave your current high school or college or employment.</small></p> <div class="col-md-10 col-sm-12 col-lg-10 col-lg-offset-1 col-md-offset-1 mx-auto"> <div class="btn_login"> <button class="btn btn-large dynamicButton slds-button slds-button--neutral slds-not-selected" id="newCIDuser" name="newCIDuser" type="button"><i class="fa fa-user-plus"> </i> Create a new CommunityID</button> </div> </div> </div> </div> <div class="row"> <div class="txt-left"> <div class="sectionTitle"> <strong>Already have a Rutgers CommunityID?</strong> </div> <p>If you created a CommunityID when you began your application, you must continue to use your CommunityID each time you access the application portal.</p> <div class="col-md-10 col-sm-12 col-lg-10 col-lg-offset-1 col-md-offset-1 mx-auto"> <div class="btn_login"> <button class="btn btn-large dynamicButton slds-button slds-button--neutral slds-not-selected" id="curCIDuser" name="curCIDuser" type="button"><i class="fa fa-sign-in"> </i> CommunityID</button> </div> </div> </div> <div> </div> </div> <div class="row"> <div class="txt-left"> <div class="sectionTitle"> <strong>Already have a NetID?</strong> </div> <p>If you logged in with your NetID when you began your application, you must continue to use your NetID each time you access the application portal.</p> <div class="col-md-10 col-sm-12 col-lg-10 col-lg-offset-1 col-md-offset-1 mx-auto"> <div class="btn_login"> <button class="btn btn-large dynamicButton slds-button slds-button--neutral slds-not-selected" id="useNetID" name="useNetID" type="button"><i class="fa fa-sign-in"> </i> NetID</button> </div> </div> </div> <div> </div> </div> </div> </div> <script> var logo_img = $('.logo-area a img'); logo_img.attr("src", ""); logo_img.addClass( "foo" ); // logo_img.attr("src", "/ApplicantPortal/resource/1679669737000/RUAppPortal/images/RUTGERS_log_med.png"); logo_img.attr("src", "/ApplicantPortal/resource/1732634937000/RUAppPortal/images/RUTGERS_log_med.png"); /* var videlem = document.createElement("video"); var sourceMP4 = document.createElement("source"); sourceMP4.type = "video/mp4"; sourceMP4.src = "https://player.vimeo.com/external/432008704.hd.mp4?s=d453cc74eab3e6ee3a4046ad0ce7a550341569bc&profile_id=175"; videlem.appendChild(sourceMP4); videlem.id = "ru-login-video"; videlem.autoplay = true; videlem.loop= true; videlem.load(); var ru_video=$(videlem); ru_video.appendTo('.login-banner'); ru_video.addClass("ru-video"); // ru_video.prop("controls",true); ru_video.prop("autoplay",true); // ru_video.autoplay = true; //ru_video.load(); //ru_video.trigger('play'); */ var pathURL = window.location.protocol + "//" + window.location.host + "/" ; var pathArray = window.location.pathname.split('/'); var appPortal = pathArray[0] + pathArray[1]; var appCustomPage ="/AppPortalCustom"; //var returnURL= "https://integdev-rutgers.cs63.force.com/ApplicantPortal" var returnURL=pathURL + appPortal ; var rcm ="rcm.rutgers.edu"; var xidp="Xidp.rutgers.edu"; var idps= "idps.rutgers.edu"; //old SF page = https://rutgers.force.com/ if (pathURL != "https://rutgers.my.site.com/"){ rcm = "test-" + rcm ; xidp= "test-" + xidp; idps= "test-" + idps; } var ssoCID = "https://" + xidp + "/idp/profile/SAML2/Unsolicited/SSO?providerId=" + returnURL +"&target=" + returnURL; var ssoNID = "https://" + idps + "/idp/profile/SAML2/Unsolicited/SSO?providerId=" + returnURL +"&target=" + returnURL; //var newCIDURL= "https://test-rcm.rutgers.edu/registration.html?serviceurl=" + returnURL + "/AppPortalCustom"; var newCIDURL= "https://" + rcm +"/registration.html?serviceurl=" + ssoCID ; // console.log("path URL: " + pathURL); // console.log("return URL: " + returnURL); // console.log("CID urlURL: " + newCIDURL); window.onload = function() { var newCIDbtn= document.getElementById("newCIDuser"); var logCIDbtn= document.getElementById("curCIDuser"); var netIDbtn = document.getElementById("useNetID"); newCIDbtn.onclick = function sso() { window.parent.location.href = newCIDURL; }; logCIDbtn.onclick = function sso() { window.parent.location.href = ssoCID ; }; netIDbtn .onclick = function sso() { window.parent.location.href = ssoNID ; }; } convertToHTML = function(string) { let html = decodeURI(string); html = html.replace(/</g, '<').replace(/<;/g, '<'); html = html.replace(/>/g, '>').replace(/>;/g, '>'); return html; } if(document.querySelector('[id*="loginUpperText"]') != null) { document.querySelector('[id*="loginUpperText"]').innerHTML = convertToHTML(document.querySelector('[id*="loginUpperText"]').innerHTML); } if(document.querySelector('[id*="loginLowerText"]') != null) { document.querySelector('[id*="loginLowerText"]').innerHTML = convertToHTML(document.querySelector('[id*="loginLowerText"]').innerHTML); } </script> </div></div></div></div> <footer class="footer"> <div class="container"> <div class="footer-wrap"> <div class="footer-left"> <!--<div class="footer-logo"><a href="https://www.rutgers.edu/" target="_blank" aria-hidden="true"><img src="/ApplicantPortal/resource/RU_footerAssets/RUTGERS_S_REVWHITE.png" alt="footer logo" /></a></div> --> <div class="footer-logo"><a href="https://www.rutgers.edu/" target="_blank" aria-hidden="true"><img src="/ApplicantPortal/resource/RUAppPortal/images/RUTGERS_log_med.png" alt="footer logo" /></a></div> <div class="footer-social"> <a href="https://www.facebook.com/RutgersU" target="_blank"><img src="/ApplicantPortal/resource/RU_footerAssets/Facebook_Icon.png" alt="Facebook" /></a> <a href="https://www.instagram.com/rutgersu" target="_blank"><img src="/ApplicantPortal/resource/RU_footerAssets/Instagram_Icon.png" alt="Instagram" /></a> <a href="https://www.linkedin.com/school/rutgersu/" target="_blank"><img src="/ApplicantPortal/resource/RU_footerAssets/LinkedIn_Icon.png" alt="LinkedIn" /></a> <!-- <a href="https://www.twitter.com/RutgersU" target="_blank"><img src="/ApplicantPortal/resource/RU_footerAssets/Twitter_Icon.png" alt="Twitter" /></a>--> <a href="https://www.youtube.com/channel/UCwIbQjoUUGfL5nM30r0fmQw" target="_blank"><img src="/ApplicantPortal/resource/RU_footerAssets/YouTube_Icon.png" alt="YouTube" /></a> </div> </div> <div class="footer-right"> <div class="footer-address-wrap"> <a href="http://newbrunswick.rutgers.edu/" target="_blank">New Brunswick </a> | <a href="http://www.newark.rutgers.edu/" target="_blank">Newark </a> | <a href="https://camden.rutgers.edu/new/" target="_blank">Camden </a> | <a href="https://academichealth.rutgers.edu/" target="_blank">RBHS/Health </a> </div> <div class="statement-text">Rutgers is an equal access/equal opportunity institution. Individuals with disabilities are encouraged to direct suggestions, comments, or complaints concerning any accessibility issues with Rutgers websites to <a href="mailto:accessibility@rutgers.edu">accessibility@rutgers.edu</a> or complete the <a target="_blank" href="https://rutgers.ca1.qualtrics.com/jfe/form/SV_57iH6Rfeocz51z0"> Report Accessibility Barrier / Provide Feedback</a> form.</div> </div> </div> </div> </footer> <script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.full.js"></script> <script> function afterERxFormLoad(){ $(".ewd-mid-sec").appendTo(".ewd-login-area"); } const countrydata = [ { title: "Alabama", value: "AL" }, { title: "Alaska", value: "AK" }, { title: "American Samoa", value: "AS" }, { title: "Arizona", value: "AZ" }, { title: "Arkansas", value: "AR" }, { title: "Armed Forces Africa-Canada-Europe-Middle East", value: "AE" }, { title: "Armed Forces Americas", value: "AA" }, { title: "Armed Forces Pacific", value: "AP" }, { title: "California", value: "CA" }, { title: "Colorado", value: "CO" }, { title: "Connecticut", value: "CT" }, { title: "Delaware", value: "DE" }, { title: "District of Columbia", value: "DC" }, { title: "Fed. Micronesia", value: "FM" }, { title: "Florida", value: "FL" }, { title: "Georgia", value: "GA" }, { title: "Guam", value: "GU" }, { title: "Hawaii", value: "HI" }, { title: "Idaho", value: "ID" }, { title: "Illinois", value: "IL" }, { title: "Indiana", value: "IN" }, { title: "Iowa", value: "IA" }, { title: "Kansas", value: "KS" }, { title: "Kentucky", value: "KY" }, { title: "Louisiana", value: "LA" }, { title: "Maine", value: "ME" }, { title: "Maryland", value: "MD" }, { title: "Massachusetts", value: "MA" }, { title: "Michigan", value: "MI" }, { title: "Minnesota", value: "MN" }, { title: "Mississippi", value: "MS" }, { title: "Missouri", value: "MO" }, { title: "Montana", value: "MT" }, { title: "Nebraska", value: "NE" }, { title: "Nevada", value: "NV" }, { title: "New Hampshire", value: "NH" }, { title: "New Jersey", value: "NJ" }, { title: "New Mexico", value: "NM" }, { title: "New York", value: "NY" }, { title: "North Carolina", value: "NC" }, { title: "North Dakota", value: "ND" }, { title: "Ohio", value: "OH" }, { title: "Oklahoma", value: "OK" }, { title: "Oregon", value: "OR" }, { title: "Pennsylvania", value: "PA" }, { title: "Puerto Rico", value: "PR" }, { title: "Rhode Island", value: "RI" }, { title: "South Carolina", value: "SC" }, { title: "South Dakota", value: "SD" }, { title: "Tennessee", value: "TN" }, { title: "Texas", value: "TX" }, { title: "Utah", value: "UT" }, { title: "Vermont", value: "VT" }, { title: "Virgin Islands", value: "VI" }, { title: "Virginia", value: "VA" }, { title: "Washington", value: "WA" }, { title: "West Virginia", value: "WV" }, { title: "Wisconsin", value: "WI" }, { title: "Wyoming", value: "WY" } ]; function afterERxFormLoad(){ setTimeout(function(){ if(window.location.href.indexOf('pageId=PersonalInformation') > -1){ var script1 = document.createElement("script"); script1.type = "text/javascript"; script1.src = "/ApplicantPortal/resource/1604491762000/InstantAddressCountries"; document.body.appendChild(script1); var script2 = document.createElement("script"); script2.type = "text/javascript"; //script2.src = "/ApplicantPortal/resource/1604574181000/InstantAddressAPI"; //script2.src = "https://ia.initiumsoftware.com/app/4548d000-ecd2-43c2-b6eb-5708ec5ac34c.js"; //CL updated on 8/22/2022 //script2.src = "https://ia.initiumsoftware.com/app/e298b1c0-2fdd-4d55-a22c-9b40809eca87.js"; //CL updated on 6/20/2024 to support 2-chars for State script2.src = "https://ia.initiumsoftware.com/app/699810ca-669f-4553-9f6d-51aff1b1b116.js"; document.body.appendChild(script2); <!--NB request for Prospect campaign 9/9/2024--> var scriptComms = document.createElement("script"); scriptComms.type = "text/javascript"; scriptComms.src = "https://cdn.blueconic.net/rutgers.js"; document.body.appendChild(scriptComms); //apiParent = $('#pagemakerformId'); apiParent = $("span[aria-label='Section Permanent Address ']").parent().parent(); apiParent.addClass("ia_form_1"); $(apiParent).find("select[name^='Country_Picklist__c2098dde04f']").addClass("ia_country"); $(apiParent).find("select[name^='Country_Picklist__c0098dde04f']").addClass("ia_country"); $(apiParent).find("input[name^='hed__MailingStreet__c3092fff218']").addClass("ia_street1"); $(apiParent).find("input[name^='hed__MailingStreet__c1092fff218']").addClass("ia_street1"); $(apiParent).find("textarea[name^='hed__MailingStreet2__c40051ed1b8']").addClass("ia_street2"); $(apiParent).find("textarea[name^='hed__MailingStreet2__c20051ed1b8']").addClass("ia_street2"); $(apiParent).find("input[name^='hed__MailingCity__c504dbc8f7f']").addClass("ia_city"); $(apiParent).find("input[name^='hed__MailingCity__c304dbc8f7f']").addClass("ia_city"); // $(apiParent).find("input[name^='hed__MailingState__c6058ec2468']").addClass("ia_state"); $(apiParent).find("input[name^='hed__MailingState__c4058ec2468']").addClass("ia_state"); var dd_perm= $(apiParent).find("input[name^='hed__MailingState__c4058ec2468']"); dd_perm.addClass("ia_state"); var dd_perm_temp= $(apiParent).find("select[name^='State/Province507e8e63d6']"); dd_perm_temp.addClass("ru-dropdown-perm"); $(apiParent).find("input[name^='hed__MailingPostalCode__c70e9165141']").addClass("ia_zipcode"); $(apiParent).find("input[name^='hed__MailingPostalCode__c50e9165141']").addClass("ia_zipcode"); $(apiParent).find("input[name^='hed__MailingPostalCode__c60e9165141']").addClass("ia_zipcode"); console.log('@@@ Instant API initialized for Permanent Address !!'); apiParent2 = $("span[aria-label='Section Mailing Address ']").parent().parent(); apiParent2.addClass("ia_form_2"); $(apiParent2).find("input[name^='hed__MailingCountry__c10f72266c0']").addClass("ia_country"); $(apiParent2).find("select[name^='Country_Picklist__c007e0a57ee']").addClass("ia_country"); $(apiParent2).find("input[name^='hed__MailingStreet__c10b14e1d16']").addClass("ia_street1"); $(apiParent2).find("textarea[name^='hed__MailingStreet2__c20f11a0029']").addClass("ia_street2"); $(apiParent2).find("input[name^='hed__MailingCity__c301e146045']").addClass("ia_city"); $(apiParent2).find("input[name^='hed__MailingState__c5039cb3822']").addClass("ia_state"); $(apiParent2).find("input[name^='hed__MailingState__c4039cb3822']").addClass("ia_state"); var dd_mailing= $(apiParent2).find("input[name^='hed__MailingState__c4039cb3822']"); $(apiParent2).find("input[name^='hed__MailingPostalCode__c60f5841639']").addClass("ia_zipcode"); $(apiParent2).find("input[name^='hed__MailingPostalCode__c50f5841639']").addClass("ia_zipcode"); console.log('@@@ Instant API initialized for Mailing Address !!'); /* --------Rutgers update */ /////Perm State field permCData = countrydata.slice(); var USStatesDS= new kendo.data.DataSource({ data: permCData }); mailCData = countrydata.slice(); var USStatesDS2= new kendo.data.DataSource({ data: mailCData }); var dd_Pick= $(apiParent).find("input[name^='State/Province505c00da85']"); var USStates= dd_Pick.kendoDropDownList({ autoBind: false, dataTextField: "title", dataValueField: "value", dataSource: USStatesDS, optionLabel: "Select a State", change: function (e) { if (this.value() && this.selectedIndex == -1) { //or use this.dataItem to see if it has an object //alert("Invalid State, \nPlease select a State from the list"); this.select(0); } else if(this.value()== '') { dd_perm.val(this.value()); dd_perm.change(); //dd_perm.$touched(); alert("Invalid State, \nPlease select a State from the list"); } else{ dd_perm.val(this.value()); dd_perm.change(); e.preventDefault(); } } }).data("kendoDropDownList"); var stValue= dd_perm.val(); //alert("hello nurse: " + stValue ); USStates.value(stValue); //USStates.trigger("change"); dd_perm.change(function(){ //alert ("State changed to: " + dd_perm.val()); var dd_Pick= $(apiParent).find("input[name^='State/Province505c00da85']"); var USStatesDDL = dd_Pick.data("kendoDropDownList"); USStatesDDL.value(dd_perm.val()); }); ////Mailing state Field var addDiff= $(apiParent2).find("input[name^='Mailing_Address_Different__c7080ddb481']"); var dd_PickMailing= $(apiParent2).find("input[name^='State-Province_Perm5023a89ae6']"); var USStatesM= dd_PickMailing.kendoDropDownList({ autoBind: false, dataTextField: "title", dataValueField: "value", dataSource: USStatesDS2, optionLabel: "Select a State", change: function (e) { if (this.value() && this.selectedIndex == -1) { //or use this.dataItem to see if it has an object //alert("here in blank"); this.select(0); } else if(this.value()== '') { dd_mailing.val(this.value()); dd_mailing.change(); //dd_perm.change(); //dd_mailing.$touched(); alert("Invalid Mailing Address State, \nPlease select a State from the list"); } else{ dd_mailing.val(this.value()); dd_mailing.change(); //dd_perm.change(); e.preventDefault(); } } }).data("kendoDropDownList"); var stValueM= dd_mailing.val(); // USStatesM.value(stValueM); //USStatesM.select(function(dataItem) { // return dataItem.value===stValueM ; //}); var dropdownlist = dd_PickMailing.data("kendoDropDownList"); dropdownlist .value(stValueM ); //USStatesM.trigger("change"); dd_mailing.change(function(){ // alert ("Mailing State changed to: " + dd_mailing.val()); var dd_PickM= $(apiParent2).find("input[name^='State-Province_Perm5023a89ae6']"); var USStatesDDLM = dd_PickM.data("kendoDropDownList"); USStatesDDLM.value(dd_mailing.val()); }); /* */ /* -------End of Rutgers update */ } //afterERxFormLoad closes ////Parents page if(window.location.href.indexOf('pageId=BackgroundInformation%20uGrad') > -1){ parentCData = countrydata.slice(); var USStatesDS3= new kendo.data.DataSource({ data: parentCData }); var parentStateDD = $("div").find("input[name^='State-Province-Parent1303efd7cd0']"); //UAT parentStateDD = $("div").find("input[name^='State-Province-Parent13040c6c6dc']"); var petitionState = $("div").find("input[name^='Petition_State_Province__c120b3bbdb2c']"); petitionState = $("div").find("input[name^='Petition_State_Province__c120b3bbdb2c']") var USStates3= parentStateDD.kendoDropDownList({ autoBind: false, dataTextField: "title", dataValueField: "value", dataSource: USStatesDS3, optionLabel: "Select a State", change: function (e) { if (this.value() && this.selectedIndex == -1) { //or use this.dataItem to see if it has an object //alert("Invalid State, \nPlease select a State from the list"); this.select(0); } else if(this.value()== '') { petitionState.val(this.value()); petitionState.change(); //petitionState.$touched(); alert("Invalid State, \nPlease select a State from the list"); } else{ petitionState.val(this.value()); petitionState.change(); e.preventDefault(); } } }).data("kendoDropDownList"); var stValue= petitionState.val(); //alert("hello nurse: " + stValue ); USStates3.value(stValue); //USStates3.trigger("change"); /* petitionState.change(function(){ //alert ("State changed to: " + dd_perm.val()); var dd_Pick3= $("div").find("input[name^='State-Province-Parent13040c6c6dc']"); var USStatesDDL = dd_Pick3.data("kendoDropDownList"); USStatesDDL.value(parentStateDD.val()); }); */ }///End of Parents page ////Update Personal Info Page if(window.location.href.indexOf('pageId=UpdatePersonalInfo') > -1){ var USStatesDS4= countrydata.slice(); var statePersonalDD3 = $("div").find("input[name^='Mailing State-Province50bfcdf821']"); //UAT statePersonalDD3 = $("div").find("input[name^='Mailing State-Province50bfcdf821']"); var updateMailingStateField = $("div").find("input[name^='hed__MailingState__c40ce3ce884']"); updateMailingStateField = $("div").find("input[name^='hed__MailingState__c40ce3ce884']") var USStates4= statePersonalDD3.kendoDropDownList({ autoBind: false, dataTextField: "title", dataValueField: "value", dataSource: USStatesDS4, optionLabel: "Select a State", change: function (e) { if (this.value() && this.selectedIndex == -1) { //or use this.dataItem to see if it has an object //alert("Invalid State, \nPlease select a State from the list"); this.select(0); } else if(this.value()== '') { updateMailingStateField.val(this.value()); updateMailingStateField.change(); //updateMailingStateField.$touched(); alert("Invalid State, \nPlease select a State from the list"); } else{ updateMailingStateField.val(this.value()); updateMailingStateField.change(); e.preventDefault(); } } }).data("kendoDropDownList"); var stValue= updateMailingStateField.val(); //alert("hello nurse: " + stValue ); USStates4.value(stValue); USStates4.trigger("change"); /* updateMailingStateField.change(function(){ //alert ("State changed to: " + dd_perm.val()); var dd_Pick4= $("div").find("input[name^='Mailing State-Province50bfcdf821']"); var USStatesDDL4 = dd_Pick4.data("kendoDropDownList"); USStatesDDL4.value(statePersonalDD3.val()); }); */ }///End of Update Personal Info },4000); var mainAppScope; setInterval(function(){ if(mainAppScope === undefined && $("#mainAppId").length > 0) { mainAppScope = $("#mainAppId").scope(); } if(mainAppScope !== null && mainAppScope !== undefined && mainAppScope.isException) { var pagemakerLocation = window.location.href; if(pagemakerLocation.includes("ERx_Forms__PageMaker") && mainAppScope.exceptionErrorMessage.includes("Global Variable can not be accessed for site")) { pagemakerLocation = pagemakerLocation.split('?')[0]; window.location.href = pagemakerLocation.replace("ERx_Forms__PageMaker", mainAppScope.namespacePrefix+"Portal_Login"); return false; } } }, 1000); setTimeout(function(){ var $select2 = $('.slds-select').select2({ containerCssClass: "wrap" }) },4000); $('select').on('change', function() { setTimeout(function(){ var $select2 = $('.slds-select').select2({ containerCssClass: "wrap" }) },4000); }); } </script> </div></div> </body> </html>