Delegate Booking

Delegate Registration


document.addEventListener("DOMContentLoaded", function() { const yesRadio = document.querySelector('input[name="membership-status"][value="Yes"]'); const noRadio = document.querySelector('input[name="membership-status"][value="No"]'); const codeWrapper = document.getElementById("membership-code-wrapper"); const priceDisplay = document.getElementById("price-display"); const gst = 0.18; const nonMemberPrice = 18000; const memberPrice = 14000; // Get today’s date const today = new Date(); let discount = 0; // Apply discount by date if(today <= new Date("2025-09-30")) { discount = 0.20; // 20% till Sep 30 } else if(today >= new Date("2025-10-01") && today <= new Date("2025-10-31")) { discount = 0.15; // 15% in Oct } else if(today >= new Date("2025-11-01") && today <= new Date("2025-11-30")) { discount = 0.10; // 10% in Nov } // Show/hide membership code yesRadio.addEventListener("change", function() { codeWrapper.style.display = "block"; priceDisplay.innerHTML = ""; // reset }); noRadio.addEventListener("change", function() { codeWrapper.style.display = "none"; const discounted = nonMemberPrice - (nonMemberPrice * discount); const total = discounted + (discounted * gst); priceDisplay.innerHTML = "Total Price: ₹" + total.toFixed(2); }); // Validate code document.querySelector('input[name="membership-code"]').addEventListener("blur", function() { const code = this.value.trim(); if(code === "BAI123"){ // ✅ Replace with actual membership code(s) const discounted = memberPrice - (memberPrice * discount); const total = discounted + (discounted * gst); priceDisplay.innerHTML = "Valid Code ✅ Total Price: ₹" + total.toFixed(2); } else { priceDisplay.innerHTML = "❌ Invalid Code"; } }); });
Contact

Fetsia building, 1st Floor, Regd.office
Ward NO.7, Block No.2, Near Fire station. Industrial Estate,Sanath Nagar, Hyderabad - 500018, Telangana.

ed@bipaindia.org

Social Updates

Stay updated on BioAgri 2025 –
Follow us on Social Platforms.

Get In Touch

    Copyright © 2025 by BIPAINDIA - Website Powered by Mugdha Creatives