Care2Run Returning Registration Form Thank your for joining us again. Fill in the details below to complete your returning registration for the Care2Run Weekly Programme. This form is for participants who have joined Care2Run before and wish to register again. CARE2RUN Registration Form Section 1 Programme Details Tell us which programme you are joining and select your preferred date. You may add up to 5 programmes. Programme 1 Programme Name * Preferred Date * Programme 2 Remove × Programme Name * Preferred Date * Programme 3 Remove × Programme Name * Preferred Date * Programme 4 Remove × Programme Name * Preferred Date * Programme 5 Remove × Programme Name * Preferred Date * + (Optional) Add Another Programme Maximum of 5 programmes reached. Please complete both the Programme Name and Preferred Date for every programme you have added. Section 2 Participant Information Please update the participant and caregiver information below. ● Participant Details Participant's Preferred Name * Participant's Full Name (as per IC / MyKid / Passport) * Date of Birth * Age (Current Year) * Automatically calculated from the participant's date of birth. ● Caregiver / Emergency Contact Caregiver Preferred Name * Caregiver / Emergency Contact Mobile / WhatsApp Number * Caregiver Email Address * A registration confirmation will be sent to this email address. ● General Health & Safety Agreement * I agree to help keep everyone safe and to withdraw the participant from the programme when the participant or accompanying family member is infected by, or has had close contact with, a contagious disease. Section 3 Optional Update - Getting to Know Your Child Help our coaches continue supporting and celebrating your child's development. We would like to learn a bit more about your child: What are your child's current interests, motivation, and strengths that you wish us to celebrate during the session? 1. Interests 2. Motivation 3. Strengths Section 4 Payment Please select your payment method and upload your payment receipt. Payment Method * QR CodeBank Transfer DuitNow QR Touch 'n Go QR Name of Organisation: Wildpac Asia PLT (LLP0005833-LGN) Bank: CIMB Bank Account Name: Wildpac Asia PLT Account Number: 800-783-044-8 Please use the participant's full name as the transaction reference. Payment Receipt * Please upload your payment receipt after completing payment. Section 5 Indemnity Form & Digital Signature Please read and accept the full Care2Run & XD School Programme Indemnity Form, then complete your digital signature. ⚖️ Care2Run & XD School Programme Indemnity Form The agreement covers participation and risk, health disclosures, emergency first aid and medical treatment, emergency contacts, personal data processing, youth protection, brand and intellectual-property terms, photographs and recordings, participant privacy, and insurance arrangements. The online acceptance below applies to the complete indemnity document, not only to this summary. I agree to all the terms stated on the Care2Run & XD School Indemnity Form → I confirm that I have opened, read, understood, and agree to the full Care2Run & XD School Programme Indemnity Form, and I digitally sign this registration as the person completing the web form. ● Digital Signature Full Name of Person Completing This Form * Date Signed * Thank you, Prem, Principal Coach Personal: 019-282 0088 Care2Run / XD School: 010-650 0838 www.thexdschool.com * Indicates a required field. Optional fields may be left blank. document.addEventListener('DOMContentLoaded', function () { var wrapper = document.getElementById('returning-care2run-form'); if (!wrapper) { return; } /* ======================================================= AGE CALCULATION ======================================================= */ var dobField = document.getElementById('c2r-dob'); var ageField = document.getElementById('c2r-age'); function calculateCurrentYearAge() { if (!dobField || !ageField) { return; } if (!dobField.value) { ageField.value = ''; return; } var birthDate = new Date(dobField.value + 'T00:00:00'); if (isNaN(birthDate.getTime())) { ageField.value = ''; return; } var currentYear = new Date().getFullYear(); var birthYear = birthDate.getFullYear(); var calculatedAge = currentYear - birthYear; if ( calculatedAge >= 1 && calculatedAge = 5) { if (addButton) { addButton.style.display = 'none'; } if (maxMessage) { maxMessage.style.display = 'block'; } } else { if (addButton) { addButton.style.display = 'flex'; } if (maxMessage) { maxMessage.style.display = 'none'; } } } /* ======================================================= ADD PROGRAMME ======================================================= */ if (addButton) { addButton.addEventListener( 'click', function () { if (programmeCount >= 5) { return; } programmeCount++; var card = document.getElementById( 'c2r-programme-card-' + programmeCount ); if (card) { card.style.display = 'block'; updateProgrammeControls(); card.scrollIntoView({ behavior: 'smooth', block: 'center' }); } } ); } /* ======================================================= REMOVE PROGRAMME ======================================================= */ wrapper.addEventListener( 'click', function (event) { var button = event.target.closest( '.c2r-remove-programme' ); if (!button) { return; } var removeNumber = parseInt( button.getAttribute( 'data-remove' ), 10 ); if ( isNaN(removeNumber) || removeNumber programmeCount ) { return; } for ( var i = removeNumber; i < programmeCount; i++ ) { var currentProgramme = document.getElementById( 'c2r-programme-' + i ); var nextProgramme = document.getElementById( 'c2r-programme-' + (i + 1) ); var currentDate = document.getElementById( 'c2r-programme-date-' + i ); var nextDate = document.getElementById( 'c2r-programme-date-' + (i + 1) ); if ( currentProgramme && nextProgramme ) { currentProgramme.value = nextProgramme.value; } if ( currentDate && nextDate ) { currentDate.value = nextDate.value; } } var lastProgramme = document.getElementById( 'c2r-programme-' + programmeCount ); var lastDate = document.getElementById( 'c2r-programme-date-' + programmeCount ); var lastCard = document.getElementById( 'c2r-programme-card-' + programmeCount ); if (lastProgramme) { lastProgramme.value = ''; lastProgramme.classList.remove( 'c2r-programme-invalid' ); } if (lastDate) { lastDate.value = ''; lastDate.classList.remove( 'c2r-programme-invalid' ); } if (lastCard) { lastCard.style.display = 'none'; } programmeCount--; updateProgrammeControls(); validateProgrammes(false); } ); /* ======================================================= PROGRAMME VALIDATION ======================================================= */ function validateProgrammes(showError) { var valid = true; for ( var i = 1; i <= programmeCount; i++ ) { var programme = document.getElementById( 'c2r-programme-' + i ); var programmeDate = document.getElementById( 'c2r-programme-date-' + i ); if ( !programme || !programme.value.trim() ) { valid = false; if ( showError && programme ) { programme.classList.add( 'c2r-programme-invalid' ); } } else { programme.classList.remove( 'c2r-programme-invalid' ); } if ( !programmeDate || !programmeDate.value ) { valid = false; if ( showError && programmeDate ) { programmeDate.classList.add( 'c2r-programme-invalid' ); } } else { programmeDate.classList.remove( 'c2r-programme-invalid' ); } } var errorMessage = document.getElementById( 'c2r-programme-error' ); if (errorMessage) { errorMessage.style.display = ( showError && !valid ) ? 'block' : 'none'; } return valid; } /* ======================================================= REMOVE ERROR AFTER CORRECTION ======================================================= */ wrapper.addEventListener( 'input', function (event) { var field = event.target; if (!field) { return; } if ( field.classList.contains( 'c2r-programme-invalid' ) && field.value.trim() ) { field.classList.remove( 'c2r-programme-invalid' ); } } ); wrapper.addEventListener( 'change', function (event) { var field = event.target; if (!field) { return; } if ( field.classList.contains( 'c2r-programme-invalid' ) && field.value ) { field.classList.remove( 'c2r-programme-invalid' ); } } ); /* ======================================================= SUBMIT VALIDATION ======================================================= */ var form = wrapper.closest('form'); if (form) { form.addEventListener( 'submit', function (event) { var programmeValid = validateProgrammes(true); if (!programmeValid) { event.preventDefault(); event.stopImmediatePropagation(); var firstInvalid = wrapper.querySelector( '.c2r-programme-invalid' ); if (firstInvalid) { firstInvalid.scrollIntoView({ behavior: 'smooth', block: 'center' }); firstInvalid.focus(); } return false; } }, true ); } updateProgrammeControls(); }); (function () { function updateC2RPaymentPanels(wrapper) { var selected = wrapper.querySelector( 'input[type="radio"][name="payment-method"]:checked' ); var qrPanel = document.getElementById('c2r-qr-payment'); var bankPanel = document.getElementById('c2r-bank-payment'); if (!qrPanel || !bankPanel) { return; } var isBank = selected && /bank/i.test(selected.value || ''); if (isBank) { qrPanel.style.setProperty('display', 'none', 'important'); bankPanel.style.setProperty('display', 'block', 'important'); } else { qrPanel.style.setProperty('display', 'block', 'important'); bankPanel.style.setProperty('display', 'none', 'important'); } } function setupC2RPaymentToggle() { var wrapper = document.getElementById('returning-care2run-form'); if (!wrapper) { return; } if (wrapper.getAttribute('data-payment-toggle-ready') !== '1') { wrapper.setAttribute('data-payment-toggle-ready', '1'); wrapper.addEventListener('change', function (event) { var target = event.target; if (target && target.matches('input[type="radio"][name="payment-method"]')) { updateC2RPaymentPanels(wrapper); } }); } updateC2RPaymentPanels(wrapper); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', setupC2RPaymentToggle); } else { setupC2RPaymentToggle(); } document.addEventListener('wpcf7init', setupC2RPaymentToggle); document.addEventListener('wpcf7reset', setupC2RPaymentToggle); })();