Paediatric Rheumatology Course for Rheumatologists, Pediatricians & Trainees

Registration Closed

We regret to inform you that registration is now closed for the sessions.

26th - 27th October 2024

Lotus Ballroom, Hotel Shangri-La

08:30 AM - 05:15 PM

Upcoming Event Registration

Paediatric Rheumatology Course for Rheumatologists, Pediatricians & Trainees

College of Specialists in Rheumatology & Rehabilitation Sri Lanka in collaboration with Sri Lanka College of Paediatricians with the Patronage of Asia Pacific League of Associations for Rheumatology

Day 1

30th November 2024

Day 2

01st December 2024

Venue:

UCFM Tower, Faculty of Medicine, University of Colombo, Maradana Road Colombo 7 Mini - auditorium (Level 1)

Registration Fee: Rs. 2000

    Consultant Registration (Full 02 Days)

    LKR 10,000

    Non-Consultant Registration (Full 02 Days)

    LKR 7,500

    Foreign Delegate Registration (Full 02 Days)

    LKR 45,000

    *Note: Day registration will be on-site.*

    function toggleRadio(radioId) {
    const selected = document.getElementById(radioId);
    selected.checked = true;

    // Reset styles
    document.querySelectorAll('.checkbox-container').forEach(container => {
    container.style.borderColor = '#e1e8ed';
    container.style.background = 'white';
    });

    // Highlight selected
    const selectedContainer = selected.closest('.checkbox-container');
    selectedContainer.style.borderColor = '#667eea';
    selectedContainer.style.background = 'linear-gradient(135deg, #667eea10, #764ba210)';
    }

    function saveFormData() {
    localStorage.setItem('billing_first_name', document.querySelector('input[name="billing_first_name"]').value);
    localStorage.setItem('billing_last_name', document.querySelector('input[name="billing_last_name"]').value);
    localStorage.setItem('billing_company', document.querySelector('input[name="billing_company"]').value);
    localStorage.setItem('billing_whatsapp', document.querySelector('input[name="billing_whatsapp"]').value);
    localStorage.setItem('billing_email', document.querySelector('input[name="billing_email"]').value);
    localStorage.setItem('billing_slmc_number', document.querySelector('input[name="billing_slmc_number"]').value);
    localStorage.setItem('billing_slmc_category', document.querySelector('input[name="billing_slmc_category"]').value);
    localStorage.setItem('billing_address_1', document.querySelector('input[name="billing_address_1"]').value);
    }

    function getSelectedProducts() {
    const selected = document.querySelector('input[name="product"]:checked');
    return selected ? [selected.value] : [];
    }

    function validateForm() {
    let errorMessage = "";
    const emailPattern = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;

    if (getSelectedProducts().length === 0) errorMessage += "Please select a registration type.\n";
    if (!document.querySelector('input[name="billing_first_name"]').value) errorMessage += "Enter full name.\n";
    if (!document.querySelector('input[name="billing_last_name"]').value) errorMessage += "Enter designation.\n";
    if (!document.querySelector('input[name="billing_company"]').value) errorMessage += "Enter workplace.\n";
    if (!document.querySelector('input[name="billing_whatsapp"]').value) errorMessage += "Enter WhatsApp number.\n";
    if (!document.querySelector('input[name="billing_email"]').value.match(emailPattern)) errorMessage += "Enter valid email.\n";
    if (!document.querySelector('input[name="billing_slmc_number"]').value) errorMessage += "Enter SLMC number.\n";
    if (!document.querySelector('input[name="billing_slmc_category"]').value) errorMessage += "Enter SLMC registration category.\n";

    if (errorMessage) {
    alert(errorMessage);
    return false;
    }
    return true;
    }

    function redirectToPayment() {
    if (!validateForm()) return;

    saveFormData();
    const selectedProducts = getSelectedProducts();

    let addedCount = 0;
    selectedProducts.forEach(productId => {
    jQuery.post('/?wc-ajax=add_to_cart', {
    product_id: productId,
    quantity: 1
    }, function () {
    addedCount++;
    if (addedCount === selectedProducts.length) {
    window.location.href = '/checkout/';
    }
    });
    });
    }