CINXE.COM
48th ICTMD World Conference | International Council for Traditions of Music and Dance
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> <head profile="http://www.w3.org/1999/xhtml/vocab"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="Generator" content="Drupal 7 (http://drupal.org)" /> <script type="text/javascript"> var CRM = {"config":{"isFrontend":false,"entityRef":{"contactCreate":false},"wysisygScriptLocation":"\/sites\/all\/modules\/contrib\/civicrm\/js\/wysiwyg\/crm.ckeditor.js","CKEditorCustomConfig":{"default":"https:\/\/www.ictmusic.org\/sites\/default\/files\/civicrm\/persist\/crm-ckeditor-default.js"}},"billing":{"billingProfileIsHideable":false},"vars":{"omnipay":{"paymentProcessorId":"3","currency":"EUR","is_test":false,"title":"48th ICTMD World Conference","client_id":"AfDeLUq7WfIzvBhzA-AcNdQVAzBthzpb5ttN9MZ5RHIjNJZlt6qAHxj6dKWcSYamJV5h8Iyb6Ms18MiA"}}}; </script> <link rel="shortcut icon" href="https://www.ictmusic.org/sites/all/themes/ictm/favicon.ico" type="image/vnd.microsoft.icon" /> <title>48th ICTMD World Conference | International Council for Traditions of Music and Dance</title> <link type="text/css" rel="stylesheet" href="https://www.ictmusic.org/sites/default/files/css/css_xE-rWrJf-fncB6ztZfd2huxqgxu4WO-qwma6Xer30m4.css" media="all" /> <link type="text/css" rel="stylesheet" href="https://www.ictmusic.org/sites/default/files/css/css_L7aJGgpErkBlKxp5iJEu_yLXqCLgU_Fg82gLaG2jIuk.css" media="screen" /> <link type="text/css" rel="stylesheet" href="https://www.ictmusic.org/sites/default/files/css/css_hYCLW089C9S9sP3ZYkuG6R-Q5ZHbEhblZBFjwZ_bE_I.css" media="all" /> <link type="text/css" rel="stylesheet" href="https://www.ictmusic.org/sites/default/files/css/css_H1rQgm49m0j8nBWTcL-2V5KLpC8khhvbISfzTSMVmVA.css" media="all" /> <link type="text/css" rel="stylesheet" href="https://www.ictmusic.org/sites/default/files/css/css_kZHLr6PR5ydRR6g-0AGxcTx7bQBRczDCbqCBGOsvY20.css" media="all" /> <script type="text/javascript" src="https://www.ictmusic.org/sites/default/files/js/js_1NlLFtXQjkf6Q6sUsJdBMVCzu50_URfW9clEwRmrIQE.js"></script> <script type="text/javascript" src="https://www.ictmusic.org/sites/default/files/js/js_p_Mk4Cp4DYjxMhez3Afm0y-9nEdWoXuXsrKBDsUGYj4.js"></script> <script type="text/javascript" src="/civicrm/ajax/l10n-js/en_US?cid=&r=Ped2h"></script> <script type="text/javascript" src="https://www.ictmusic.org/sites/default/files/js/js_bN63zukjKxqrQU2p3rsJvHdlAkEkY82qDDffRtyWgcQ.js"></script> <script type="text/javascript" src="https://www.ictmusic.org/sites/default/files/js/js_gHk2gWJ_Qw_jU2qRiUmSl7d8oly1Cx7lQFrqcp3RXcI.js"></script> <script type="text/javascript" src="https://www.ictmusic.org/sites/default/files/js/js_waP91NpgGpectm_6Y2XDEauLJ8WCSCBKmmA87unpp2E.js"></script> <script type="text/javascript" src="https://www.googletagmanager.com/gtag/js?id=UA-20544361-5"></script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments)};gtag("js", new Date());gtag("set", "developer_id.dMDhkMT", true);gtag("config", "UA-20544361-5", {"groups":"default","cookie_domain":".www.ictmusic.org"}); //--><!]]> </script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","setHasJsCookie":0,"ajaxPageState":{"theme":"ictm","theme_token":"tzZB-Mb7bv7VSA68iI3fwPVs_xhyxIAYw7wFThUyeio","js":{"misc\/jquery.js":1,"misc\/jquery-extend-3.4.0.js":1,"misc\/jquery-html-prefilter-3.5.0-backport.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"sites\/all\/modules\/webform_tooltip\/js\/webform_tooltip.js":1,"misc\/form-single-submit.js":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/jquery\/dist\/jquery.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/jquery-ui\/jquery-ui.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/lodash-compat\/lodash.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/packages\/jquery\/plugins\/jquery.mousewheel.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/select2\/select2.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/packages\/jquery\/plugins\/jquery.form.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/packages\/jquery\/plugins\/jquery.timeentry.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/packages\/jquery\/plugins\/jquery.blockUI.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/datatables\/media\/js\/jquery.dataTables.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/jquery-validation\/dist\/jquery.validate.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/packages\/jquery\/plugins\/jquery.ui.datepicker.validation.min.js":1,"sites\/all\/modules\/contrib\/civicrm\/js\/Common.js":1,"sites\/all\/modules\/contrib\/civicrm\/js\/crm.datepicker.js":1,"sites\/all\/modules\/contrib\/civicrm\/js\/crm.ajax.js":1,"sites\/all\/modules\/contrib\/civicrm\/js\/wysiwyg\/crm.wysiwyg.js":1,"\/civicrm\/ajax\/l10n-js\/en_US?cid=\u0026r=Ped2h":1,"sites\/all\/modules\/contrib\/civicrm\/js\/noconflict.js":1,"sites\/all\/modules\/contrib\/entityreference\/js\/entityreference.js":1,"sites\/all\/modules\/google_analytics\/googleanalytics.js":1,"https:\/\/www.googletagmanager.com\/gtag\/js?id=UA-20544361-5":1,"0":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"sites\/all\/modules\/webform_tooltip\/css\/webform_tooltip.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/search\/search.css":1,"modules\/user\/user.css":1,"sites\/all\/modules\/contrib\/views\/css\/views.css":1,"sites\/all\/modules\/contrib\/ctools\/css\/ctools.css":1,"sites\/all\/modules\/contrib\/civicrm\/css\/crm-i.css":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/datatables\/media\/css\/jquery.dataTables.min.css":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/font-awesome\/css\/font-awesome.min.css":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/jquery-ui\/themes\/smoothness\/jquery-ui.min.css":1,"sites\/all\/modules\/contrib\/civicrm\/bower_components\/select2\/select2.min.css":1,"sites\/all\/modules\/contrib\/civicrm\/css\/civicrm.css":1,"sites\/all\/themes\/ictm\/style.css":1}},"webform_tooltip_icon":{"text":"?"},"googleanalytics":{"account":["UA-20544361-5"],"trackOutbound":1,"trackMailto":1,"trackDownload":1,"trackDownloadExtensions":"7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip","trackDomainMode":1},"urlIsAjaxTrusted":{"\/":true}}); //--><!]]> </script> </head> <body class="html not-front not-logged-in one-sidebar sidebar-first page-civicrm page-civicrm-event page-civicrm-event-register" > <div class="container_12"> <div id="branding" class="grid_3"> <a class="logo-container pngfix clearfix" href="/"> <img id="logo" src="https://www.ictmusic.org/sites/all/themes/ictm/logo.png" alt="International Council for Traditions of Music and Dance - A Non-Governmental Organization in Formal Consultative Relations with UNESCO" title="International Council for Traditions of Music and Dance - A Non-Governmental Organization in Formal Consultative Relations with UNESCO" /> </a> </div> <div class="grid_9"> <h1 id="site-name"> <a href="/">International Council for Traditions of Music and Dance</a> </h1> <p id="site-slogan" >A Non-Governmental Organization in Formal Consultative Relations with UNESCO</p> </div> <div class="clear"></div> <div id="sidebar-first" class="sidebar grid_3"> <div class="region region-sidebar-first"> <div id="block-search-form" class="block block-search clearfix bars "> <div class="content"> <form action="/" method="post" id="search-block-form" accept-charset="UTF-8"><div><div class="container-inline"> <h2 class="element-invisible">Search form</h2> <div class="form-item form-type-textfield form-item-search-block-form"> <label class="element-invisible" for="edit-search-block-form--2">Search </label> <input title="Enter the terms you wish to search for." type="text" id="edit-search-block-form--2" name="search_block_form" value="" size="15" maxlength="128" class="form-text" /> </div> <div class="form-actions form-wrapper" id="edit-actions"><input type="submit" id="edit-submit" name="op" value="Search" class="form-submit" /></div><input type="hidden" name="form_build_id" value="form-UMCc1zQ80IZQe_ysIFBJgZpQU7YMgHFMkVxl3zDZiZM" /> <input type="hidden" name="form_id" value="search_block_form" /> </div> </div></form> </div> </div> <div id="block-user-login" class="block block-user clearfix bars "> <h2 class="title">User login</h2> <div class="content"> <form action="/" method="post" id="user-login-form" accept-charset="UTF-8"><div><div class="form-item form-type-textfield form-item-name"> <label for="edit-name">Username <span class="form-required" title="This field is required.">*</span></label> <input type="text" id="edit-name" name="name" value="" size="15" maxlength="60" class="form-text required" /> </div> <div class="form-item form-type-password form-item-pass"> <label for="edit-pass">Password <span class="form-required" title="This field is required.">*</span></label> <input type="password" id="edit-pass" name="pass" size="15" maxlength="128" class="form-text required" /> </div> <div class="item-list"><h3></h3><ul><li class="first last"><a href="/user/password">Request new password</a></li> </ul></div><input type="hidden" name="form_build_id" value="form-t2f9E_FOHdVwoARrow6ZpxRZaKo66gYPCBAVRflB3Dk" /> <input type="hidden" name="form_id" value="user_login_block" /> <div class="form-actions form-wrapper" id="edit-actions--2"><input type="submit" id="edit-submit--2" name="op" value="Log in" class="form-submit" /></div></div></form> </div> </div> <div id="block-menu-menu-about-ictm" class="block block-menu clearfix bars "> <h2 class="title">About ICTMD</h2> <div class="content"> <ul class="menu"><li class="first leaf"><a href="/membership/new" title="Join the International Council for Traditions of Music and Dance">Join ICTMD</a></li> <li class="leaf"><a href="/donate">Donate</a></li> <li class="collapsed"><a href="/financial-assistance" title="Financial assistance">Financial assistance</a></li> <li class="expanded"><a href="/general-information" title="General information">General Information</a><ul class="menu"><li class="first leaf"><a href="/general-information/honorary-members">Honorary Members</a></li> <li class="last leaf"><a href="/general-information/ictm-brochures">Brochures</a></li> </ul></li> <li class="expanded"><a href="/" title="">Documents</a><ul class="menu"><li class="first leaf"><a href="/statutes-ictmd" title="Statutes of the International Council for Traditions of Music and Dance">Statutes</a></li> <li class="leaf"><a href="/memoranda" title="Memoranda">Memoranda and Guidelines</a></li> <li class="leaf"><a href="/documents/minutes" title="Minutes of General Assemblies, Assemblies of National and Regional Representatives, and Assemblies of Study Group Chairs">Minutes</a></li> <li class="leaf"><a href="/documents/ethics">Declaration on Ethics</a></li> <li class="last leaf"><a href="/documents/decolonization-music-dance-studies">Statement on Decolonization of Music and Dance Studies</a></li> </ul></li> <li class="expanded"><a href="http:#" title="">Governance</a><ul class="menu"><li class="first expanded"><a href="/governance/executive-board" title="Executive Board">Executive Board</a><ul class="menu"><li class="first leaf"><a href="/list-ictmd-executive-board-committees">EB committees</a></li> <li class="leaf"><a href="/governance/executive-board/executive-board-meetings" title="Executive Board meetings">EB meetings</a></li> <li class="last leaf"><a href="/elections-ictmd-executive-board">Elections</a></li> </ul></li> <li class="leaf"><a href="/governance/secretariat" title="Secretariat">Secretariat</a></li> <li class="leaf"><a href="/list-other-ictmd-committees">Other Committees</a></li> <li class="last leaf"><a href="/governance/history" title="History of the governance of ICTMD">History of ICTMD governance</a></li> </ul></li> <li class="collapsed"><a href="/world-network" title="ICTM World Network">World Network</a></li> <li class="last leaf"><a href="/network/ecsn" title="">Early Career Scholars Network (ECSN)</a></li> </ul> </div> </div> <div id="block-menu-menu-events" class="block block-menu clearfix bars "> <h2 class="title">Events</h2> <div class="content"> <ul class="menu"><li class="first expanded"><a href="/ictmd2025" title="">48th ICTMD World Conference (January 2025, New Zealand)</a><ul class="menu"><li class="first last leaf"><a href="/civicrm/event/register?id=28&reset=1" title="">Register here</a></li> </ul></li> <li class="leaf"><a href="/ictmd-pre-conference-symposium-sept-2024-healing-health-and-wellbeing-indigenous-perspectives-music">ICTMD Pre-Conference Symposium (Sept 2024)</a></li> <li class="leaf"><a href="/dialogues2024">ICTMD Dialogues 2024</a></li> <li class="collapsed"><a href="/events" title="Events">Upcoming Events</a></li> <li class="leaf"><a href="/past-world-conferences" title="Past ICTM World Conferences">Past World Conferences</a></li> <li class="leaf"><a href="/past-colloquia" title="List of ICTM Colloquia">Past Colloquia</a></li> <li class="last leaf"><a href="/past-fora">Past Fora</a></li> </ul> </div> </div> <div id="block-menu-menu-publications" class="block block-menu clearfix bars "> <h2 class="title">Publications</h2> <div class="content"> <ul class="menu"><li class="first expanded"><a href="/publications/traditions-of-music-and-dance">Traditions of Music and Dance (formerly Yearbook for Traditional Music)</a><ul class="menu"><li class="first leaf"><a href="/story/online-access-traditions-music-and-dance">Online access to TMD</a></li> <li class="leaf"><a href="/institutional-subscriptions" title="Institutional Subscriptions">Institutional Subscriptions to TMD</a></li> <li class="leaf"><a href="/publications/traditions-of-music-and-dance/submissions" title="Traditions of Music and Dance - How to Submit Articles for Consideration">Submissions to TMD</a></li> <li class="last leaf"><a href="/publications/yearbook-for-traditional-music/general-editors" title="General Editors of Traditions of Music and Dance and its precedessors">Past General Editors</a></li> </ul></li> <li class="expanded"><a href="/publications/bulletin-ictmd" title="Bulletin of the ICTMD">Bulletin of the ICTMD</a><ul class="menu"><li class="first leaf"><a href="/publications/bulletin-ictmd/past-issues" title="Past issues of the Bulletin of the ICTM">Past issues</a></li> <li class="last leaf"><a href="/publications/bulletin-ictmd/submission-guidelines" title="Submission guidelines for the Bulletin of the ICTMD">Submission Guidelines</a></li> </ul></li> <li class="last expanded"><a href="/" title="">Other publications</a><ul class="menu"><li class="first leaf"><a href="/publications/annniversary-publication">Celebrating the ICTM</a></li> <li class="leaf"><a href="/publications/dialogues-towards-decolonizing-music-and-dance-studies">DIALOGUES: Towards Decolonizing Music and Dance Studies</a></li> <li class="leaf"><a href="/publications/books-by-or-in-collaboration-with-ifmc-ictm">Books by or in collaboration with ICTMD</a></li> <li class="last leaf"><a href="/publications/recordings-by-or-in-collaboration-with-ifmc-ictm">Recordings by or in collaboration with ICTMD</a></li> </ul></li> </ul> </div> </div> <div id="block-menu-menu-prizes" class="block block-menu clearfix bars "> <h2 class="title">Prizes</h2> <div class="content"> <ul class="menu"><li class="first leaf"><a href="/ictmd-article-prize" title="">ICTMD Article Prize</a></li> <li class="leaf"><a href="/ictmd-book-prize" title="">ICTMD Book Prize</a></li> <li class="leaf"><a href="/ictmd-documentary-film-video-prize" title="">ICTMD Documentary Film or Video Prize</a></li> <li class="last leaf"><a href="/ictmd-student-paper-prize" title="">ICTMD Student Paper Prize</a></li> </ul> </div> </div> <div id="block-menu-menu-studygroups" class="block block-menu clearfix bars "> <h2 class="title">Study Groups</h2> <div class="content"> <ul class="menu"><li class="first leaf"><a href="/studygroup/amsg" title="ICTM Study Group on African Music">African Musics</a></li> <li class="leaf"><a href="/studygroup/applied-ethnomusicology" title="Applied Ethnomusicology">Applied Ethnomusicology</a></li> <li class="leaf"><a href="/studygroup/av-ethnomusicology" title="ICTM Study Group on Audiovisual Ethnomusicology">Audiovisual Ethnomusicology</a></li> <li class="leaf"><a href="/studygroup/ethnochoreology" title="Ethnochoreology">Ethnochoreology</a></li> <li class="leaf"><a href="/studygroup/ghmd">Global History of Music and Dance</a></li> <li class="leaf"><a href="/studygroup/iconography" title="Iconography of the Performing Arts">Iconography of the Performing Arts</a></li> <li class="leaf"><a href="/studygroup/indigenous">Indigenous Music and Dance</a></li> <li class="leaf"><a href="/studygroup/maqam" title="Maqām">Maqām</a></li> <li class="leaf"><a href="/group/mediterranean-music-studies" title="Mediterranean Music Studies (formerly Anthropology of Music in Mediterranean Cultures)">Mediterranean Music Studies</a></li> <li class="leaf"><a href="/studygroup/multipart" title="ICTM Study Group on Multipart Music">Multipart Music</a></li> <li class="leaf"><a href="/studygroup/south-asia" title="ICTM Study Group on Music and Allied Arts of Greater South Asia">Music and Allied Arts of Greater South Asia</a></li> <li class="leaf"><a href="/studygroup/latcar" title="ICTM Study Group on Music and Dance in Latin America and the Caribbean">Music and Dance in Latin America and the Caribbean</a></li> <li class="leaf"><a href="/studygroup/mdsee" title="Music and Dance In Southeastern Europe">Music and Dance in Southeastern Europe</a></li> <li class="leaf"><a href="/studygroup/turkic" title="Music and Dance in the Turkic World">Music and Dance in the Turkic World</a></li> <li class="leaf"><a href="/studygroup/oceania" title="Music and Dance of Oceania">Music and Dance of Oceania</a></li> <li class="leaf"><a href="/studygroup/slavic-world" title="ICTM Study Group on Music and Dance of the Slavic World">Music and Dance of the Slavic World</a></li> <li class="leaf"><a href="/studygroup/minorities" title="Music and Minorities">Music and Minorities</a></li> <li class="leaf"><a href="/studygroup/music-arch" title="Music Archaeology">Music Archaeology</a></li> <li class="leaf"><a href="/studygroup/arab-world" title="Music in the Arab World">Music in the Arab World</a></li> <li class="leaf"><a href="/studygroup/mesi">Music, Education and Social Inclusion</a></li> <li class="leaf"><a href="/studygroup/gender">Music, Gender, and Sexuality</a></li> <li class="leaf"><a href="/studygroup/musical-instruments">Musical Instruments</a></li> <li class="leaf"><a href="/studygroup/mea" title="Musics of East Asia">Musics of East Asia</a></li> <li class="leaf"><a href="/studygroup/pasea" title="Performing Arts of Southeast Asia">Performing Arts of Southeast Asia</a></li> <li class="leaf"><a href="/studygroup/spiritual">Sacred and Spiritual Sounds and Practices</a></li> <li class="leaf"><a href="/studygroup/somos">Sound, Movement, and the Sciences</a></li> <li class="last leaf"><a href="/studygroup/musa" title="ICTM Study Group on Sources and Archives for Music and Sound Studies">Sources and Archives for Music and Sound Studies</a></li> </ul> </div> </div> </div> </div> <div class="grid_9"> <div id="content"> <a id="main-content"></a> <div id="tabs-wrapper" class="clearfix"> <h1 class="with-tabs">48th ICTMD World Conference</h1> </div> <div class="clearfix"></div> <div class="format-text"> <div class="region region-content"> <div id="block-system-main" class="block block-system clearfix "> <div class="content"> <div id="crm-container" class="crm-container crm-public" lang="en" xml:lang="en"> <div class="clear"></div> <div id="crm-main-content-wrapper"> <form action="/civicrm/event/register" method="post" name="Register" id="Register" class="CRM_Event_Form_Registration_Register" enctype="multipart/form-data" data-warn-changes="true" > <div><input name="qfKey" type="hidden" value="791d4e6f85bd5e10251830186ed7b6da_1467" /> <input name="entryURL" type="hidden" value="https://www.ictmusic.org/civicrm/event/register?id=28&amp;reset=1" /> <input name="hidden_processor" type="hidden" value="1" /> <input size="10" autocomplete="off" id="payment_token" name="payment_token" type="hidden" value="Authorization token" /> <input size="10" autocomplete="off" id="PayerID" name="PayerID" type="hidden" value="Payer ID" /> <input size="4" autocomplete="off" post_authorize="post_authorize" name="post_authorize" type="hidden" value="post_authorize" /> <input name="priceSetId" type="hidden" value="28" /> <input id="bypass_payment" name="bypass_payment" type="hidden" value="" /> <input name="cms_create_account" type="hidden" value="1" /> <input name="_qf_default" type="hidden" value="Register:upload" /> <input name="MAX_FILE_SIZE" type="hidden" value="20971520" /> </div> <div class="crm-event-id-28 crm-block crm-event-register-form-block"> <div id="intro_text" class="crm-public-form-item crm-section intro_text-section"> <p><p>Use this form to register to the 48th ICTMD World Conference</p></p> </div> <div class="crm-public-form-item crm-section cms_user-section"> <fieldset class="crm-group crm_user-group"> <div class="messages help cms_user_help-section"> Please enter a Username to create an account. If you already have an account <a href='https://www.ictmusic.org/user?destination=civicrm%2Fevent%2Fregister%3Freset%3D1%26id%3D28'>please login</a> before completing this form. </div> <div> </div> <div id="details" class="crm_user_signup-section"> <div class="form-layout-compressed"> <div class="crm-section cms_name-section"> <div class="label"> <label for="cms_name"><label for="cms_name"> Username <span class="crm-marker" title="This field is required.">*</span> </label></label> </div> <div class="content"> <input name="cms_name" type="text" id="cms_name" class="crm-form-text required" /> <a id="checkavailability" href="#" onClick="return false;"><strong>Check Availability</strong></a> <span id="msgbox" style="display:none"></span><br /> <span class="description">Punctuation is not allowed in a Username with the exception of periods, hyphens and underscores.</span> </div> </div> <div class="crm-section cms_pass-section"> <div class="label"> <label for="cms_pass"><label for="cms_pass">Password</label></label> </div> <div class="content"> <input name="cms_pass" type="password" id="cms_pass" class="crm-form-password" /> </div> <div class="clear"></div> <div class="label"> <label for="crm_confirm_pass-section"><label for="cms_confirm_pass">Confirm Password</label></label> </div> <div class="content"> <input name="cms_confirm_pass" type="password" id="cms_confirm_pass" class="crm-form-password" /><br/> <span class="description">Provide a password for the new account in both fields.</span> </div> </div> </div> </div> </fieldset> <script type="text/javascript"> function showMessage( frm ) { var cId = ''; if ( cId ) { alert('You are logged-in user'); frm.checked = false; } else { var siteName = 'https://www.ictmusic.org/'; alert('Please login if you have an account on this site with the link ' + siteName ); } } var lastName = null; cj("#checkavailability").click(function() { var cmsUserName = cj.trim(cj("#cms_name").val()); if ( lastName == cmsUserName) { /*if user checking the same user name more than one times. avoid the ajax call*/ return; } /*don't allow special character and for joomla minimum username length is two*/ var spchar = "\<|\>|\"|\'|\%|\;|\(|\)|\&|\\\\|\/"; spchar = spchar + "|\~|\`|\:|\!|\=|\#|\$|\^|\*|\{|\}|\\[|\\]|\+|\?|\,"; var r = new RegExp( "["+spchar+"]", "i"); /*regular expression \\ matches a single backslash. this becomes r = /\\/ or r = new RegExp("\\\\").*/ if ( r.exec(cmsUserName) ) { alert('Your username contains invalid characters'); return; } if (cmsUserName) { /*take all messages in javascript variable*/ var check = "Checking..."; var available = "This username is currently available."; var notavailable = "This username is taken."; var errorMsg = "Error checking username. Please reload the form and try again."; //remove all the class add the messagebox classes and start fading cj("#msgbox").removeClass().addClass('cmsmessagebox').css({"color":"#000","backgroundColor":"#FFC","border":"1px solid #c93"}).text(check).fadeIn("slow"); //check the username exists or not from ajax var contactUrl = "/civicrm/ajax/cmsuser"; var checkUserParams = { cms_name: cj("#cms_name").val(), ts: "1732717374", sig: "3A86_6f078cdd9766ab9104b9f5c6476627f4", for: 'civicrm/ajax/cmsuser' }; cj.post(contactUrl, checkUserParams ,function(data) { if ( data.name == "no") {/*if username not avaiable*/ cj("#msgbox").fadeTo(200,0.1,function() { cj(this).html(notavailable).addClass('cmsmessagebox').css({"color":"#CC0000","backgroundColor":"#F7CBCA","border":"1px solid #CC0000"}).fadeTo(900,1); }); } else if ( data.name == "error") {/*if username not avaiable*/ cj("#msgbox").fadeTo(200,0.1,function() { cj(this).html(errorMsg).addClass('cmsmessagebox').css({"color":"#CC0000","backgroundColor":"#F7CBCA","border":"1px solid #CC0000"}).fadeTo(900,1); }); } else { cj("#msgbox").fadeTo(200,0.1,function() { cj(this).html(available).addClass('cmsmessagebox').css({"color":"#008000","backgroundColor":"#C9FFCA", "border": "1px solid #349534"}).fadeTo(900,1); }); } }, "json"); lastName = cmsUserName; } else { cj("#msgbox").removeClass().text('').css({"backgroundColor":"#FFFFFF", "border": "0px #FFFFFF"}).fadeIn("fast"); } }); </script> </div> <div class="crm-public-form-item crm-section custom_pre-section"> <fieldset class="crm-profile crm-profile-id-66 crm-profile-name-name_and_address_66"><legend>Your personal information</legend> <div class="messages help"><p>Fields identified with <span class="crm-marker">*</span> are obligatory and must be filled in.</p></div> <div class="crm-section editrow_first_name-section form-item" id="editrow-first_name"> <div class="label"> <label for="first_name"> First name <span class="crm-marker" title="This field is required.">*</span> </label> </div> <div class="content"> <input maxlength="64" size="30" name="first_name" type="text" id="first_name" class="big crm-form-text required" /> </div> <div class="clear"></div> </div> <div class="crm-section editrow_middle_name-section form-item" id="editrow-middle_name"> <div class="label"> <label for="middle_name">Middle name</label> </div> <div class="content"> <input maxlength="64" size="30" name="middle_name" type="text" id="middle_name" class="big crm-form-text" /> </div> <div class="clear"></div> </div> <div class="crm-section editrow_last_name-section form-item" id="editrow-last_name"> <div class="label"> <label for="last_name">Family name</label> </div> <div class="content"> <input maxlength="64" size="30" name="last_name" type="text" id="last_name" class="big crm-form-text" /> </div> <div class="clear"></div> </div> <div class="crm-section editrow_email-Primary-section form-item" id="editrow-email-Primary"> <div class="label"> <label for="email-Primary"> E-mail address <span class="crm-marker" title="This field is required.">*</span> </label> </div> <div class="content"> <input maxlength="254" size="30" name="email-Primary" type="text" id="email-Primary" class="big crm-form-text required" /> </div> <div class="clear"></div> </div> <div class="crm-section editrow_street_address-Primary-section form-item" id="editrow-street_address-Primary"> <div class="label"> <label for="street_address-Primary"> Address <span class="crm-marker" title="This field is required.">*</span> </label> </div> <div class="content"> <input maxlength="96" size="45" name="street_address-Primary" type="text" id="street_address-Primary" class="huge crm-form-text required" /> </div> <div class="clear"></div> </div> <div class="crm-section editrow_supplemental_address_1-Primary-section form-item" id="editrow-supplemental_address_1-Primary"> <div class="label"> <label for="supplemental_address_1-Primary">Additional address 1</label> </div> <div class="content"> <input maxlength="96" size="45" name="supplemental_address_1-Primary" type="text" id="supplemental_address_1-Primary" class="huge crm-form-text" /> </div> <div class="clear"></div> </div> <div class="crm-section editrow_supplemental_address_2-Primary-section form-item" id="editrow-supplemental_address_2-Primary"> <div class="label"> <label for="supplemental_address_2-Primary">Additional address 2</label> </div> <div class="content"> <input maxlength="96" size="45" name="supplemental_address_2-Primary" type="text" id="supplemental_address_2-Primary" class="huge crm-form-text" /> </div> <div class="clear"></div> </div> <div class="crm-section editrow_city-Primary-section form-item" id="editrow-city-Primary"> <div class="label"> <label for="city-Primary"> City <span class="crm-marker" title="This field is required.">*</span> </label> </div> <div class="content"> <input maxlength="64" size="30" name="city-Primary" type="text" id="city-Primary" class="big crm-form-text required" /> </div> <div class="clear"></div> </div> <div class="crm-section editrow_postal_code-Primary-section form-item" id="editrow-postal_code-Primary"> <div class="label"> <label for="postal_code-Primary">Postal code</label> </div> <div class="content"> <input maxlength="64" size="6" name="postal_code-Primary" type="text" id="postal_code-Primary" class="six crm-form-text" /> </div> <div class="clear"></div> </div> <div class="crm-section editrow_country-Primary-section form-item" id="editrow-country-Primary"> <div class="label"> <label for="country-Primary"> Country <span class="crm-marker" title="This field is required.">*</span> </label> </div> <div class="content"> <select class="crm-select2 crm-chain-select-control crm-form-select required" placeholder="- select -" name="country-Primary" data-target="state_province-Primary" id="country-Primary"> <option value="">- select -</option> <option value="1001">Afghanistan</option> <option value="1241">Åland Islands</option> <option value="1002">Albania</option> <option value="1003">Algeria</option> <option value="1004">American Samoa</option> <option value="1005">Andorra</option> <option value="1006">Angola</option> <option value="1007">Anguilla</option> <option value="1008">Antarctica</option> <option value="1009">Antigua and Barbuda</option> <option value="1010">Argentina</option> <option value="1011">Armenia</option> <option value="1012">Aruba</option> <option value="1013">Australia</option> <option value="1014">Austria</option> <option value="1015">Azerbaijan</option> <option value="1212">Bahamas</option> <option value="1016">Bahrain</option> <option value="1017">Bangladesh</option> <option value="1018">Barbados</option> <option value="1019">Belarus</option> <option value="1020">Belgium</option> <option value="1021">Belize</option> <option value="1022">Benin</option> <option value="1023">Bermuda</option> <option value="1024">Bhutan</option> <option value="1025">Bolivia</option> <option value="1250">Bonaire, Saint Eustatius and Saba</option> <option value="1026">Bosnia and Herzegovina</option> <option value="1027">Botswana</option> <option value="1028">Bouvet Island</option> <option value="1029">Brazil</option> <option value="1030">British Indian Ocean Territory</option> <option value="1032">Brunei Darussalam</option> <option value="1033">Bulgaria</option> <option value="1034">Burkina Faso</option> <option value="1036">Burundi</option> <option value="1037">Cambodia</option> <option value="1038">Cameroon</option> <option value="1039">Canada</option> <option value="1040">Cape Verde</option> <option value="1041">Cayman Islands</option> <option value="1042">Central African Republic</option> <option value="1043">Chad</option> <option value="1044">Chile</option> <option value="1045">China</option> <option value="1046">Christmas Island</option> <option value="1047">Cocos (Keeling) Islands</option> <option value="1048">Colombia</option> <option value="1049">Comoros</option> <option value="1051">Congo, Republic Of The</option> <option value="1050">Congo, The Democratic Republic of the</option> <option value="1052">Cook Islands</option> <option value="1053">Costa Rica</option> <option value="1054">Côte d’Ivoire</option> <option value="1055">Croatia</option> <option value="1056">Cuba</option> <option value="1248">Curaçao</option> <option value="1057">Cyprus</option> <option value="1058">Czech Republic</option> <option value="1059">Denmark</option> <option value="1060">Djibouti</option> <option value="1061">Dominica</option> <option value="1062">Dominican Republic</option> <option value="1064">Ecuador</option> <option value="1065">Egypt</option> <option value="1066">El Salvador</option> <option value="1067">Equatorial Guinea</option> <option value="1068">Eritrea</option> <option value="1069">Estonia</option> <option value="1203">eSwatini</option> <option value="1070">Ethiopia</option> <option value="1072">Falkland Islands (Malvinas)</option> <option value="1073">Faroe Islands</option> <option value="1074">Fiji</option> <option value="1075">Finland</option> <option value="1076">France</option> <option value="1077">French Guiana</option> <option value="1078">French Polynesia</option> <option value="1079">French Southern Territories</option> <option value="1080">Gabon</option> <option value="1213">Gambia</option> <option value="1081">Georgia</option> <option value="1082">Germany</option> <option value="1083">Ghana</option> <option value="1084">Gibraltar</option> <option value="1085">Greece</option> <option value="1086">Greenland</option> <option value="1087">Grenada</option> <option value="1088">Guadeloupe</option> <option value="1089">Guam</option> <option value="1090">Guatemala</option> <option value="1245">Guernsey</option> <option value="1091">Guinea</option> <option value="1092">Guinea-Bissau</option> <option value="1093">Guyana</option> <option value="1094">Haiti</option> <option value="1095">Heard Island and McDonald Islands</option> <option value="1096">Holy See (Vatican City State)</option> <option value="1097">Honduras</option> <option value="1098">Hong Kong</option> <option value="1099">Hungary</option> <option value="1100">Iceland</option> <option value="1101">India</option> <option value="1102">Indonesia</option> <option value="1103">Iran, Islamic Republic of</option> <option value="1104">Iraq</option> <option value="1105">Ireland</option> <option value="1246">Isle of Man</option> <option value="1106">Israel</option> <option value="1107">Italy</option> <option value="1108">Jamaica</option> <option value="1109">Japan</option> <option value="1244">Jersey</option> <option value="1110">Jordan</option> <option value="1111">Kazakhstan</option> <option value="1112">Kenya</option> <option value="1113">Kiribati</option> <option value="1114">Korea, Democratic People's Republic of</option> <option value="1115">Korea, Republic of</option> <option value="1251">Kosovo</option> <option value="1116">Kuwait</option> <option value="1117">Kyrgyzstan</option> <option value="1118">Lao People's Democratic Republic</option> <option value="1119">Latvia</option> <option value="1120">Lebanon</option> <option value="1121">Lesotho</option> <option value="1122">Liberia</option> <option value="1123">Libya</option> <option value="1124">Liechtenstein</option> <option value="1125">Lithuania</option> <option value="1126">Luxembourg</option> <option value="1127">Macao</option> <option value="1129">Madagascar</option> <option value="1130">Malawi</option> <option value="1131">Malaysia</option> <option value="1132">Maldives</option> <option value="1133">Mali</option> <option value="1134">Malta</option> <option value="1135">Marshall Islands</option> <option value="1136">Martinique</option> <option value="1137">Mauritania</option> <option value="1138">Mauritius</option> <option value="1139">Mayotte</option> <option value="1140">Mexico</option> <option value="1141">Micronesia, Federated States of</option> <option value="1142">Moldova</option> <option value="1143">Monaco</option> <option value="1144">Mongolia</option> <option value="1243">Montenegro</option> <option value="1145">Montserrat</option> <option value="1146">Morocco</option> <option value="1147">Mozambique</option> <option value="1035">Myanmar</option> <option value="1148">Namibia</option> <option value="1149">Nauru</option> <option value="1150">Nepal</option> <option value="1152">Netherlands</option> <option value="1153">New Caledonia</option> <option value="1154">New Zealand</option> <option value="1155">Nicaragua</option> <option value="1156">Niger</option> <option value="1157">Nigeria</option> <option value="1158">Niue</option> <option value="1159">Norfolk Island</option> <option value="1128">North Macedonia</option> <option value="1160">Northern Mariana Islands</option> <option value="1161">Norway</option> <option value="1162">Oman</option> <option value="1163">Pakistan</option> <option value="1164">Palau</option> <option value="1165">Palestine, State of</option> <option value="1166">Panama</option> <option value="1167">Papua New Guinea</option> <option value="1168">Paraguay</option> <option value="1169">Peru</option> <option value="1170">Philippines</option> <option value="1171">Pitcairn</option> <option value="1172">Poland</option> <option value="1173">Portugal</option> <option value="1174">Puerto Rico</option> <option value="1175">Qatar</option> <option value="1179">Reunion</option> <option value="1176">Romania</option> <option value="1177">Russia</option> <option value="1178">Rwanda</option> <option value="1252">Saint Barthélemy</option> <option value="1180">Saint Helena</option> <option value="1181">Saint Kitts and Nevis</option> <option value="1182">Saint Lucia</option> <option value="1253">Saint Martin (French part)</option> <option value="1183">Saint Pierre and Miquelon</option> <option value="1184">Saint Vincent and the Grenadines</option> <option value="1185">Samoa</option> <option value="1186">San Marino</option> <option value="1207">Sao Tome and Principe</option> <option value="1187">Saudi Arabia</option> <option value="1188">Senegal</option> <option value="1242">Serbia</option> <option value="1189">Seychelles</option> <option value="1190">Sierra Leone</option> <option value="1191">Singapore</option> <option value="1249">Sint Maarten (Dutch Part)</option> <option value="1192">Slovakia</option> <option value="1193">Slovenia</option> <option value="1194">Solomon Islands</option> <option value="1195">Somalia</option> <option value="1196">South Africa</option> <option value="1197">South Georgia and the South Sandwich Islands</option> <option value="1247">South Sudan</option> <option value="1198">Spain</option> <option value="1199">Sri Lanka</option> <option value="1200">Sudan</option> <option value="1201">Suriname</option> <option value="1202">Svalbard and Jan Mayen</option> <option value="1204">Sweden</option> <option value="1205">Switzerland</option> <option value="1206">Syrian Arab Republic</option> <option value="1208">Taiwan</option> <option value="1209">Tajikistan</option> <option value="1210">Tanzania, United Republic of</option> <option value="1211">Thailand</option> <option value="1063">Timor-Leste</option> <option value="1214">Togo</option> <option value="1215">Tokelau</option> <option value="1216">Tonga</option> <option value="1217">Trinidad and Tobago</option> <option value="1218">Tunisia</option> <option value="1219">Turkey</option> <option value="1220">Turkmenistan</option> <option value="1221">Turks and Caicos Islands</option> <option value="1222">Tuvalu</option> <option value="1223">Uganda</option> <option value="1224">Ukraine</option> <option value="1225">United Arab Emirates</option> <option value="1226">United Kingdom</option> <option value="1227">United States Minor Outlying Islands</option> <option value="1229">Uruguay</option> <option value="1228">USA</option> <option value="1230">Uzbekistan</option> <option value="1231">Vanuatu</option> <option value="1232">Venezuela</option> <option value="1233">Viet Nam</option> <option value="1031">Virgin Islands, British</option> <option value="1234">Virgin Islands, U.S.</option> <option value="1235">Wallis and Futuna</option> <option value="1236">Western Sahara</option> <option value="1237">Yemen</option> <option value="1239">Zambia</option> <option value="1240">Zimbabwe</option> </select> </div> <div class="clear"></div> </div> <div class="crm-section editrow_state_province-Primary-section form-item" id="editrow-state_province-Primary"> <div class="label"> <label for="state_province-Primary">State/Province</label> </div> <div class="content"> <select data-callback="civicrm/ajax/jqState" data-empty-prompt="Choose country first" data-none-prompt="- N/A -" class="crm-select2 crm-chain-select-target crm-form-select" data-select-prompt="- none -" data-name="state_province-Primary" name="state_province-Primary" disabled="disabled" id="state_province-Primary"> <option value="">Choose country first</option> </select> </div> <div class="clear"></div> </div> <div class="crm-section helprow-custom_62-section helprow-pre" id="helprow-custom_62"> <div class="content description">Please state your academic, community, or institutional affiliation. This information will be printed on your conference badge.</div> </div> <div class="crm-section editrow_custom_62-section form-item" id="editrow-custom_62"> <div class="label"> <label for="custom_62">Affiliation</label> </div> <div class="content"> <textarea data-crm-custom="OMD_information:Academic_affiliation" rows="2" cols="60" name="custom_62" id="custom_62" class="crm-form-textarea"></textarea> </div> <div class="clear"></div> </div> <div class="crm-section editrow_custom_146-section form-item" id="editrow-custom_146"> <div class="label"> <label for="custom_146"> Dietary restrictions <span class="crm-marker" title="This field is required.">*</span> </label> </div> <div class="content"> <select class="crm-select2 crm-form-select required" name="custom_146" id="custom_146"> <option value="">- select -</option> <option value="regular" selected="selected">None</option> <option value="vegeta">Vegetarian</option> <option value="none">N/A (I will make my own arrangements)</option> </select> </div> <div class="clear"></div> </div> <h3>For student participants</h3> <p>Please fill in the next two fields only if you are a student</p> <div class="crm-section helprow-custom_514-section helprow-pre" id="helprow-custom_514"> <div class="content description">Please select the degree type you are currently pursuing</div> </div> <div class="crm-section editrow_custom_514-section form-item" id="editrow-custom_514"> <div class="label"> <label for="custom_514">Degree type</label> </div> <div class="content"> <select class="crm-select2 crm-form-select" name="custom_514" id="custom_514"> <option value="">- none -</option> <option value="1">Undergraduate (BA or similar)</option> <option value="2">Master's (MA or similar)</option> <option value="3">Doctorate (PhD or similar)</option> <option value="4">Other</option> </select> </div> <div class="clear"></div> </div> <div class="crm-section editrow_custom_515-section form-item" id="editrow-custom_515"> <div class="label"> <label for="custom_515">Field of study</label> </div> <div class="content"> <input data-crm-custom="Fields_for_participants_at_events:Field_of_study" maxlength="255" name="custom_515" type="text" id="custom_515" class="crm-form-text" /> </div> <div class="clear"></div> </div> </fieldset> <script type="text/javascript"> CRM.$(function($) { $('#selector tr:even').addClass('odd-row'); $('#selector tr:odd ').addClass('even-row'); }); </script> </div> <fieldset id="priceset" class="crm-public-form-item crm-group priceset-group"> <legend>Registration fees</legend> <div id="priceset" class="crm-section price_set-section"> <div class="crm-section registration_fee_late_bird_-section"> <div class="label"><label>Late bird</label></div> <div class="content registration_fee_late_bird_-content"> <div class="price-set-row registration_fee_late_bird_-row1"> <span class="price-set-option-content"><input price="["price_89","270||"]" data-amount="270.000000000" data-currency="EUR" data-price-field-values="{"537":{"id":"537","price_field_id":"89","name":"Onsite_participation_Standard_ICTMD_members","label":"Onsite participation: Standard ICTMD members","amount":"270.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"538":{"id":"538","price_field_id":"89","name":"Onsite_participation_Student_Emeritus_ICTMD_members","label":"Onsite participation: Student ICTMD members","amount":"200.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"544":{"id":"544","price_field_id":"89","name":"onsite_participation_student_ictmd_members","label":"Onsite participation: Emeritus ICTMD members","amount":"200.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"539":{"id":"539","price_field_id":"89","name":"Onsite_participation_M_ori_participants","label":"Onsite participation: M\u0101ori participants","amount":"160.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"540":{"id":"540","price_field_id":"89","name":"Onsite_participation_Non_ICTMD_members","label":"Onsite participation: Non ICTMD members","amount":"330.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"541":{"id":"541","price_field_id":"89","name":"Online_participation_All_types","label":"Online participation: All types","amount":"210.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" value="537" type="radio" id="CIVICRM_QFID_537_2" name="price_89" class="crm-form-radio" /><label for="CIVICRM_QFID_537_2"><span class="crm-price-amount-label">Onsite participation: Standard ICTMD members<span class="crm-price-amount-label-separator"> - </span></span><span class="crm-price-amount-amount">€ 270.00</span></label></span> </div> <div class="price-set-row registration_fee_late_bird_-row2"> <span class="price-set-option-content"><input price="["price_89","200||"]" data-amount="200.000000000" data-currency="EUR" data-price-field-values="{"537":{"id":"537","price_field_id":"89","name":"Onsite_participation_Standard_ICTMD_members","label":"Onsite participation: Standard ICTMD members","amount":"270.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"538":{"id":"538","price_field_id":"89","name":"Onsite_participation_Student_Emeritus_ICTMD_members","label":"Onsite participation: Student ICTMD members","amount":"200.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"544":{"id":"544","price_field_id":"89","name":"onsite_participation_student_ictmd_members","label":"Onsite participation: Emeritus ICTMD members","amount":"200.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"539":{"id":"539","price_field_id":"89","name":"Onsite_participation_M_ori_participants","label":"Onsite participation: M\u0101ori participants","amount":"160.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"540":{"id":"540","price_field_id":"89","name":"Onsite_participation_Non_ICTMD_members","label":"Onsite participation: Non ICTMD members","amount":"330.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"541":{"id":"541","price_field_id":"89","name":"Online_participation_All_types","label":"Online participation: All types","amount":"210.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" value="538" type="radio" id="CIVICRM_QFID_538_4" name="price_89" class="crm-form-radio" /><label for="CIVICRM_QFID_538_4"><span class="crm-price-amount-label">Onsite participation: Student ICTMD members<span class="crm-price-amount-label-separator"> - </span></span><span class="crm-price-amount-amount">€ 200.00</span></label></span> </div> <div class="price-set-row registration_fee_late_bird_-row3"> <span class="price-set-option-content"><input price="["price_89","200||"]" data-amount="200.000000000" data-currency="EUR" data-price-field-values="{"537":{"id":"537","price_field_id":"89","name":"Onsite_participation_Standard_ICTMD_members","label":"Onsite participation: Standard ICTMD members","amount":"270.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"538":{"id":"538","price_field_id":"89","name":"Onsite_participation_Student_Emeritus_ICTMD_members","label":"Onsite participation: Student ICTMD members","amount":"200.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"544":{"id":"544","price_field_id":"89","name":"onsite_participation_student_ictmd_members","label":"Onsite participation: Emeritus ICTMD members","amount":"200.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"539":{"id":"539","price_field_id":"89","name":"Onsite_participation_M_ori_participants","label":"Onsite participation: M\u0101ori participants","amount":"160.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"540":{"id":"540","price_field_id":"89","name":"Onsite_participation_Non_ICTMD_members","label":"Onsite participation: Non ICTMD members","amount":"330.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"541":{"id":"541","price_field_id":"89","name":"Online_participation_All_types","label":"Online participation: All types","amount":"210.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" value="544" type="radio" id="CIVICRM_QFID_544_6" name="price_89" class="crm-form-radio" /><label for="CIVICRM_QFID_544_6"><span class="crm-price-amount-label">Onsite participation: Emeritus ICTMD members<span class="crm-price-amount-label-separator"> - </span></span><span class="crm-price-amount-amount">€ 200.00</span></label></span> </div> <div class="price-set-row registration_fee_late_bird_-row4"> <span class="price-set-option-content"><input price="["price_89","160||"]" data-amount="160.000000000" data-currency="EUR" data-price-field-values="{"537":{"id":"537","price_field_id":"89","name":"Onsite_participation_Standard_ICTMD_members","label":"Onsite participation: Standard ICTMD members","amount":"270.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"538":{"id":"538","price_field_id":"89","name":"Onsite_participation_Student_Emeritus_ICTMD_members","label":"Onsite participation: Student ICTMD members","amount":"200.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"544":{"id":"544","price_field_id":"89","name":"onsite_participation_student_ictmd_members","label":"Onsite participation: Emeritus ICTMD members","amount":"200.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"539":{"id":"539","price_field_id":"89","name":"Onsite_participation_M_ori_participants","label":"Onsite participation: M\u0101ori participants","amount":"160.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"540":{"id":"540","price_field_id":"89","name":"Onsite_participation_Non_ICTMD_members","label":"Onsite participation: Non ICTMD members","amount":"330.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"541":{"id":"541","price_field_id":"89","name":"Online_participation_All_types","label":"Online participation: All types","amount":"210.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" value="539" type="radio" id="CIVICRM_QFID_539_8" name="price_89" class="crm-form-radio" /><label for="CIVICRM_QFID_539_8"><span class="crm-price-amount-label">Onsite participation: Māori participants<span class="crm-price-amount-label-separator"> - </span></span><span class="crm-price-amount-amount">€ 160.00</span></label></span> </div> <div class="price-set-row registration_fee_late_bird_-row5"> <span class="price-set-option-content"><input price="["price_89","330||"]" data-amount="330.000000000" data-currency="EUR" data-price-field-values="{"537":{"id":"537","price_field_id":"89","name":"Onsite_participation_Standard_ICTMD_members","label":"Onsite participation: Standard ICTMD members","amount":"270.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"538":{"id":"538","price_field_id":"89","name":"Onsite_participation_Student_Emeritus_ICTMD_members","label":"Onsite participation: Student ICTMD members","amount":"200.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"544":{"id":"544","price_field_id":"89","name":"onsite_participation_student_ictmd_members","label":"Onsite participation: Emeritus ICTMD members","amount":"200.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"539":{"id":"539","price_field_id":"89","name":"Onsite_participation_M_ori_participants","label":"Onsite participation: M\u0101ori participants","amount":"160.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"540":{"id":"540","price_field_id":"89","name":"Onsite_participation_Non_ICTMD_members","label":"Onsite participation: Non ICTMD members","amount":"330.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"541":{"id":"541","price_field_id":"89","name":"Online_participation_All_types","label":"Online participation: All types","amount":"210.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" value="540" type="radio" id="CIVICRM_QFID_540_10" name="price_89" class="crm-form-radio" /><label for="CIVICRM_QFID_540_10"><span class="crm-price-amount-label">Onsite participation: Non ICTMD members<span class="crm-price-amount-label-separator"> - </span></span><span class="crm-price-amount-amount">€ 330.00</span></label></span> </div> <div class="price-set-row registration_fee_late_bird_-row6"> <span class="price-set-option-content"><input price="["price_89","210||"]" data-amount="210.000000000" data-currency="EUR" data-price-field-values="{"537":{"id":"537","price_field_id":"89","name":"Onsite_participation_Standard_ICTMD_members","label":"Onsite participation: Standard ICTMD members","amount":"270.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"538":{"id":"538","price_field_id":"89","name":"Onsite_participation_Student_Emeritus_ICTMD_members","label":"Onsite participation: Student ICTMD members","amount":"200.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"544":{"id":"544","price_field_id":"89","name":"onsite_participation_student_ictmd_members","label":"Onsite participation: Emeritus ICTMD members","amount":"200.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"539":{"id":"539","price_field_id":"89","name":"Onsite_participation_M_ori_participants","label":"Onsite participation: M\u0101ori participants","amount":"160.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"540":{"id":"540","price_field_id":"89","name":"Onsite_participation_Non_ICTMD_members","label":"Onsite participation: Non ICTMD members","amount":"330.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"},"541":{"id":"541","price_field_id":"89","name":"Online_participation_All_types","label":"Online participation: All types","amount":"210.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"4","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" value="541" type="radio" id="CIVICRM_QFID_541_12" name="price_89" class="crm-form-radio" /><label for="CIVICRM_QFID_541_12"><span class="crm-price-amount-label">Online participation: All types<span class="crm-price-amount-label-separator"> - </span></span><span class="crm-price-amount-amount">€ 210.00</span></label></span> </div> <div class="price-set-row registration_fee_late_bird_-row7"> <span class="price-set-option-content"><input price="["price_89","0"]" value="0" type="radio" id="CIVICRM_QFID_0_14" name="price_89" class="crm-form-radio" /><label for="CIVICRM_QFID_0_14">- none -</label></span> </div> </div> <div class="clear"></div> </div> <div class="crm-section donate_to_the_world_conference_registration_fund_late_-section"> <div class="label"><label>Donate to the World Conference Registration Fund (late)</label></div> <div class="content donate_to_the_world_conference_registration_fund_late_-content"> <div class="price-set-row donate_to_the_world_conference_registration_fund_late_-row1"> <span class="price-set-option-content"><input price="["554","270||"]" data-amount="270.000000000" data-currency="EUR" visibility="1" id="price_93_554" name="price_93[554]" type="checkbox" value="1" class="crm-form-checkbox" /><label for="price_93_554"><span class="crm-price-amount-label">Support 1 onsite standard participant</span> - € 270.00</label></span> </div> <div class="price-set-row donate_to_the_world_conference_registration_fund_late_-row2"> <span class="price-set-option-content"><input price="["555","540||"]" data-amount="540.000000000" data-currency="EUR" visibility="1" id="price_93_555" name="price_93[555]" type="checkbox" value="1" class="crm-form-checkbox" /><label for="price_93_555"><span class="crm-price-amount-label">Support 2 onsite standard participants</span> - € 540.00</label></span> </div> <div class="price-set-row donate_to_the_world_conference_registration_fund_late_-row3"> <span class="price-set-option-content"><input price="["556","200||"]" data-amount="200.000000000" data-currency="EUR" visibility="1" id="price_93_556" name="price_93[556]" type="checkbox" value="1" class="crm-form-checkbox" /><label for="price_93_556"><span class="crm-price-amount-label">Support 1 onsite student participant</span> - € 200.00</label></span> </div> <div class="price-set-row donate_to_the_world_conference_registration_fund_late_-row4"> <span class="price-set-option-content"><input price="["557","400||"]" data-amount="400.000000000" data-currency="EUR" visibility="1" id="price_93_557" name="price_93[557]" type="checkbox" value="1" class="crm-form-checkbox" /><label for="price_93_557"><span class="crm-price-amount-label">Support 2 onsite student participants</span> - € 400.00</label></span> </div> <div class="price-set-row donate_to_the_world_conference_registration_fund_late_-row5"> <span class="price-set-option-content"><input price="["558","210||"]" data-amount="210.000000000" data-currency="EUR" visibility="1" id="price_93_558" name="price_93[558]" type="checkbox" value="1" class="crm-form-checkbox" /><label for="price_93_558"><span class="crm-price-amount-label">Support 1 online participant</span> - € 210.00</label></span> </div> <div class="price-set-row donate_to_the_world_conference_registration_fund_late_-row6"> <span class="price-set-option-content"><input price="["559","420||"]" data-amount="420.000000000" data-currency="EUR" visibility="1" id="price_93_559" name="price_93[559]" type="checkbox" value="1" class="crm-form-checkbox" /><label for="price_93_559"><span class="crm-price-amount-label">Support 2 online participants</span> - € 420.00</label></span> </div> </div> <div class="clear"></div> </div> <div id="pricesetTotal" class="crm-section section-pricesetTotal"> <div id="pricelabel" class="label "> <span id='amount_sum_label'>Total Fee(s)</span> </div> <div class="content calc-value" id="pricevalue"></div> </div> <script type="text/javascript"> var thousandMarker = ','; var separator = '.'; var symbol = '€'; var optionSep = '|'; // Recalculate the total fees based on user selection cj("#priceset [price]").each(function () { var elementType = cj(this).attr('type'); if (this.tagName == 'SELECT') { elementType = 'select-one'; } switch(elementType) { case 'checkbox': cj(this).click(function(){ calculateCheckboxLineItemValue(this); display(calculateTotalFee()); }); calculateCheckboxLineItemValue(this); break; case 'radio': cj(this).click( function(){ calculateRadioLineItemValue(this); display(calculateTotalFee()); }); calculateRadioLineItemValue(this); break; case 'text': cj(this).bind( 'keyup', function() { calculateText(this); }).bind( 'blur' , function() { calculateText(this); }); //default calculation of element. calculateText(this); break; case 'select-one': calculateSelectLineItemValue(this); cj(this).change(function() { calculateSelectLineItemValue(this); display(calculateTotalFee()); }); break; } display(calculateTotalFee()); }); /** * Calculate the value of the line item for a radio value. */ function calculateCheckboxLineItemValue(priceElement) { eval( 'var option = ' + cj(priceElement).attr('price') ) ; optionPart = option[1].split(optionSep); price = parseFloat(0); if (cj(priceElement).prop('checked')) { price = parseFloat(optionPart[0]); } cj(priceElement).data('line_raw_total', price); } /** * Calculate the value of the line item for a radio value. */ function calculateRadioLineItemValue(priceElement) { eval( 'var option = ' + cj(priceElement).attr('price') ); optionPart = option[1].split(optionSep); var lineTotal = parseFloat(optionPart[0]); cj(priceElement).data('line_raw_total', lineTotal); var radionGroupName = cj(priceElement).attr("name"); // Reset all unchecked options to having a data value of 0. cj('input[name=' + radionGroupName + ']:radio:unchecked').each( function () { cj(this).data('line_raw_total', 0); } ); } /** * Calculate the value of the line item for a select value. */ function calculateSelectLineItemValue(priceElement) { eval( 'var selectedText = ' + cj(priceElement).attr('price') ); var price = parseFloat('0'); var option = cj(priceElement).val(); if (option) { optionPart = selectedText[option].split(optionSep); price = parseFloat(optionPart[0]); } cj(priceElement).data('line_raw_total', price); } /** * Calculate the value of the line item for a text box. */ function calculateText(priceElement) { //CRM-16034 - comma acts as decimal in price set text pricing //CRM-19937 - dollar sign easy mistake to make by users. var textval = parseFloat(cj(priceElement).val().replace(thousandMarker, '').replace(symbol, '')); if (isNaN(textval)) { textval = parseFloat(0); } eval('var option = '+ cj(priceElement).attr('price')); optionPart = option[1].split(optionSep); addprice = parseFloat(optionPart[0]); var curval = textval * addprice; cj(priceElement).data('line_raw_total', curval); display(calculateTotalFee()); } /** * Calculate the total fee for the visible priceset. */ function calculateTotalFee() { var totalFee = 0; cj("#priceset [price]").each(function () { totalFee = totalFee + cj(this).data('line_raw_total'); }); return totalFee; } /** * Display calculated amount. */ function display(totalfee) { // totalfee is monetary, round it to 2 decimal points so it can // go as a float - CRM-13491 totalfee = Math.round(totalfee*100)/100; var totalEventFee = formatMoney( totalfee, 2, separator, thousandMarker); document.getElementById('pricevalue').innerHTML = "<b>"+symbol+"</b> "+totalEventFee; cj('#total_amount').val( totalfee ); cj('#pricevalue').data('raw-total', totalfee).trigger('change'); ( totalfee < 0 ) ? cj('table#pricelabel').addClass('disabled') : cj('table#pricelabel').removeClass('disabled'); if (typeof skipPaymentMethod == 'function') { // Advice to anyone who, like me, feels hatred towards this if construct ... if you remove the if you // get an error on participant 2 of a event that requires approval & permits multiple registrants. skipPaymentMethod(); } } //money formatting/localization function formatMoney (amount, c, d, t) { var n = amount, c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "," : d, t = t == undefined ? "." : t, s = n < 0 ? "-" : "", i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0; return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : ""); } </script> </div> </fieldset> <fieldset class="crm-public-form-item crm-group payment_options-group" style="display:none;"> <legend>Payment Options</legend> <div class="crm-section payment_processor-section"> <div class="label"><label>Payment Method</label></div> <div class="content"><input value="3" type="radio" id="CIVICRM_QFID_3_payment_processor_id" name="payment_processor_id" checked="checked" class="crm-form-radio" /><label for="CIVICRM_QFID_3_payment_processor_id">Credit/Debit card</label> <input value="0" type="radio" id="CIVICRM_QFID_0_payment_processor_id" name="payment_processor_id" class="crm-form-radio" /><label for="CIVICRM_QFID_0_payment_processor_id">Bank transfer</label></div> <div class="clear"></div> </div> </fieldset> <div id="billing-payment-block"> <script type="text/javascript"> CRM.config.creditCardTypes = {"Visa":{"label":"Visa","name":"Visa","css_key":"visa","pattern":"4(?:[0-9]{12}|[0-9]{15})"},"MasterCard":{"label":"MasterCard","name":"MasterCard","css_key":"mastercard","pattern":"(5[1-5][0-9]{2}|2[3-6][0-9]{2}|22[3-9][0-9]|222[1-9]|27[0-1][0-9]|2720)[0-9]{12}"},"Amex":{"label":"Amex","name":"Amex","css_key":"amex","pattern":"3[47][0-9]{13}"},"Discover":{"label":"Discover","name":"Discover","css_key":"discover","pattern":"6011[0-9]{12}"}}; </script> <div id="payment_information"> <fieldset class="billing_mode-group credit_card_info-group"> <legend> </legend> <div class="crm-section billing_mode-section credit_card_info-section"> <div class="crm-section -section"> <div class="label"> </div> <div class="content"> </div> <div class="clear"></div> </div> <div class="crm-section -section"> <div class="label"> </div> <div class="content"> </div> <div class="clear"></div> </div> <div class="crm-section -section"> <div class="label"> </div> <div class="content"> </div> <div class="clear"></div> </div> </div> </fieldset> </div> <script type="text/javascript"> CRM.$(function ($) { // build list of ids to track changes on var address_fields = {"street_address":"Primary","supplemental_address_1":"Primary","city":"Primary","postal_code":"Primary","country":"Primary","state_province":"Primary"}; var input_ids = {}; var select_ids = {}; var orig_id, field, field_name; // build input ids $('.billing_name_address-section input').each(function (i) { orig_id = $(this).attr('id'); field = orig_id.split('-'); field_name = field[0].replace('billing_', ''); if (field[1]) { if (address_fields[field_name]) { input_ids['#' + field_name + '-' + address_fields[field_name]] = '#' + orig_id; } } }); if ($('#first_name').length) input_ids['#first_name'] = '#billing_first_name'; if ($('#middle_name').length) input_ids['#middle_name'] = '#billing_middle_name'; if ($('#last_name').length) input_ids['#last_name'] = '#billing_last_name'; // build select ids $('.billing_name_address-section select').each(function (i) { orig_id = $(this).attr('id'); field = orig_id.split('-'); field_name = field[0].replace('billing_', '').replace('_id', ''); if (field[1]) { if (address_fields[field_name]) { select_ids['#' + field_name + '-' + address_fields[field_name]] = '#' + orig_id; } } }); // detect if billing checkbox should default to checked var checked = true; for (var id in input_ids) { orig_id = input_ids[id]; if ($(id).val() != $(orig_id).val()) { checked = false; break; } } for (var id in select_ids) { orig_id = select_ids[id]; if ($(id).val() != $(orig_id).val()) { checked = false; break; } } if (checked) { $('#billingcheckbox').prop('checked', true).data('crm-initial-value', true); if (!CRM.billing || CRM.billing.billingProfileIsHideable) { $('.billing_name_address-group').hide(); } } // onchange handlers for non-billing fields for (var id in input_ids) { orig_id = input_ids[id]; $(id).change(function () { var id = '#' + $(this).attr('id'); var orig_id = input_ids[id]; // if billing checkbox is active, copy other field into billing field if ($('#billingcheckbox').prop('checked')) { $(orig_id).val($(id).val()); } }); } for (var id in select_ids) { orig_id = select_ids[id]; $(id).change(function () { var id = '#' + $(this).attr('id'); var orig_id = select_ids[id]; // if billing checkbox is active, copy other field into billing field if ($('#billingcheckbox').prop('checked')) { $(orig_id + ' option').prop('selected', false); $(orig_id + ' option[value="' + $(id).val() + '"]').prop('selected', true); $(orig_id).change(); } }); } // toggle show/hide $('#billingcheckbox').click(function () { if (this.checked) { if (!CRM.billing || CRM.billing.billingProfileIsHideable) { $('.billing_name_address-group').hide(200); } // copy all values for (var id in input_ids) { orig_id = input_ids[id]; $(orig_id).val($(id).val()); } for (var id in select_ids) { orig_id = select_ids[id]; $(orig_id + ' option').prop('selected', false); $(orig_id + ' option[value="' + $(id).val() + '"]').prop('selected', true); $(orig_id).change(); } } else { $('.billing_name_address-group').show(200); } }); // remove spaces, dashes from credit card number $('#credit_card_number').change(function () { var cc = $('#credit_card_number').val() .replace(/ /g, '') .replace(/-/g, ''); $('#credit_card_number').val(cc); }); }); </script> <script type="text/javascript"> CRM.$(function($) { $('.crm-submit-buttons', $('#billing-payment-block').closest('form')).hide(); }); </script> <script type="text/javascript" src="/sites/all/modules/contrib/civicrm/templates/CRM/Core/BillingBlock.js?r=Ped2h"> </script> <div id="paypal-button-container" class="crm-paypal-buttons"></div><script type="text/javascript"> // @see https://developer.paypal.com/docs/checkout/integrate/ (function($) { var form = $('#billing-payment-block').closest('form'); var qfKey = $('[name=qfKey]', form).val(); function renderPaypal() { paypal.Buttons({ onInit: function(data, actions) { // Set up the buttons. if (form.valid()) { actions.enable() } else { actions.disable(); } form.on('blur keyup change', 'input', function (event) { if (form.valid()) { actions.enable() } else { actions.disable(); } }); }, createBillingAgreement: function (data, actions) { var frequencyInterval = $('#frequency_interval').val() || 1; var frequencyUnit = $('#frequency_unit').val() ? $('#frequency_interval').val() : CRM.vars.omnipay.frequency_unit; var paymentAmount = calculateTotalFee(); var isRecur = $('#is_recur').is(":checked"); var recurText = isRecur ? ' recurring' : ''; return new Promise(function (resolve, reject) { CRM.api3('PaymentProcessor', 'preapprove', { 'payment_processor_id': CRM.vars.omnipay.paymentProcessorId, 'amount': paymentAmount, 'currencyID' : CRM.vars.omnipay.currency, 'qf_key': qfKey, 'is_recur' : isRecur, 'installments' : $('#installments').val(), 'frequency_unit' : frequencyUnit, 'frequency_interval' : frequencyInterval, 'description' : CRM.vars.omnipay.title + ' ' + CRM.formatMoney(paymentAmount) + recurText, } ).then(function (result) { if (result['is_error'] === 1) { reject(result['error_message']); } else { token = result['values'][0]['token']; resolve(token); } }) .fail(function (result) { reject('Payment failed. Check your site credentials'); }); }); }, onApprove: function (data, actions) { var isRecur = 1; var paymentToken = data['billingToken']; if (!paymentToken) { paymentToken = data['paymentID']; isRecur = 0; } document.getElementById('paypal-button-container').style.visibility = "hidden"; document.getElementById('crm-submit-buttons').style.display = 'block'; document.getElementById('PayerID').value = data['payerID']; document.getElementById('payment_token').value = paymentToken; form.submit(); }, onError: function(err) { console.log(err); alert('Site is not correctly configured to process payments'); } }) .render('#paypal-button-container'); } var paypalScriptURL = 'https://www.paypal.com/sdk/js?client-id=' + CRM.vars.omnipay.client_id + '¤cy=' + CRM.vars.omnipay.currency + '&commit=false&vault=true'; CRM.loadScript(paypalScriptURL, false).done(renderPaypal); })(CRM.$); </script> </div> <script type="text/javascript"> /** * Show or hide payment options. * * @param bool $isHide * Should the block be hidden. */ function showHidePayment(isHide) { var payment_options = cj(".payment_options-group"); var payment_processor = cj("div.payment_processor-section"); var payment_information = cj("div#payment_information"); // I've added a hide for billing block. But, actually the issue // might be that the unselecting of the processor should cause it // to be hidden (or removed) in which case it can go from this function. var billing_block = cj("div#billing-payment-block"); if (isHide) { payment_options.hide(); payment_processor.hide(); payment_information.hide(); billing_block.hide(); // also unset selected payment methods cj('input[name="payment_processor_id"]').removeProp('checked'); } else { payment_options.show(); payment_processor.show(); payment_information.show(); billing_block.show(); // also set selected payment methods cj('input[name="payment_processor_id"][checked=checked]').prop('checked', true); } } /** * Hides or shows billing and payment options block depending on whether payment is required. * * In general incomplete orders or $0 orders do not require a payment block. */ function skipPaymentMethod() { var isHide = false; var isMultiple = "0"; var alwaysShowFlag = (isMultiple && cj("#additional_participants").val()); var alwaysHideFlag = (cj("#bypass_payment").val() == 1); var total_amount_tmp = cj('#pricevalue').data('raw-total'); // Hide billing questions if this is free if (!alwaysShowFlag && total_amount_tmp == 0){ isHide = true; } else { isHide = false; } if (alwaysHideFlag) { isHide = true; } showHidePayment(isHide); } skipPaymentMethod(); CRM.$(function($) { function buildPaymentBlock(type) { var $form = $('#billing-payment-block').closest('form'); var payment_instrument_id = $('#payment_instrument_id').val(); var dataUrl = "/civicrm/payment/form?formName=Register¤cy=EUR&&is_back_office=&pre_profile_id=66&processor_id=" + type; if (typeof(CRM.vars) != "undefined") { if (typeof(CRM.vars.coreForm) != "undefined") { if (typeof(CRM.vars.coreForm.contact_id) != "undefined") { dataUrl = dataUrl + "&cid=" + CRM.vars.coreForm.contact_id; } if (typeof(CRM.vars.coreForm.checksum) != "undefined" ) { dataUrl = dataUrl + "&cs=" + CRM.vars.coreForm.checksum; } } } dataUrl = dataUrl + "&payment_instrument_id=" + payment_instrument_id; // Processors like pp-express will hide the form submit buttons, so re-show them when switching $('.crm-submit-buttons', $form).show().find('input').prop('disabled', true); CRM.loadPage(dataUrl, {target: '#billing-payment-block'}); } $('[name=payment_processor_id]').on('change.paymentBlock', function() { buildPaymentBlock($(this).val()); }); $('#payment_instrument_id').on('change.paymentBlock', function() { buildPaymentBlock(0); }); $('#billing-payment-block').on('crmLoad', function() { $('.crm-submit-buttons input').prop('disabled', false); }) }); </script> <div class="crm-public-form-item crm-section custom_post-section"> <script type="text/javascript"> CRM.$(function($) { $('#selector tr:even').addClass('odd-row'); $('#selector tr:odd ').addClass('even-row'); }); </script> </div> <div id="crm-submit-buttons" class="crm-submit-buttons"> <span class="crm-button crm-button-type-upload crm-button_qf_Register_upload crm-i-button"> <i class="crm-i fa-check"></i> <input class="crm-form-submit default validate" crm-icon="fa-check" name="_qf_Register_upload" value="Continue" type="submit" id="_qf_Register_upload-bottom" /> </span> </div> </div> <script type="text/javascript"> cj("#additional_participants").change(function () { skipPaymentMethod(); }); function allowParticipant() { } function allowGroupOnWaitlist(additionalParticipants, pricesetParticipantCount) { additionalParticipants = 0; additionalParticipants = parseInt(additionalParticipants); if (!additionalParticipants) { additionalParticipants = 0; } var availableRegistrations = ''; var totalParticipants = parseInt(additionalParticipants) + 1; if (pricesetParticipantCount) { // add priceset count if any totalParticipants += parseInt(pricesetParticipantCount) - 1; } var isrequireApproval = ''; if (totalParticipants > availableRegistrations) { cj("#id-waitlist-msg").show(); cj("#id-waitlist-approval-msg").show(); //set the value for hidden bypass payment. cj("#bypass_payment").val(1); } else { if (isrequireApproval) { cj("#id-waitlist-approval-msg").show(); cj("#id-waitlist-msg").hide(); cj("#bypass_payment").val(1); } else { cj("#id-waitlist-approval-msg").hide(); cj("#bypass_payment").val(0); } //reset value since user don't want or not eligible for waitlist skipPaymentMethod(); } } </script> </form> </div> <link href="https://www.ictmusic.org/sites/all/civicrm/custom/extensions/uk.co.vedaconsulting.gdpr-2.3/css/gdpr.css?r=Ped2h" rel="stylesheet" type="text/css"/> </div> </div> </div> </div> </div> </div> <div id="footer"> <div class="region region-footer"> <div id="block-block-1" class="block block-block clearfix bars "> <div class="content"> <p>© 2010–2024 International Council for Traditions of Music and Dance | <a href="/links">Links</a> | <a href="/news">News</a></p> </div> </div> </div> </div> </div> </div> </body> </html>