1 2<!DOCTYPE html> 3 <html lang="en-au"> 4 <head id="ctl00_ctl00_ctl00_Head1"><title> 5 Abstracts and proposals open | Pathology Update 2027 6</title><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> 7 <meta name="generator" content="elcomCMS - http://elcomCMS.com" /> 8 9 <meta property="og:image" content="https://www.pathologyupdate.com/Images/UserUploadedImages/604/Pathology Update people reading abstracts on screen 1000x600 full resolution.png" /> 10 11 <meta property="og:type" content="article" /> 12 13 <meta property="og:url" content="https://www.pathologyupdate.com/blog/abstracts-and-proposals-open-pathology-update-2027" /> 14 15 <meta property="og:description" content="Find out all you need to know about how to submit an abstract or a proposal for Pathology Update 2027." /> 16 17 <meta property="og:title" content="Abstracts and proposals open " /> 18 19 <link rel="canonical" href="https://www.pathologyupdate.com/blog/abstracts-and-proposals-open-pathology-update-2027" /> 20<link href="/images/UserUploadedImages/351/favicon-16x16.png" type="image/x-icon" rel="icon" /><link href="/include/css/jquery-ui-1.13.2.min.css?_zv=202608131002" type="text/css" rel="stylesheet" media="all" /> 21<link rel="preconnect" href="https://fonts.googleapis.com" /><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="" /><link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" /><link href="/ecthemes/13/css/fontawesome-bundle?_zv=202608131002" type="text/css" rel="stylesheet" media="screen,print,pdf" /><link href="/ecthemes/13/css/theme-bundle?_zv=202608131002" type="text/css" rel="stylesheet" media="screen,print,pdf" /><link href="/ecthemes/13/css/print.min.css?_zv=202608131002" type="text/css" rel="stylesheet" media="print,pdf" /><link type="text/css" rel="stylesheet" href="/ecthemes/13/css/editor-styles.css?_zv=202608131002" />
21<script src="/include/js/jquery-3.7.1.min.js?_zv=202608131002" type="text/javascript" ></script>
vendor: 2 bytes, line 21
21
22<script src="/include/js/validation.min.js?_zv=202608131002" type="text/javascript" ></script>
vendor: 2 bytes, line 22
22
23<script src="/include/js/common.min.js?_zv=202608131002" type="text/javascript" ></script>
vendor: 2 bytes, line 23
23
24<script src="/include/js/jquery-ui-1.13.2.min.js?_zv=202608131002" type="text/javascript" ></script>
24 25 26
26<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
26 27 28<!-- Google Tag Manager script --> 29
29<script></script>
29 30<!-- End Google Tag Manager script --> 31 <link href="/Telerik.Web.UI.WebResource.axd?d=68aPNzx5JNEZh0WzwbvZJsbq_J5PdiIA9k88JDuEW1IppOAYTiP_z1flNHfaGF_aKHd1zbKknWUsAQMGFK9sYEuERTob2sfWHLqgaqiYOTOvrCNdkGnE-vNIOg-aGtWL4PyRpXuFo6SvBZlrZo95PQ2&t=638628567619626917&compress=1&_TSM_CombinedScripts_=%3b%3bCMDotNet%3aen-AU%3a5ebbd9f4-a9f1-4478-95a3-558d876e252d%3a683d5954%3a741a6ad1%3bCMDotNet.Skins%3aen-AU%3ada722f09-a0fd-444a-8486-be280e74bf5e%3a301aceb2%3bCMDotNet%3aen-AU%3a5ebbd9f4-a9f1-4478-95a3-558d876e252d%3a842a83f0%3bCMDotNet.Skins%3aen-AU%3ada722f09-a0fd-444a-8486-be280e74bf5e%3ab5dc755c" type="text/css" rel="stylesheet" /></head> 32 <body class=''> 33<!-- Google Tag Manager noscript --> 34 <noscript></noscript> 35<!-- End Google Tag Manager noscript --> 36 <form method="post" action="./abstracts-and-proposals-open-pathology-update-2027" id="aspnetForm"> 37<div class="aspNetHidden"> 38<input type="hidden" name="returnurlforpage" id="returnurlforpage" value="/blog/abstracts-and-proposals-open-pathology-update-2027" /> 39<input type="hidden" name="ctl00_ctl00_ctl00_ctl12_TSSM" id="ctl00_ctl00_ctl00_ctl12_TSSM" value="" /> 40<input type="hidden" name="ctl00_ctl00_ctl00_rsm_TSM" id="ctl00_ctl00_ctl00_rsm_TSM" value="" /> 41<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /> 42<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> 43<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUENTM4MQ8WBB4PX19BbnRpWHNyZlRva2VuBSBlZDFiNjk3ZDhjYjQ0MmJjODVhMGU4YjdjNDM5NzQ3OR4SX19BbnRpWHNyZlVzZXJOYW1lZWQYCQUiY3RsMDAkY3RsMDAkY3RsMDAkY3RsMTkkTXVsdGlWaWV3MQ8PZGZkBSJjdGwwMCRjdGwwMCRjdGwwMCRjdGwyMSRNdWx0aVZpZXcxDw9kZmQFImN0bDAwJGN0bDAwJGN0bDAwJGN0bDE3JE11bHRpVmlldzEPD2RmZAUiY3RsMDAkY3RsMDAkY3RsMDAkY3RsMTUkTXVsdGlWaWV3MQ8PZGZkBUtjdGwwMCRjdGwwMCRjdGwwMCRuZXN0ZWRBcmVhVHdvJGNvbnRlbnRBcmVhWm9uZSRjb250ZW50VG9wJGN0bDAwJE11bHRpVmlldzEPD2RmZAUiY3RsMDAkY3RsMDAkY3RsMDAkY3RsMjUkTXVsdGlWaWV3MQ8PZGZkBSJjdGwwMCRjdGwwMCRjdGwwMCRjdGwyMyRNdWx0aVZpZXcxDw9kZmQFRGN0bDAwJGN0bDAwJGN0bDAwJGN0bDI3JEFja25vd2xlZGdlR3JvdXBzJHNlbEdyb3VwU2VsZWN0b3IkY2JvR3JvdXBzDxQrAAJlZWQFJ2N0bDAwJGN0bDAwJGN0bDAwJGN0bDI3JERpc3BsYXlNb2RlVmlldw8PZGZkufYhsFOc9g2jphqTQMNJPpFL7aq15PEQKAREBxbHipo=" /> 44</div> 45
46<script type="text/javascript"> 47//<![CDATA[ 48var theForm = document.forms['aspnetForm']; 49if (!theForm) { 50 theForm = document.aspnetForm; 51} 52function __doPostBack(eventTarget, eventArgument) { 53 if (!theForm.onsubmit || (theForm.onsubmit() != false)) { 54 theForm.__EVENTTARGET.value = eventTarget; 55 theForm.__EVENTARGUMENT.value = eventArgument; 56 theForm.submit(); 57 } 58} 59//]]> 60</script>
60 61 62
63<script src="/WebResource.axd?d=8NRj6pVjERQoQAsy68p8SuG53pSvtyhNANsx8sALzSjNEczyZw6jlXORaTNNFX_czEuA3Ye-V0p4_BcwRxc9hQl62NuhugaNnWk-jopH7xg1&t=638628567619783110" type="text/javascript"></script>
63 64 65
66<script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_ctl00_rsm_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-AU%3a95047a2c-8908-49e3-b68e-d249be89f134%3aea597d4b%3ab25378d2%3bCMDotNet%3aen-AU%3a5ebbd9f4-a9f1-4478-95a3-558d876e252d%3a3e4267ce" type="text/javascript"></script>
66 67<div class="aspNetHidden"> 68 69 <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="541A68AF" /> 70 <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAAOKTaKqM99RaBfBo7KA7g9MxjlYSiM50S2FvdYGjA3UVEqKcZGyvmuPvv6Z6//whLXjY4H9VjVOKqCvOkuxgL0hrSH4nd5h3oro8P8CDgzu/Q==" /> 71</div> 72 73 74 75 76 <header id="header" role="banner"> 77 <div class="container padding-top"> 78 <nav id="main-nav" class="navbar justify-content-between justify-content-lg-start align-items-stretch no-padding" role="navigation" aria-label="Site main navigation"> 79 <a href="#page-content" class="skip-link sr-only sr-only-focusable d-print-none">Skip to main content</a> 80 <div id="header-icon" class="navbar-header order-2 order-xl-1"> 81 <a class="navbar-brand" href="/" title="Back to homepage"><span class="sr-only">Navigate to home page</span><img src="/images/UserUploadedImages/351/RCPA-Pathology-Update-2027-logo.svg" alt="Logo for Pathology Update 2027" class="d-none d-print-block"></a> 82 <p class="d-none d-md-block text-white large no-margin-bottom"> 83 84 85 Reimagining the future of pathology | 5 to 7 March 2027 86 87 88 </div> 89 <div id="header-nav" class="navbar-expand-xl d-block d-xl-flex order-1 order-xl-2 flex-xl-fill align-items-xl-stretch d-print-none justify-content-end"> 90 <button type="button" class="btn-section navbar-toggler d-block bg-shade d-xl-none border-circle collapsed" data-toggle="collapse" data-target="#site-nav" aria-pressed="false" aria-controls="site-nav" aria-expanded="false"> 91 <span class="icon icon-right icon-only icon-small icon-menu smallest">Site nav</span> 92 </button> 93 <div id="site-nav" class="navbar-collapse align-items-xl-start collapse flex-grow-0" aria-hidden="false"> 94 <ul class="hmenu menu40"> 95 <li class="iFOL579 first"><a href="/submissions"><span>Submissions</span></a> 96 </li> 97 <li class="iFOL609"><a href="/flights-and-accommodation"><span>Travel</span></a> 98 </li> 99 <li class="iFOL608"><a href="/grants"><span>Grants</span></a> 100 </li> 101 <li class="iFOL346"><a href="/speakers"><span>Speakers</span></a> 102 </li> 103 <li class="iFOL345"><a href="/program"><span>Program</span></a> 104 </li> 105 <li class="iFOL582"><a href="/registration"><span>Registration</span></a> 106 </li> 107 <li class="iFOL349"><a href="/partners-and-exhibitors"><span>Partners</span></a> 108 </li> 109 <li class="iFOL350 last"><a href="/contact"><span>Contact</span></a> 110 </li> 111 112</ul> 113 114 </div> 115 <div class="header-top-cta"></div> 116 </div> 117 </nav> 118 </div> 119 </header> 120 <main id="page-content" role="main"> 121 122<div id="general"> 123<section class="content-area container padding-bottom-mid"> 124 <div class="row no-margin"> 125 126<div class="max-width1000 margin-left-auto margin-right-auto align-left w-100 heading"> 127<h1>Abstracts and proposals open </h1> 128<p><img alt='Abstracts and proposals open ' class="w-100 border-rad object-fit-cover aspect-ratio5-3" src='/Images/UserUploadedImages/604/Pathology Update people reading abstracts on screen 1000x600 full resolution.png'></p> 129<p style="text-align: right;" class="uppercase">Last updated <strong>17 Jul 2026</strong></p> 130 131 132</div> 133 134<article class="margin-left-auto margin-right-auto w-100"> 135 136 137 <p><strong>The Royal College of Pathologists of Australasia (RCPA) is pleased to announce that abstract and proposal submissions for Pathology Update 2027 are now open.</strong> </p> 138<p>Pathology Update is the premier annual scientific meeting for the pathology community across Australasia. Making a submission is your opportunity to share your research, quality initiatives, and clinical insights with the pathology community, including your peers and leaders in the field.</p> 139<p>This year, there are two submission categories to choose from. This includes abstract submissions and a new category; proposal submissions. This change has been made to reflect the RCPA’s commitment to creating a diverse scientific program that invites engagement from across the pathology and senior science professions. </p> 140<h5>Abstract submission</h5> 141<p>Abstracts include oral presentations and e-posters. <br> 142<br> 143Abstract submissions are open to members and non-members and cover a range of themes spanning the pathology disciplines.</p> 144<p><a href="https://www.pathologyupdate.com/abstracts/make-a-submission-abstracts-2027" class="btn btn-primary" target="_blank" style="font-size: 16px;">Find out more</a></p> 145<h5>Proposal submission</h5> 146<p>This year, the RCPA has added a new proposal category offering interactive workshops, panel discussions, debates, interactive slide workshops and symposia.<br> 147<br> 148Proposals are open to RCPA members and cover a range of themes.</p> 149<p>
149<a href="https://www.pathologyupdate.com/submissions/make-a-submission-proposals-2027" class="btn btn-primary" target="_blank" style="font-size: 16px;">Find out more</a></p> 150<h6><span>Why make a submission</span></h6> 151<p><span>Abstract and proposal submissions are the foundation of high-quality scientific programs. They also offer a great opportunity to invest in your professional development.<br> 152<br> 153By submitting an abstract or proposal, you can contribute to the scientific integrity and educational value of the conference, while gaining recognition and feedback from expert reviewers.</span></p> 154<h6><span>What do I do next?</span></h6> 155<p>The Pathology Update 2027 website and submission portals have all the information and guidance you need to contribute your ideas to the conference. <br> 156<br> 157The RCPA recommends visiting the Abstracts and Submissions page as a first step to become familiar with the options, then preparing either your abstract or proposal in line with the guidance on the <a href="https://www.pathologyupdate.com/abstracts/make-a-submission-abstracts-2027" target="_blank"><strong>make an abstract submission</strong></a> or <strong><a href="https://www.pathologyupdate.com/submissions/make-a-submission-proposals-2027" target="_blank">make a proposal submission page.</a></strong></p> 158<p><strong><span> <br> 159</span></strong></p> 160 161 162</article> 163 164<article class="max-width1000 margin-left-auto margin-right-auto w-100"> 165 166</article> 167<article class="margin-left-auto margin-right-auto w-100"> 168 169</article> 170 171 </div> 172</section> 173</div> 174 175 </main> 176 <footer id="footer" class="d-print-none padding-all container" role="contentinfo"> 177 <h2 class="sr-only">Site Information</h2> 178 <nav id="footer-links" aria-label="Site navigation in footer"> 179 <div class="container"> 180 <div class="row border-rad bg-tertiary"> 181 <div class="col-12 col-md-6 text-white padding-all-full d-flex margin-bottom"> 182 <div class="row col-12 no-padding"> 183 <div class="col-12 col-lg-6"> 184 <a class="navbar-brand" href="/"> 185 186 <img src="/ecthemes/13/images/rcpa-logo_Inverse.png" alt="RCPA logo"> 187 188</a> 189 190 191 <ul class="no-list social d-flex"> 192 <li><a class="icon icon-small icon-only icon-light icon-facebook" href="https://www.facebook.com/TheRoyalCollegeOfPathologistsOfAustralasia" target="_blank">Connect with us on Facebook</a></li> 193 <li><a class="icon icon-small icon-only icon-light icon-twitter" href="https://twitter.com/PathologyRCPA" target="_blank">Connect with us on Twitter</a></li> 194 <li><a class="icon icon-small icon-only icon-light icon-instagram" href="https://www.instagram.com/the_rcpa/" target="_blank">Connect with us on Youtube</a></li> 195 <li><a class="icon icon-small icon-only icon-light icon-linkedin" href="https://www.linkedin.com/company/the-royal-college-of-pathologists-of-australasia-rcpa/" target="_blank">Connect with us on LinkedIn</a></li> 196</ul> 197 198 199 </div> 200 <div class="col-12 col-lg-6 sitemap"> 201 <h6 class="large"><a href="/" title="Back to home">Pathology Update 2027</a></h6> 202 <ul class="hmenu menu41"> 203 <li class="iFOL345 first"><a href="/program"><span>Program</span></a> 204 </li> 205 <li class="iFOL349"><a href="/partners-and-exhibitors"><span>Partners</span></a> 206 </li> 207 <li class="iFOL579"><a href="/submissions"><span>Submissions</span></a> 208 </li> 209 <li class="iFOL346"><a href="/speakers"><span>Speakers</span></a> 210 </li> 211 <li class="iFOL348 selected"><a href="/blog"><span>Blog</span></a> 212 </li> 213 <li class="iFOL350"><a href="/contact"><span>Contact</span></a> 214 </li> 215 <li class="iFOL582 last"><a href="/registration"><span>Registration</span></a> 216 </li> 217 218</ul> 219 220 </div> 221 </div> 222 </div> 223 <div class="col-12 col-md-6 bg-secondary border-rad padding-all-full stay-updated"> 224 225 </div> 226 </div> 227 </div> 228 </nav> 229 <article id="footer-bottom" class="margin-top-mid padding-bottom-mid"> 230 <div class="container"> 231 <div class="row margin-bottom-full padding-all"> 232 233 234 <p><strong>The RCPA acknowledges the Traditional Owners of Country throughout Australia and recognises their continuing connection to lands, waters and communities. We pay our respect to Aboriginal and Torres Strait Islander traditions and cultures, and to Elders past, present and emerging.</strong></p> 235<p><strong> 236The RCPA acknowledges the rangatiratanga of MÄori as tangata whenua and Treaty of Waitangi partners in Aotearoa New Zealand.</strong></p> 237 238 239 </div> 240 <div class="row"> 241 <div class="col-md-5 col-12 padding-bottom-mid left"> 242 243 244 <p>© 2026. All rights reserved.</p> 245 246 247 </div>
248 <div class="col-md-7 col-12 padding-bottom-mid d-flex justify-content-md-end right"> 249 250 251 <p><a title="Terms & Conditions" href="/t-cs/delegate-terms-and-conditions">Terms & Conditions</a> <a href="/cookie-privacy-policy/privacy">Cookie & Privacy Policy</a></p> 252 253 254 </div> 255 </div> 256 </div> 257 </article> 258 </footer> 259 260 <div id="ctl00_ctl00_ctl00_ctl27_viewPanel"> 261 262 263 <div class="article-acknowledge-main"> 264 <div id="ctl00_ctl00_ctl00_ctl27_divAcknowledgeTextDisplay" class="clsAknowledgeTextDisplay ack-content"> 265 <div id="AckContent_1206" class="ack-item ack-banner"> 266<div id="AckTextContent_1206" class="ack-content alert alert-info"> 267<p>This site makes use of cookies to enhance your site experience and for analytical purposes. By continuing to browse or clicking 'Accept' you agree to the storing of these cookies on your device. To learn more about how we use cookies <a href="/privacy/cookie-policy">please visit our Cookie Policy</a></p> 268<button id="AckButtonsContent_1206" type="button" class="btn btn-primary acknowledge-btn btn btn-primary acknowledge-btn" onclick="javascript:ConfirmAcknowledge1206(0,1206); return false;">Accept and close</button> 269</div> 270</div> 271 272 273 </div> 274 </div> 275 276</div> 277 <div id="ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog" style="display:none;"> 278 <div onkeypress="javascript:return WebForm_FireDefaultButton(event, 'ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog_submitButton')"> 279 280 281 282 </div><div><input type="submit" name="ctl00$ctl00$ctl00$ctl27$ShowAcknowlegementModalDialog$submitButton" value="Submit" onclick="with ($find('ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog')) { raiseEvent('onSubmitClicked', event); if (event.returnValue) close();} return false;" id="ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog_submitButton" class="btn btn-primary" /><input type="submit" name="ctl00$ctl00$ctl00$ctl27$ShowAcknowlegementModalDialog$cancelButton" value="Cancel" onclick="with ($find('ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog')) { raiseEvent('onCancelClicked', event); close();} return false;" id="ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog_cancelButton" class="btn btn-light" /></div> 283</div> 284
284<script type="text/javascript"> 285 function ConfirmAcknowledge1206(intTrackBy, numModuleID) { 286 //var numModuleID = $("#hidAckModuleID").val(); 287 288 var serviceURL = '/Acknowledge/Services/Acknowledge.asmx/CreateAcknowledgeConfirmLog'; 289 var requestData = { 290 moduleID: numModuleID, 291 trackBy: intTrackBy 292 } 293 294 validation.callValidatingJsonReturnValueService( 295 serviceURL, 296 "GET", 297 requestData, 298 ConfirmAcknowledgeSuccess1206, //success with data 299 ConfirmAcknowledgeSuccess1206, // Success with no data 300 validationFailed1206, 301 serverError1206); 302 } 303 304 305 function ConfirmAcknowledgeSuccess1206(ackCount) { 306 //var ackModuleID = $("#hidAckModuleID").val(); 307 var targetCtrl = $("#AckTextContent_1206"); // + ackModuleID); 308 var popupCtrl = $("#AckAlertContent_1206"); // + ackModuleID); 309 310 if (popupCtrl !== null) { 311 popupCtrl.show(); 312 } 313 if (targetCtrl !== null) { 314 targetCtrl.hide(); 315 } 316 317 SetAcknowledgesCount1206(ackCount); 318 } 319 320 function SetAcknowledgesCount1206(ackCount) { 321 if (ackCount > 0) { 322 $(".acknowledgement-count").each(function (index) { 323 $(this).text(' ' + ackCount); 324 }); 325 } else { 326 $(".acknowledgement-count-content").each(function (index) { 327 $(this).hide(); 328 }); 329 } 330 } 331 332 function CancelAcknowledgement1206(numModuleID) { 333 //var numModuleID = $("#hidAckModuleID").val(); 334 335 var serviceURL = '/Acknowledge/Services/Acknowledge.asmx/SetUserConfirmCancelFlag'; 336 var requestData = { 337 moduleID: numModuleID 338 } 339 340 validation.callValidatingJsonReturnValueService( 341 serviceURL, 342 "GET", 343 requestData, 344 function (resp) { CancelAcknowledgementSuccess1206(numModuleID); }, //success with data. Note, return value is not used 345 function () { CancelAcknowledgementSuccess1206(numModuleID); }, // Success with no data 346 validationFailed1206, 347 serverError1206); 348 } 349 350 function CancelAcknowledgementSuccess1206(ackModuleID) { 351 //var ackModuleID = $("#hidAckModuleID").val(); 352 var targetCtrl = $("#AckTextContent_" + ackModuleID); 353 targetCtrl.val(''); 354 targetCtrl.html(''); 355 targetCtrl.change(); 356 } 357 358 function performAcknowledgement1206(intTrackdBy, numModuleId, blnHideAcktext) { 359 if ($find('ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog') !== null) { 360 ConfirmAcknowledge1206(intTrackdBy, numModuleId); 361 362 $find('ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog').close(); 363 364 showAfterAckMsg1206(numModuleId, blnHideAcktext); 365 366 return false; 367 } 368 } 369 370 function cancelAcknowledgementModalDialog1206(numModuleId) { 371 if ($find('ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog') !== null) { 372 CancelAcknowledgement1206(numModuleId); 373 374 $find('ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog').close(); 375 return false; 376 } 377 } 378 379 function showAfterAckMsg1206(numModuleId, blnHideAcktext) { 380 // var targetCtrl = $("#AckTextContent_" + numModuleId); 381 var afterAckCtrl = $("#AckAfterAckContent_" + numModuleId); 382 var ackTextCtrl = $("#AckTextContent_" + numModuleId); 383 384 //if (targetCtrl !== null) { 385 // targetCtrl.show(); 386 //} 387 388 if (blnHideAcktext === 0) { 389 390 var buttonsContentCtrl = $("#AckButtonsContent_" + numModuleId); 391 if (buttonsContentCtrl !== null) { 392 buttonsContentCtrl.hide(); 393 } 394 395 ackTextCtrl.show(); 396 ackTextCtrl.addClass("ack-content-confirmed"); 397 398 if (afterAckCtrl !== null) { 399 afterAckCtrl.show(); 400 } 401 } 402 } 403 404 function validationFailed1206(msg) { 405 if (msg !== null || msg.length > 0) { 406 var msgStr = ''; 407 408 for (var i = 0; i < msg.length; i++) { 409 msgStr += msg[i].Value + '<br/>'; 410 } 411 412 errors.showError(msg[0].Value); 413 } 414 else { 415 errors.showError('validationFailed'); 416 } 417 } 418 419 function serverError1206(msg) { 420 if (msg !== null || msg.length > 0) { 421 422 errors.showError(msg); 423 } 424 else { 425 errors.showError('serverError'); 426 } 427 } 428 </script>
428 429 430 431 <div> <!-- Required elements which were missing (Added by CM to ensure masterpage integrity) --> 432 433 434 435 436 437</div>
438<script type="text/javascript"> 439//<![CDATA[ 440Sys.WebForms.PageRequestManager._initialize('ctl00$ctl00$ctl00$rsm', 'aspnetForm', [], [], [], 90, 'ctl00$ctl00$ctl00'); 441//]]> 442</script>
vendor: 2 bytes, line 442
442
443<script src="/include/js/editorcustomcommands.min.js?_zv=202608131002" type="text/javascript" ></script>
443 444 445
446<script type="text/javascript"> 447//<![CDATA[ 448window.__TsmHiddenField = $get('ctl00_ctl00_ctl00_rsm_TSM');Sys.Application.add_load(function () { $find('ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog').initializeDialog(); 449}); ;(function() { 450 function loadHandler() { 451 var hf = $get('ctl00_ctl00_ctl00_ctl12_TSSM'); 452 if (!hf._RSSM_init) { hf._RSSM_init = true; hf.value = ''; } 453 hf.value += ';CMDotNet:en-AU:5ebbd9f4-a9f1-4478-95a3-558d876e252d:683d5954:741a6ad1;CMDotNet.Skins:en-AU:da722f09-a0fd-444a-8486-be280e74bf5e:301aceb2;CMDotNet:en-AU:5ebbd9f4-a9f1-4478-95a3-558d876e252d:842a83f0;CMDotNet.Skins:en-AU:da722f09-a0fd-444a-8486-be280e74bf5e:b5dc755c'; 454 Sys.Application.remove_load(loadHandler); 455 }; 456 Sys.Application.add_load(loadHandler); 457 })();Sys.Application.add_init(function() { 458 $create(CMDotNet.ModalDialog, {"autoOpen":false,"autoOpenDelay":0,"causesPostback":false,"title":"","width":0}, null, null, $get("ctl00_ctl00_ctl00_ctl27_ShowAcknowlegementModalDialog")); 459}); 460//]]> 461</script>
461 462</form> 463
463<script src="/ecthemes/13/js/theme-bundle?_zv=202608131002" type="text/javascript"></script>
463 464
464<script type="text/javascript"> 465 $(document).ready(function() { 466 languageController.setUserSiteLanguage('1'); 467 }); 468 </script>
468 469 <div id="mc_embed_shell"> 470 <div id="mc_embed_signup"> 471 <form action="https://rcpa.us10.list-manage.com/subscribe/post?u=9dd0541eb58e20d45987e8760&id=4a0bd71088&f_id=009032e2f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank"> 472 <div id="mc_embed_signup_scroll"> 473 <h2 class="sr-only">Subscribe</h2> 474 <div class="mc-field-group"><label for="mce-EMAIL">Email Address <span class="asterisk">*</span></label><input type="email" name="EMAIL" class="required email" id="mce-EMAIL" required="" value=""></div> 475 <div hidden=""><input type="hidden" name="tags" value="13541218"></div> 476 <div id="mce-responses" class="clear"> 477 <div class="response" id="mce-error-response" style="display: none;"></div> 478 <div class="response" id="mce-success-response" style="display: none;"></div> 479 </div> 480 <div aria-hidden="true" style="position: absolute; left: -5000px;"><input type="text" name="b_9dd0541eb58e20d45987e8760_4a0bd71088" tabindex="-1" value=""></div> 481 <div class="clear"><input type="submit" name="subscribe" id="mc-embedded-subscribe" class="button button btn btn-secondary" value="Subscribe"></div> 482 </div> 483 </form> 484 </div> 485 </div>
486<script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script>
486<script type="text/javascript">(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='MMERGE5';ftypes[5]='dropdown';fnames[6]='MMERGE6';ftypes[6]='dropdown';fnames[7]='MMERGE7';ftypes[7]='text';}(jQuery));var $mcj = jQuery.noConflict(true); 487 // SMS Phone Multi-Country Functionality 488 if(!window.MC) { 489 window.MC = {}; 490 } 491 window.MC.smsPhoneData = { 492 defaultCountryCode: 'AU', 493 programs: [], 494 smsProgramDataCountryNames: [] 495 }; 496 497 function getCountryUnicodeFlag(countryCode) { 498 return countryCode.toUpperCase().replace(/./g, (char) => String.fromCodePoint(char.charCodeAt(0) + 127397)) 499 }; 500 501 // HTML sanitization function to prevent XSS 502 function sanitizeHtml(str) { 503 if (typeof str !== 'string') return ''; 504 return str 505 .replace(/&/g, '&') 506 .replace(/</g, '<') 507 .replace(/>/g, '>') 508 .replace(/"/g, '"') 509 .replace(/'/g, ''') 510 .replace(/\//g, '/'); 511 } 512 513 // URL sanitization function to prevent javascript: and data: URLs 514 function sanitizeUrl(url) { 515 if (typeof url !== 'string') return ''; 516 const trimmedUrl = url.trim().toLowerCase(); 517 if (trimmedUrl.startsWith('javascript:') || trimmedUrl.startsWith('data:') || trimmedUrl.startsWith('vbscript:')) { 518 return '#'; 519 } 520 return url; 521 } 522 523 const getBrowserLanguage = () => { 524 if (!window?.navigator?.language?.split('-')[1]) { 525 return window?.navigator?.language?.toUpperCase(); 526 } 527 return window?.navigator?.language?.split('-')[1]; 528 }; 529 530 function getDefaultCountryProgram(defaultCountryCode, smsProgramData) { 531 if (!smsProgramData || smsProgramData.length === 0) { 532 return null; 533 } 534 535 const browserLanguage = getBrowserLanguage(); 536 537 if (browserLanguage) { 538 const foundProgram = smsProgramData.find( 539 (program) => program?.countryCode === browserLanguage, 540 ); 541 if (foundProgram) { 542 return foundProgram; 543 } 544 } 545 546 if (defaultCountryCode) { 547 const foundProgram = smsProgramData.find( 548 (program) => program?.countryCode === defaultCountryCode, 549 ); 550 if (foundProgram) { 551 return foundProgram; 552 } 553 } 554 555 return smsProgramData[0]; 556 } 557 558 function updateSmsLegalText(countryCode, fieldName) { 559 if (!countryCode || !fieldName) { 560 return; 561 } 562 563 const programs = window?.MC?.smsPhoneData?.programs; 564 if (!programs || !Array.isArray(programs)) { 565 return; 566 } 567 568 const program = programs.find(program => program?.countryCode === countryCode); 569 if (!program || !program.requiredTemplate) { 570 return; 571 } 572 573 const legalTextElement = document.querySelector('#legal-text-' + fieldName); 574 if (!legalTextElement) { 575 return; 576 } 577 578 // Remove HTML tags and clean up the text 579 const divRegex = new RegExp('</?[div][^>]*>', 'gi'); 580 const fullAnchorRegex = new RegExp('<a.*?</a>', 'g'); 581 const anchorRegex = new RegExp('<a href="(.*?)" target="(.*?)">(.*?)</a>'); 582 583 const template = program.requiredTemplate.replace(divRegex, ''); 584 585 586 587 legalTextElement.textContent = ''; 588 const parts = template.split(/(<a href=".*?" target=".*?">.*?<\/a>)/g); 589 parts.forEach(function(part) { 590 if (!part) { 591 return; 592 } 593 const anchorMatch = part.match(/<a href="(.*?)" target="(.*?)">(.*?)<\/a>/); 594 if (anchorMatch) { 595 const linkElement = document.createElement('a'); 596 linkElement.href = sanitizeUrl(anchorMatch[1]); 597 linkElement.target = sanitizeHtml(anchorMatch[2]); 598 linkElement.textContent = sanitizeHtml(anchorMatch[3]); 599 legalTextElement.appendChild(linkElement); 600 } else { 601 legalTextElement.appendChild(document.createTextNode(part));
602 } 603 }); 604 605 } 606 607 function generateDropdownOptions(smsProgramData) { 608 if (!smsProgramData || smsProgramData.length === 0) { 609 return ''; 610 } 611 612 return smsProgramData.map(program => { 613 const flag = getCountryUnicodeFlag(program.countryCode); 614 const countryName = getCountryName(program.countryCode); 615 const callingCode = program.countryCallingCode || ''; 616 // Sanitize all values to prevent XSS 617 const sanitizedCountryCode = sanitizeHtml(program.countryCode || ''); 618 const sanitizedCountryName = sanitizeHtml(countryName || ''); 619 const sanitizedCallingCode = sanitizeHtml(callingCode || ''); 620 return '<option value="' + sanitizedCountryCode + '">' + sanitizedCountryName + ' ' + sanitizedCallingCode + '</option>'; 621 }).join(''); 622 } 623 624 function getCountryName(countryCode) { 625 if (window.MC?.smsPhoneData?.smsProgramDataCountryNames && Array.isArray(window.MC.smsPhoneData.smsProgramDataCountryNames)) { 626 for (let i = 0; i < window.MC.smsPhoneData.smsProgramDataCountryNames.length; i++) { 627 if (window.MC.smsPhoneData.smsProgramDataCountryNames[i].code === countryCode) { 628 return window.MC.smsPhoneData.smsProgramDataCountryNames[i].name; 629 } 630 } 631 } 632 return countryCode; 633 } 634 635 function getDefaultPlaceholder(countryCode) { 636 if (!countryCode || typeof countryCode !== 'string') { 637 return '+1 000 000 0000'; // Default US placeholder 638 } 639 640 var mockPlaceholders = [ 641 { 642 countryCode: 'US', 643 placeholder: '+1 000 000 0000', 644 helpText: 'Include the US country code +1 before the phone number', 645 }, 646 { 647 countryCode: 'GB', 648 placeholder: '+44 0000 000000', 649 helpText: 'Include the GB country code +44 before the phone number', 650 }, 651 { 652 countryCode: 'CA', 653 placeholder: '+1 000 000 0000', 654 helpText: 'Include the CA country code +1 before the phone number', 655 }, 656 { 657 countryCode: 'AU', 658 placeholder: '+61 000 000 000', 659 helpText: 'Include the AU country code +61 before the phone number', 660 }, 661 { 662 countryCode: 'DE', 663 placeholder: '+49 000 0000000', 664 helpText: 'F¸gen Sie vor der Telefonnummer die DE-Lâ°ndervorwahl +49 ein', 665 }, 666 { 667 countryCode: 'FR', 668 placeholder: '+33 0 00 00 00 00', 669 helpText: 'Incluez le code pays FR +33 avant le numÃro de tÃlÃphone', 670 }, 671 { 672 countryCode: 'ES', 673 placeholder: '+34 000 000 000', 674 helpText: 'Incluya el cÃdigo de paÃs ES +34 antes del nËmero de telÃfono', 675 }, 676 { 677 countryCode: 'NL', 678 placeholder: '+31 0 00000000', 679 helpText: 'Voeg de NL-landcode +31 toe vÃÃr het telefoonnummer', 680 }, 681 { 682 countryCode: 'BE', 683 placeholder: '+32 000 00 00 00', 684 helpText: 'Incluez le code pays BE +32 avant le numÃro de tÃlÃphone', 685 }, 686 { 687 countryCode: 'CH', 688 placeholder: '+41 00 000 00 00', 689 helpText: 'F¸gen Sie vor der Telefonnummer die CH-Lâ°ndervorwahl +41 ein', 690 }, 691 { 692 countryCode: 'AT', 693 placeholder: '+43 000 000 0000', 694 helpText: 'F¸gen Sie vor der Telefonnummer die AT-Lâ°ndervorwahl +43 ein', 695 }, 696 { 697 countryCode: 'IE', 698 placeholder: '+353 00 000 0000', 699 helpText: 'Include the IE country code +353 before the phone number', 700 }, 701 { 702 countryCode: 'IT', 703 placeholder: '+39 000 000 0000', 704 helpText: 'Includere il prefisso internazionale IT +39 prima del numero di telefono', 705 }, 706 { 707 countryCode: 'NO', 708 placeholder: '+47 000 00 000', 709 helpText: 'Inkluder NO landskode +47 f¯r telefonnummeret', 710 }, 711 { 712 countryCode: 'SE', 713 placeholder: '+46 00 000 00 00', 714 helpText: 'Inkludera SE landskod +46 fËre telefonnumret', 715 }, 716 { 717 countryCode: 'DK', 718 placeholder: '+45 00 00 00 00', 719 helpText: 'Inkluder DK landekode +45 f¯r telefonnummeret', 720 }, 721 { 722 countryCode: 'FI', 723 placeholder: '+358 00 000 0000', 724 helpText: 'Sisâ°llytâ° FI-maakoodi +358 ennen puhelinnumeroa', 725 }, 726 { 727 countryCode: 'EE', 728 placeholder: '+372 0000 0000', 729 helpText: 'Lisage EE riigikood +372 telefoninumbri ette', 730 }, 731 { 732 countryCode: 'PL', 733 placeholder: '+48 000 000 000', 734 helpText: 'Podaj numer kierunkowy PL +48 przed numerem telefonu', 735 }, 736 { 737 countryCode: 'SK', 738 placeholder: '+421 000 000 000', 739 helpText: 'Pred telefÃnne ?Ãslo uve?te kÃd krajiny SK +421', 740 }, 741 { 742 countryCode: 'LV', 743 placeholder: '+371 0000 0000', 744 helpText: 'Iek?aujiet LV valsts kodu +371 pirms t?lru?a numura', 745 }, 746 { 747 countryCode: 'LT', 748 placeholder: '+370 0000 0000', 749 helpText: '?traukite LT öalies kod? +370 prieö telefono numer?', 750 }, 751 { 752 countryCode: 'GR', 753 placeholder: '+30 000 000 0000', 754 helpText: '????????????? ??? ?????? ????? GR +30 ???? ??? ??? ?????? ?????????', 755 }, 756 { 757 countryCode: 'PT', 758 placeholder: '+351 000 000 000', 759 helpText: 'Inclua o cÃdigo de paÃs PT +351 antes do nËmero de telefone', 760 }, 761 { 762 countryCode: 'HR', 763 placeholder: '+385 00 000 0000', 764 helpText: 'Uklju?ite HR pozivni broj drûave +385 prije telefonskog broja', 765 }, 766 { 767 countryCode: 'SI', 768 placeholder: '+386 00 000 000', 769 helpText: 'Vklju?ite SI kodo drûave +386 pred telefonsko ötevilko', 770 }, 771 { 772 countryCode: 'IS', 773 placeholder: '+354 000 0000', 774 helpText: 'L·ttu IS landsnËmer +354 fylgja · undan sÃmanËmerinu', 775 }, 776 { 777 countryCode: 'LU', 778 placeholder: '+352 000 000 000', 779 helpText: 'Incluez le code pays LU +352 avant le numÃro de tÃlÃphone', 780 }, 781 { 782 countryCode: 'MC', 783 placeholder: '+377 00 00 00 00', 784 helpText: 'Incluez le code pays MC +377 avant le numÃro de tÃlÃphone', 785 }, 786 { 787 countryCode: 'AD', 788 placeholder: '+376 000 000', 789 helpText: 'Incloeu el codi de paÃs AD +376 abans del nËmero de telÃfon', 790 }, 791 { 792 countryCode: 'JE', 793 placeholder: '+44 0000 000000', 794 helpText: 'Include the JE country code +44 before the phone number', 795 }, 796 { 797 countryCode: 'IM', 798 placeholder: '+44 0000 000000', 799 helpText: 'Include the IM country code +44 before the phone number', 800 }, 801 { 802 countryCode: 'GG', 803 placeholder: '+44 0000 000000', 804 helpText: 'Include the GG country code +44 before the phone number', 805 }, 806 { 807 countryCode: 'AL', 808 placeholder: '+355 00 000 0000', 809 helpText: 'PÃrfshini kodin e vendit AL +355 para numrit tà telefonit', 810 }, 811 { 812 countryCode: 'SM', 813 placeholder: '+378 0000 000000', 814 helpText: 'Includere il prefisso internazionale SM +378 prima del numero di telefono', 815 }, 816 { 817 countryCode: 'FO', 818 placeholder: '+298 000000', 819 helpText: 'Inkluder FO landekode +298 f¯r telefonnummeret', 820 }, 821 { 822 countryCode: 'MT', 823 placeholder: '+356 0000 0000', 824 helpText: 'Include the MT country code +356 before the phone number', 825 }, 826 { 827 countryCode: 'LI', 828 placeholder: '+423 000 0000', 829 helpText: 'F¸gen Sie vor der Telefonnummer die LI-Lâ°ndervorwahl +423 ein', 830 }, 831 { 832 countryCode: 'GI', 833 placeholder: '+350 000 00000', 834 helpText: 'Include the GI country code +350 before the phone number', 835 }, 836 { 837 countryCode: 'MD', 838 placeholder: '+373 00 000 000', 839 helpText: 'Include?i codul de ?ar? MD +373 Ãnaintea num?rului de telefon', 840 }, 841 { 842 countryCode: 'HU', 843 placeholder: '+36 00 000 0000', 844 helpText: 'A telefonsz·m el?tt adja meg a HU orsz·gkÃdot +36', 845 }, 846 { 847 countryCode: 'NZ', 848 placeholder: '+64 00 000 0000', 849 helpText: 'Include the NZ country code +64 before the phone number', 850 }, 851 { 852 countryCode: 'ME', 853 placeholder: '+382 00 000 000', 854 helpText: 'Uklju?ite ME pozivni broj drûave +382 prije telefonskog broja', 855 }, 856 ]; 857 858 const selectedPlaceholder = mockPlaceholders.find(function(item) { 859 return item && item.countryCode === countryCode; 860 }); 861 862 return selectedPlaceholder ? selectedPlaceholder.placeholder : mockPlaceholders[0].placeholder; 863 } 864 865 function updatePlaceholder(countryCode, fieldName) { 866 if (!countryCode || !fieldName) { 867 return; 868 } 869 870 const phoneInput = document.querySelector('#mce-' + fieldName); 871 if (!phoneInput) { 872 return; 873 } 874 875 const placeholder = getDefaultPlaceholder(countryCode); 876 if (placeholder) { 877 phoneInput.placeholder = placeholder; 878 } 879 } 880 881 function updateCountryCodeInstruction(countryCode, fieldName) { 882 updatePlaceholder(countryCode, fieldName); 883 884 } 885 886 function getDefaultHelpText(countryCode) { 887 var mockPlaceholders = [ 888 { 889 countryCode: 'US', 890 placeholder: '+1 000 000 0000', 891 helpText: 'Include the US country code +1 before the phone number', 892 }, 893 { 894 countryCode: 'GB', 895 placeholder: '+44 0000 000000', 896 helpText: 'Include the GB country code +44 before the phone number', 897 }, 898 { 899 countryCode: 'CA', 900 placeholder: '+1 000 000 0000', 901 helpText: 'Include the CA country code +1 before the phone number', 902 }, 903 { 904 countryCode: 'AU', 905 placeholder: '+61 000 000 000', 906 helpText: 'Include the AU country code +61 before the phone number', 907 }, 908 { 909 countryCode: 'DE', 910 placeholder: '+49 000 0000000', 911 helpText: 'F¸gen Sie vor der Telefonnummer die DE-Lâ°ndervorwahl +49 ein', 912 }, 913 { 914 countryCode: 'FR', 915 placeholder: '+33 0 00 00 00 00', 916 helpText: 'Incluez le code pays FR +33 avant le numÃro de tÃlÃphone', 917 }, 918 { 919 countryCode: 'ES', 920 placeholder: '+34 000 000 000', 921 helpText: 'Incluya el cÃdigo de paÃs ES +34 antes del nËmero de telÃfono', 922 }, 923 { 924 countryCode: 'NL', 925 placeholder: '+31 0 00000000', 926 helpText: 'Voeg de NL-landcode +31 toe vÃÃr het telefoonnummer', 927 }, 928 { 929 countryCode: 'BE', 930 placeholder: '+32 000 00 00 00', 931 helpText: 'Incluez le code pays BE +32 avant le numÃro de tÃlÃphone', 932 }, 933 { 934 countryCode: 'CH', 935 placeholder: '+41 00 000 00 00', 936 helpText: 'F¸gen Sie vor der Telefonnummer die CH-Lâ°n
936dervorwahl +41 ein', 937 }, 938 { 939 countryCode: 'AT', 940 placeholder: '+43 000 000 0000', 941 helpText: 'F¸gen Sie vor der Telefonnummer die AT-Lâ°ndervorwahl +43 ein', 942 }, 943 { 944 countryCode: 'IE', 945 placeholder: '+353 00 000 0000', 946 helpText: 'Include the IE country code +353 before the phone number', 947 }, 948 { 949 countryCode: 'IT', 950 placeholder: '+39 000 000 0000', 951 helpText: 'Includere il prefisso internazionale IT +39 prima del numero di telefono', 952 }, 953 { 954 countryCode: 'NO', 955 placeholder: '+47 000 00 000', 956 helpText: 'Inkluder NO landskode +47 f¯r telefonnummeret', 957 }, 958 { 959 countryCode: 'SE', 960 placeholder: '+46 00 000 00 00', 961 helpText: 'Inkludera SE landskod +46 fËre telefonnumret', 962 }, 963 { 964 countryCode: 'DK', 965 placeholder: '+45 00 00 00 00', 966 helpText: 'Inkluder DK landekode +45 f¯r telefonnummeret', 967 }, 968 { 969 countryCode: 'FI', 970 placeholder: '+358 00 000 0000', 971 helpText: 'Sisâ°llytâ° FI-maakoodi +358 ennen puhelinnumeroa', 972 }, 973 { 974 countryCode: 'EE', 975 placeholder: '+372 0000 0000', 976 helpText: 'Lisage EE riigikood +372 telefoninumbri ette', 977 }, 978 { 979 countryCode: 'PL', 980 placeholder: '+48 000 000 000', 981 helpText: 'Podaj numer kierunkowy PL +48 przed numerem telefonu', 982 }, 983 { 984 countryCode: 'SK', 985 placeholder: '+421 000 000 000', 986 helpText: 'Pred telefÃnne ?Ãslo uve?te kÃd krajiny SK +421', 987 }, 988 { 989 countryCode: 'LV', 990 placeholder: '+371 0000 0000', 991 helpText: 'Iek?aujiet LV valsts kodu +371 pirms t?lru?a numura', 992 }, 993 { 994 countryCode: 'LT', 995 placeholder: '+370 0000 0000', 996 helpText: '?traukite LT öalies kod? +370 prieö telefono numer?', 997 }, 998 { 999 countryCode: 'GR', 1000 placeholder: '+30 000 000 0000', 1001 helpText: '????????????? ??? ?????? ????? GR +30 ???? ??? ??? ?????? ?????????', 1002 }, 1003 { 1004 countryCode: 'PT', 1005 placeholder: '+351 000 000 000', 1006 helpText: 'Inclua o cÃdigo de paÃs PT +351 antes do nËmero de telefone', 1007 }, 1008 { 1009 countryCode: 'HR', 1010 placeholder: '+385 00 000 0000', 1011 helpText: 'Uklju?ite HR pozivni broj drûave +385 prije telefonskog broja', 1012 }, 1013 { 1014 countryCode: 'SI', 1015 placeholder: '+386 00 000 000', 1016 helpText: 'Vklju?ite SI kodo drûave +386 pred telefonsko ötevilko', 1017 }, 1018 { 1019 countryCode: 'IS', 1020 placeholder: '+354 000 0000', 1021 helpText: 'L·ttu IS landsnËmer +354 fylgja · undan sÃmanËmerinu', 1022 }, 1023 { 1024 countryCode: 'LU', 1025 placeholder: '+352 000 000 000', 1026 helpText: 'Incluez le code pays LU +352 avant le numÃro de tÃlÃphone', 1027 }, 1028 { 1029 countryCode: 'MC', 1030 placeholder: '+377 00 00 00 00', 1031 helpText: 'Incluez le code pays MC +377 avant le numÃro de tÃlÃphone', 1032 }, 1033 { 1034 countryCode: 'AD', 1035 placeholder: '+376 000 000', 1036 helpText: 'Incloeu el codi de paÃs AD +376 abans del nËmero de telÃfon', 1037 }, 1038 { 1039 countryCode: 'JE', 1040 placeholder: '+44 0000 000000', 1041 helpText: 'Include the JE country code +44 before the phone number', 1042 }, 1043 { 1044 countryCode: 'IM', 1045 placeholder: '+44 0000 000000', 1046 helpText: 'Include the IM country code +44 before the phone number', 1047 }, 1048 { 1049 countryCode: 'GG', 1050 placeholder: '+44 0000 000000', 1051 helpText: 'Include the GG country code +44 before the phone number', 1052 }, 1053 { 1054 countryCode: 'AL', 1055 placeholder: '+355 00 000 0000', 1056 helpText: 'PÃrfshini kodin e vendit AL +355 para numrit tà telefonit', 1057 }, 1058 { 1059 countryCode: 'SM', 1060 placeholder: '+378 0000 000000', 1061 helpText: 'Includere il prefisso internazionale SM +378 prima del numero di telefono', 1062 }, 1063 { 1064 countryCode: 'FO', 1065 placeholder: '+298 000000', 1066 helpText: 'Inkluder FO landekode +298 f¯r telefonnummeret', 1067 }, 1068 { 1069 countryCode: 'MT', 1070 placeholder: '+356 0000 0000', 1071 helpText: 'Include the MT country code +356 before the phone number', 1072 }, 1073 { 1074 countryCode: 'LI', 1075 placeholder: '+423 000 0000', 1076 helpText: 'F¸gen Sie vor der Telefonnummer die LI-Lâ°ndervorwahl +423 ein', 1077 }, 1078 { 1079 countryCode: 'GI', 1080 placeholder: '+350 000 00000', 1081 helpText: 'Include the GI country code +350 before the phone number', 1082 }, 1083 { 1084 countryCode: 'MD', 1085 placeholder: '+373 00 000 000', 1086 helpText: 'Include?i codul de ?ar? MD +373 Ãnaintea num?rului de telefon', 1087 }, 1088 { 1089 countryCode: 'HU', 1090 placeholder: '+36 00 000 0000', 1091 helpText: 'A telefonsz·m el?tt adja meg a HU orsz·gkÃdot +36', 1092 }, 1093 { 1094 countryCode: 'NZ', 1095 placeholder: '+64 00 000 0000', 1096 helpText: 'Include the NZ country code +64 before the phone number', 1097 }, 1098 { 1099 countryCode: 'ME', 1100 placeholder: '+382 00 000 000', 1101 helpText: 'Uklju?ite ME pozivni broj drûave +382 prije telefonskog broja', 1102 }, 1103 ]; 1104 1105 if (!countryCode || typeof countryCode !== 'string') { 1106 return mockPlaceholders[0].helpText; 1107 } 1108 1109 const selectedHelpText = mockPlaceholders.find(function(item) { 1110 return item && item.countryCode === countryCode; 1111 }); 1112 1113 return selectedHelpText ? selectedHelpText.helpText : mockPlaceholders[0].helpText; 1114 } 1115 1116 function setDefaultHelpText(countryCode) { 1117 const helpTextSpan = document.querySelector('#help-text'); 1118 if (!helpTextSpan) { 1119 return; 1120 } 1121 1122 1123 } 1124 1125 function updateHelpTextCountryCode(countryCode, fieldName) { 1126 if (!countryCode || !fieldName) { 1127 return; 1128 } 1129 1130 setDefaultHelpText(countryCode); 1131 } 1132 1133 function initializeSmsPhoneDropdown(fieldName) { 1134 if (!fieldName || typeof fieldName !== 'string') { 1135 return; 1136 } 1137 1138 const dropdown = document.querySelector('#country-select-' + fieldName); 1139 const displayFlag = document.querySelector('#flag-display-' + fieldName); 1140 1141 if (!dropdown || !displayFlag) { 1142 return; 1143 } 1144 1145 const smsPhoneData = window.MC?.smsPhoneData; 1146 if (smsPhoneData && smsPhoneData.programs && Array.isArray(smsPhoneData.programs)) { 1147 dropdown.innerHTML = generateDropdownOptions(smsPhoneData.programs); 1148 } 1149 1150 const defaultProgram = getDefaultCountryProgram(smsPhoneData?.defaultCountryCode, smsPhoneData?.programs); 1151 if (defaultProgram && defaultProgram.countryCode) { 1152 dropdown.value = defaultProgram.countryCode; 1153
1154 const flagSpan = displayFlag?.querySelector('#flag-emoji-' + fieldName); 1155 if (flagSpan) { 1156 flagSpan.textContent = getCountryUnicodeFlag(defaultProgram.countryCode); 1157 flagSpan.setAttribute('aria-label', sanitizeHtml(defaultProgram.countryCode) + ' flag'); 1158 } 1159 1160 updateSmsLegalText(defaultProgram.countryCode, fieldName); 1161 updatePlaceholder(defaultProgram.countryCode, fieldName); 1162 updateCountryCodeInstruction(defaultProgram.countryCode, fieldName); 1163 } 1164 1165 1166 var smsNotRequiredRemoveCountryCodeEnabled = true; 1167 var smsField = Object.values({"EMAIL":{"name":"EMAIL","label":"Email Address","helper_text":"","type":"email","required":true,"audience_field_name":"Email Address","merge_id":0,"help_text_enabled":false,"enabled":true,"order":0,"field_type":"merge"},"FNAME":{"name":"FNAME","label":"First Name","helper_text":"","type":"text","required":false,"audience_field_name":"First Name","enabled":false,"order":null,"field_type":"merge","merge_id":1},"LNAME":{"name":"LNAME","label":"Last Name","helper_text":"","type":"text","required":false,"audience_field_name":"Last Name","enabled":false,"order":null,"field_type":"merge","merge_id":2},"ADDRESS":{"name":"ADDRESS","label":"Address","helper_text":"","type":"address","required":false,"audience_field_name":"Address","enabled":false,"order":null,"field_type":"merge","merge_id":3,"countries":{"2":"Albania","3":"Algeria","4":"Andorra","5":"Angola","6":"Argentina","7":"Armenia","8":"Australia","9":"Austria","10":"Azerbaijan","11":"Bahamas","12":"Bahrain","13":"Bangladesh","14":"Barbados","15":"Belarus","16":"Belgium","17":"Belize","18":"Benin","19":"Bermuda","20":"Bhutan","21":"Bolivia","22":"Bosnia and Herzegovina","23":"Botswana","24":"Brazil","25":"Bulgaria","26":"Burkina Faso","27":"Burundi","28":"Cambodia","29":"Cameroon","30":"Canada","31":"Cape Verde","32":"Cayman Islands","33":"Central African Republic","34":"Chad","35":"Chile","36":"China","37":"Colombia","38":"Congo","40":"Croatia","41":"Cyprus","42":"Czech Republic","43":"Denmark","44":"Djibouti","45":"Ecuador","46":"Egypt","47":"El Salvador","48":"Equatorial Guinea","49":"Eritrea","50":"Estonia","51":"Ethiopia","52":"Fiji","53":"Finland","54":"France","56":"Gabon","57":"Gambia","58":"Georgia","59":"Germany","60":"Ghana","61":"Greece","62":"Guam","63":"Guinea","64":"Guinea-Bissau","65":"Guyana","66":"Honduras","67":"Hong Kong","68":"Hungary","69":"Iceland","70":"India","71":"Indonesia","74":"Ireland","75":"Israel","76":"Italy","78":"Japan","79":"Jordan","80":"Kazakhstan","81":"Kenya","82":"Kuwait","83":"Kyrgyzstan","84":"Lao People's Democratic Republic","85":"Latvia","86":"Lebanon","87":"Lesotho","88":"Liberia","90":"Liechtenstein","91":"Lithuania","92":"Luxembourg","93":"Macedonia","94":"Madagascar","95":"Malawi","96":"Malaysia","97":"Maldives","98":"Mali","99":"Malta","100":"Mauritania","101":"Mexico","102":"Moldova","103":"Monaco","104":"Mongolia","105":"Morocco","106":"Mozambique","107":"Namibia","108":"Nepal","109":"Netherlands","110":"Netherlands Antilles","111":"New Zealand","112":"Nicaragua","113":"Niger","114":"Nigeria","116":"Norway","117":"Oman","118":"Pakistan","119":"Panama","120":"Paraguay","121":"Peru","122":"Philippines","123":"Poland","124":"Portugal","126":"Qatar","127":"Reunion","128":"Romania","129":"Russia","130":"Rwanda","132":"Samoa (Independent)","133":"Saudi Arabia","134":"Senegal","135":"Seychelles","136":"Sierra Leone","137":"Singapore","138":"Slovakia","139":"Slovenia","140":"Somalia","141":"South Africa","142":"South Korea","143":"Spain","144":"Sri Lanka","146":"Suriname","147":"Swaziland","148":"Sweden","149":"Switzerland","152":"Taiwan","153":"Tanzania","154":"Thailand","155":"Togo","156":"Tunisia","157":"Turkiye","158":"Turkmenistan","159":"Uganda","161":"Ukraine","162":"United Arab Emirates","163":"Uruguay","164":"USA","165":"Uzbekistan","166":"Vatican City State (Holy See)","167":"Venezuela","168":"Vietnam","169":"Virgin Islands (British)","170":"Yemen","173":"Zambia","174":"Zimbabwe","175":"Antigua And Barbuda","176":"Anguilla","178":"American Samoa","179":"Aruba","180":"Brunei Darussalam","181":"Bouvet Island","183":"Cook Islands","185":"Christmas Island","187":"Dominican Republic","188":"Western Sahara","189":"Falkland Islands","191":"Faroe Islands","192":"Grenada","193":"French Guiana","194":"Gibraltar","195":"Greenland","196":"Guadeloupe","198":"Guatemala","200":"Haiti","202":"Jamaica","203":"Kiribati","204":"C
1167omoros","205":"Saint Kitts and Nevis","206":"Saint Lucia","207":"Marshall Islands","208":"Macau","210":"Martinique","212":"Mauritius","213":"New Caledonia","214":"Norfolk Island","215":"Nauru","217":"Niue","219":"Papua New Guinea","221":"Pitcairn","222":"Palau","223":"Solomon Islands","225":"Svalbard and Jan Mayen Islands","227":"San Marino","232":"Tonga","233":"Timor-Leste","234":"Trinidad and Tobago","235":"Tuvalu","237":"Saint Vincent and the Grenadines","238":"Virgin Islands (U.S.)","239":"Vanuatu","241":"Mayotte","242":"Myanmar","255":"Sao Tome and Principe","257":"South Georgia and the South Sandwich Islands","260":"Tajikistan","262":"United Kingdom","268":"Costa Rica","270":"Guernsey","272":"North Korea","274":"Afghanistan","275":"Cote D'Ivoire","276":"Cuba","277":"French Polynesia","278":"Iran","279":"Iraq","281":"Libya","282":"Palestine","285":"Syria","286":"Aaland Islands","287":"Turks & Caicos Islands","288":"Jersey (Channel Islands)","289":"Dominica","290":"Montenegro","293":"Sudan","294":"Montserrat","298":"Curacao","302":"Sint Maarten","311":"South Sudan","315":"Republic of Kosovo","318":"Congo, Democratic Republic of the","323":"Isle of Man","324":"Saint Martin","325":"Bonaire, Saint Eustatius and Saba","326":"Serbia"},"defaultcountry":164},"PHONE":{"name":"PHONE","label":"Phone Number","helper_text":"","type":"phone","required":false,"audience_field_name":"Phone Number","phoneformat":"","enabled":false,"order":null,"field_type":"merge","merge_id":4},"MMERGE5":{"name":"MMERGE5","label":"Prefix","helper_text":"","type":"dropdown","required":false,"audience_field_name":"Prefix","choices":[{"value":"Dr","label":"Dr"},{"value":"Prof","label":"Prof"},{"value":"A/Prof","label":"A/Prof"},{"value":"Miss","label":"Miss"},{"value":"Ms","label":"Ms"},{"value":"Mrs","label":"Mrs"},{"value":"Mr","label":"Mr"},{"value":"Mx","label":"Mx"},{"value":"Other","label":"Other"}],"enabled":false,"order":null,"field_type":"merge","merge_id":5},"MMERGE6":{"name":"MMERGE6","label":"Discipline","helper_text":"","type":"dropdown","required":false,"audience_field_name":"Discipline","choices":[{"value":"Anatomical Pathology","label":"Anatomical Pathology"},{"value":"Chemical Pathology","label":"Chemical Pathology"},{"value":"Forensic Pathology","label":"Forensic Pathology"},{"value":"Genetic Pathology","label":"Genetic Pathology"},{"value":"Microbiology","label":"Microbiology"},{"value":"Immunopathology","label":"Immunopathology"},{"value":"General Pathology","label":"General Pathology"},{"value":"Haematology","label":"Haematology"},{"value":"Other","label":"Other"}],"enabled":false,"order":null,"field_type":"merge","merge_id":6},"MMERGE7":{"name":"MMERGE7","label":"Special interests","helper_text":"","type":"text","required":false,"audience_field_name":"Special interests","enabled":false,"order":null,"field_type":"merge","merge_id":7},"interests_62632":{"name":"interests_62632","label":"Discipline","helper_text":"","type":"select","required":false,"choices":[{"value":"1","label":"Anatomical Pathology"},{"value":"2","label":"Chemical Pathology"},{"value":"4","label":"Forensic Pathology"},{"value":"8","label":"Genetic Pathology"},{"value":"16","label":"Microbiology"},{"value":"32","label":"Immunopathology"},{"value":"64","label":"General Pathology"},{"value":"128","label":"Haematology"},{"value":"256","label":"Other"}],"audience_field_name":"Discipline","enabled":false,"order":null,"field_type":"group","group_id":62632}}).find(function(f) { return f.name === fieldName && f.type === 'smsphone'; }); 1168 var isRequired = smsField ? smsField.required : false; 1169 var shouldAppendCountryCode = smsNotRequiredRemoveCountryCodeEnabled ? isRequired : true; 1170 1171 var phoneInput = document.querySelector('#mce-' + fieldName); 1172 if (phoneInput && defaultProgram.countryCallingCode && shouldAppendCountryCode) { 1173 phoneInput.value = defaultProgram.countryCallingCode; 1174 } 1175 1176 1177 1178 displayFlag?.addEventListener('click', function(e) { 1179 dropdown.focus(); 1180 }); 1181 1182 1183 dropdown?.addEventListener('change', function() { 1184 const selectedCountry = this.value; 1185 1186 if (!selectedCountry || typeof selectedCountry !== 'string') { 1187 return; 1188 } 1189
1190 const flagSpan = displayFlag?.querySelector('#flag-emoji-' + fieldName); 1191 if (flagSpan) { 1192 flagSpan.textContent = getCountryUnicodeFlag(selectedCountry); 1193 flagSpan.setAttribute('aria-label', sanitizeHtml(selectedCountry) + ' flag'); 1194 } 1195 1196 1197 const selectedProgram = window.MC?.smsPhoneData?.programs.find(function(program) { 1198 return program && program.countryCode === selectedCountry; 1199 }); 1200 1201 var smsNotRequiredRemoveCountryCodeEnabled = true; 1202 var smsField = Object.values({"EMAIL":{"name":"EMAIL","label":"Email Address","helper_text":"","type":"email","required":true,"audience_field_name":"Email Address","merge_id":0,"help_text_enabled":false,"enabled":true,"order":0,"field_type":"merge"},"FNAME":{"name":"FNAME","label":"First Name","helper_text":"","type":"text","required":false,"audience_field_name":"First Name","enabled":false,"order":null,"field_type":"merge","merge_id":1},"LNAME":{"name":"LNAME","label":"Last Name","helper_text":"","type":"text","required":false,"audience_field_name":"Last Name","enabled":false,"order":null,"field_type":"merge","merge_id":2},"ADDRESS":{"name":"ADDRESS","label":"Address","helper_text":"","type":"address","required":false,"audience_field_name":"Address","enabled":false,"order":null,"field_type":"merge","merge_id":3,"countries":{"2":"Albania","3":"Algeria","4":"Andorra","5":"Angola","6":"Argentina","7":"Armenia","8":"Australia","9":"Austria","10":"Azerbaijan","11":"Bahamas","12":"Bahrain","13":"Bangladesh","14":"Barbados","15":"Belarus","16":"Belgium","17":"Belize","18":"Benin","19":"Bermuda","20":"Bhutan","21":"Bolivia","22":"Bosnia and Herzegovina","23":"Botswana","24":"Brazil","25":"Bulgaria","26":"Burkina Faso","27":"Burundi","28":"Cambodia","29":"Cameroon","30":"Canada","31":"Cape Verde","32":"Cayman Islands","33":"Central African Republic","34":"Chad","35":"Chile","36":"China","37":"Colombia","38":"Congo","40":"Croatia","41":"Cyprus","42":"Czech Republic","43":"Denmark","44":"Djibouti","45":"Ecuador","46":"Egypt","47":"El Salvador","48":"Equatorial Guinea","49":"Eritrea","50":"Estonia","51":"Ethiopia","52":"Fiji","53":"Finland","54":"France","56":"Gabon","57":"Gambia","58":"Georgia","59":"Germany","60":"Ghana","61":"Greece","62":"Guam","63":"Guinea","64":"Guinea-Bissau","65":"Guyana","66":"Honduras","67":"Hong Kong","68":"Hungary","69":"Iceland","70":"India","71":"Indonesia","74":"Ireland","75":"Israel","76":"Italy","78":"Japan","79":"Jordan","80":"Kazakhstan","81":"Kenya","82":"Kuwait","83":"Kyrgyzstan","84":"Lao People's Democratic Republic","85":"Latvia","86":"Lebanon","87":"Lesotho","88":"Liberia","90":"Liechtenstein","91":"Lithuania","92":"Luxembourg","93":"Macedonia","94":"Madagascar","95":"Malawi","96":"Malaysia","97":"Maldives","98":"Mali","99":"Malta","100":"Mauritania","101":"Mexico","102":"Moldova","103":"Monaco","104":"Mongolia","105":"Morocco","106":"Mozambique","107":"Namibia","108":"Nepal","109":"Netherlands","110":"Netherlands Antilles","111":"New Zealand","112":"Nicaragua","113":"Niger","114":"Nigeria","116":"Norway","117":"Oman","118":"Pakistan","119":"Panama","120":"Paraguay","121":"Peru","122":"Philippines","123":"Poland","124":"Portugal","126":"Qatar","127":"Reunion","128":"Romania","129":"Russia","130":"Rwanda","132":"Samoa (Independent)","133":"Saudi Arabia","134":"Senegal","135":"Seychelles","136":"Sierra Leone","137":"Singapore","138":"Slovakia","139":"Slovenia","140":"Somalia","141":"South Africa","142":"South Korea","143":"Spain","144":"Sri Lanka","146":"Suriname","147":"Swaziland","148":"Sweden","149":"Switzerland","152":"Taiwan","153":"Tanzania","154":"Thailand","155":"Togo","156":"Tunisia","157":"Turkiye","158":"Turkmenistan","159":"Uganda","161":"Ukraine","162":"United Arab Emirates","163":"Uruguay","164":"USA","165":"Uzbekistan","166":"Vatican City State (Holy See)","167":"Venezuela","168":"Vietnam","169":"Virgin Islands (British)","170":"Yemen","173":"Zambia","174":"Zimbabwe","175":"Antigua And Barbuda","176":"Anguilla","178":"American Samoa","179":"Aruba","180":"Brunei Darussalam","181":"Bouvet Island","183":"Cook Islands","185":"Christmas Island","187":"Dominican Republic","188":"Western Sahara","189":"Falkland Islands","191":"Faroe Islands","192":"Grenada","193":"French Guiana","194":"Gibraltar","195":"Greenland","196":"Guadeloupe","198":"Guatemala","200":"Haiti","202":"Jamaica","203":"Kiribati","204":"C
1202omoros","205":"Saint Kitts and Nevis","206":"Saint Lucia","207":"Marshall Islands","208":"Macau","210":"Martinique","212":"Mauritius","213":"New Caledonia","214":"Norfolk Island","215":"Nauru","217":"Niue","219":"Papua New Guinea","221":"Pitcairn","222":"Palau","223":"Solomon Islands","225":"Svalbard and Jan Mayen Islands","227":"San Marino","232":"Tonga","233":"Timor-Leste","234":"Trinidad and Tobago","235":"Tuvalu","237":"Saint Vincent and the Grenadines","238":"Virgin Islands (U.S.)","239":"Vanuatu","241":"Mayotte","242":"Myanmar","255":"Sao Tome and Principe","257":"South Georgia and the South Sandwich Islands","260":"Tajikistan","262":"United Kingdom","268":"Costa Rica","270":"Guernsey","272":"North Korea","274":"Afghanistan","275":"Cote D'Ivoire","276":"Cuba","277":"French Polynesia","278":"Iran","279":"Iraq","281":"Libya","282":"Palestine","285":"Syria","286":"Aaland Islands","287":"Turks & Caicos Islands","288":"Jersey (Channel Islands)","289":"Dominica","290":"Montenegro","293":"Sudan","294":"Montserrat","298":"Curacao","302":"Sint Maarten","311":"South Sudan","315":"Republic of Kosovo","318":"Congo, Democratic Republic of the","323":"Isle of Man","324":"Saint Martin","325":"Bonaire, Saint Eustatius and Saba","326":"Serbia"},"defaultcountry":164},"PHONE":{"name":"PHONE","label":"Phone Number","helper_text":"","type":"phone","required":false,"audience_field_name":"Phone Number","phoneformat":"","enabled":false,"order":null,"field_type":"merge","merge_id":4},"MMERGE5":{"name":"MMERGE5","label":"Prefix","helper_text":"","type":"dropdown","required":false,"audience_field_name":"Prefix","choices":[{"value":"Dr","label":"Dr"},{"value":"Prof","label":"Prof"},{"value":"A/Prof","label":"A/Prof"},{"value":"Miss","label":"Miss"},{"value":"Ms","label":"Ms"},{"value":"Mrs","label":"Mrs"},{"value":"Mr","label":"Mr"},{"value":"Mx","label":"Mx"},{"value":"Other","label":"Other"}],"enabled":false,"order":null,"field_type":"merge","merge_id":5},"MMERGE6":{"name":"MMERGE6","label":"Discipline","helper_text":"","type":"dropdown","required":false,"audience_field_name":"Discipline","choices":[{"value":"Anatomical Pathology","label":"Anatomical Pathology"},{"value":"Chemical Pathology","label":"Chemical Pathology"},{"value":"Forensic Pathology","label":"Forensic Pathology"},{"value":"Genetic Pathology","label":"Genetic Pathology"},{"value":"Microbiology","label":"Microbiology"},{"value":"Immunopathology","label":"Immunopathology"},{"value":"General Pathology","label":"General Pathology"},{"value":"Haematology","label":"Haematology"},{"value":"Other","label":"Other"}],"enabled":false,"order":null,"field_type":"merge","merge_id":6},"MMERGE7":{"name":"MMERGE7","label":"Special interests","helper_text":"","type":"text","required":false,"audience_field_name":"Special interests","enabled":false,"order":null,"field_type":"merge","merge_id":7},"interests_62632":{"name":"interests_62632","label":"Discipline","helper_text":"","type":"select","required":false,"choices":[{"value":"1","label":"Anatomical Pathology"},{"value":"2","label":"Chemical Pathology"},{"value":"4","label":"Forensic Pathology"},{"value":"8","label":"Genetic Pathology"},{"value":"16","label":"Microbiology"},{"value":"32","label":"Immunopathology"},{"value":"64","label":"General Pathology"},{"value":"128","label":"Haematology"},{"value":"256","label":"Other"}],"audience_field_name":"Discipline","enabled":false,"order":null,"field_type":"group","group_id":62632}}).find(function(f) { return f.name === fieldName && f.type === 'smsphone'; }); 1203 var isRequired = smsField ? smsField.required : false; 1204 var shouldAppendCountryCode = smsNotRequiredRemoveCountryCodeEnabled ? isRequired : true; 1205 1206 var phoneInput = document.querySelector('#mce-' + fieldName); 1207 if (phoneInput && selectedProgram.countryCallingCode && shouldAppendCountryCode) { 1208 phoneInput.value = selectedProgram.countryCallingCode; 1209 } 1210 1211 1212 updateSmsLegalText(selectedCountry, fieldName); 1213 updatePlaceholder(selectedCountry, fieldName); 1214 updateCountryCodeInstruction(selectedCountry, fieldName); 1215 }); 1216 } 1217 1218 document.addEventListener('DOMContentLoaded', function() { 1219 const smsPhoneFields = document.querySelectorAll('[id^="country-select-"]'); 1220 1221 smsPhoneFields.forEach(function(dropdown) { 1222 const fieldName = dropdown?.id.replace('country-select-', ''); 1223 initializeSmsPhoneDropdown(fieldName); 1224 }); 1225 });
1226 </script>
1226 1227
1227<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"264670e4f729453dbba22023b60c792d","r":1,"spa":2}' crossorigin="anonymous"></script>
1227 1228</body> 1229</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.