CINXE.COM

Become a Sponsor | World Polymer science & Composite Meetings | Nano & polymers Conference

<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js'></script> <script> $(document).ready(function() { var Participants; var registration_price; var registration_category; var Final_Reg_price = 0; var socialnetwork = 0; var No_of_Socialnetworking = 0; var No_of_accompanying = 0; var accompanying_price = 0; var accommodation_price = 0; var accommodation_category = ""; var No_of_days = 0; var total_price = 0; var discount_code = ""; var discount_applied = false; var discount_reg_price = 0; var discount_acc_price = 0; var discount_price = 0; var Live; var before_discount_total = 0; var discountedPrice = 0; var discount_category = ""; var check_in_date = ""; var check_out_date = ""; var Sponsor_price = 0; var Sponsor_category; var Sponsor_others; var Sponsor_disount = 0; var Sponsor_disount_code; var Sponsor_disount_applied = false; var Sponsor_disounted_price; var other_p_scnt = ""; var other_org_name = ""; var form_reg_radio = $("input[id='reg_radio']").map(function() { return $(this).attr('name'); }).get(); var reg_radio_value = 'r1'; $("input[name='" + reg_radio_value + "']").prop("disabled", false); $("input[type='radio']").each(function() { var name = $(this).attr("name"); if (!reg_radio_value.includes(name)) { (reg_radio_value); $(this).prop("disabled", true); $("input[name='r5']").prop("disabled", false); } }); if (form_reg_radio.includes(reg_radio_value)) { $("input[name='" + form_reg_radio + "']").prop("disabled", true); } $("input[name='reg_check'][value='live']").prop("checked", true); $("input[name='reg_check'][value='not live']").prop("disabled", true); Live = $("input[name='reg_check'][value='live']").val(); check_box(); // $("#socialnetwork").val("0"); if (Participants != 0) { Participants = $("#participants_id").val(); getReg_price(); } if (No_of_Socialnetworking != 0) { No_of_Socialnetworking = $("#socialnetwork").val(); getSocial_networking_price(); } if (accompanying_price != 0) { accompanying_price = $("#accompanying").val(); get_accompanying_value(); } total(); $("input[name='reg_check'][value='live']").change(function() { check_box(); }); $('#participants_id').change(function() { getParticipants_value(); }); $('input[type=radio][name="r1"]').change(function() { getReg_price(); }); $('#socialnetwork').change(function() { getSocial_networking_price(); }); $('#accompanying').change(function() { get_accompanying_value(); }); $('input[type=radio][name=r5]').change(function() { get_accommodation_value(); }); $('#numberof_days').change(function() { number_of_days(); checkincheckout(); }); $('#amount').change(function() { Sponsor_price = $("#amount").val(); if (Sponsor_others) { Sponsor_price = $("#amount").val(); if ((Sponsor_price != "") && (Sponsor_disount_applied)) { spn_discount(); } } }); $('#discountregistration').change(function() { if (this.checked) { $('#display_discountinput').css("display", "block"); } else { $('#display_discountinput').css("display", "none"); } }); $('#form-check input[type="checkbox"]').change(function() { $('#collapseExample').toggle(this.checked); }); $('#extra_accommodation').change(function() { if (this.checked) { $('#acd_extrabox').removeClass("hidden"); } else { $('#acd_extrabox').addClass("hidden"); } if ($('#extra_accommodation').prop('checked')) { number_of_days(); } }); $("#dateof_accommodation").on("change", function() { checkincheckout(); }); $("#spn_discount_code").change(function() { Sponsor_disount_code = $("#spn_discount_code").val(); if (Sponsor_disount_code != "") { Sponsor_disount_applied = true; spn_discount(); } }) function check_box() { if ($("input[name='reg_check'][value='live']").prop("checked")) { $("#showreg_div").removeClass("hidden"); $.ajax({ type: "POST", url: "env_dev.php", data: { live: Live, }, success: function(result) { if (result == "Success") { $("input[name='r1']").eq(0).prop("checked", true).trigger("click"); } getReg_price(); } }); } else { $("#showreg_div").addClass("hidden"); $("input[name='r1']").prop("checked", false); registration_price = 0; total(); if (discount_applied == true) { discount(); } } } function getParticipants_value() { Participants = $("#participants_id").val(); if (Participants == 1) { $('#participantswithout_fields').addClass("hidden"); } else { $('#participantswithout_fields').removeClass("hidden"); var scntDiv = $('#pn_input1'); var fields = $('#fields'); var nameDiv = $('#name_scents1'); var orgscntDiv = $('#pn_organization1'); var orgnameDiv = $('#name_organization1'); $('#pn_input1 p').remove(); $('#fields .input-group').remove(); $('#name_scents1 p').remove(); $('#pn_organization1 p').remove(); $('#name_organization1 p').remove(); var number_participants = Participants - 1; for (var i = 0; i < number_participants; i++) { $('<div class="input-group col-sm-12"><div id="name_scents1" class="control-label col-sm-4 regDetails"><p style="font-weight:bold;"><span class="control-label col-sm-12" style="display:block; position: relative; width: 100%; height:34px; margin-bottom:6%;font-size:14px !important;">Participant ' + (i + 2) + '</span></p></div><div id="pn_input1" class="col-sm-6 abformTitle"><p><input type="text" id="p_scnt" class="form-control" size="20" style="margin-bottom:10px;" name="p_scnt[]" value="" placeholder="Name" /> <br /><input type="email" id="org_name" class="form-control" size="20" style="margin-bottom:10px;" name="org_name[]" value="" placeholder="Email Id" /></p></div></div>').appendTo(fields); } } if (Participants != 3 && registration_category == "Group of 3") { $('#participantswithout_fields').addClass("hidden"); $("input[name='r1']").eq(1).prop("checked", true).trigger("click"); getReg_price(); } total(); if (discount_applied == true) { discount(); } } function getReg_price() { registration_category = $('input[type=radio][name="r1"]:checked').attr("data-value"); if (registration_category == "Group of 3") { console.log("registration_category = ", registration_category); $("#participants_id").val(3); getParticipants_value(); } $.ajax({ type: "POST", url: "env_dev.php", data: { category: registration_category, }, success: function(result) { registration_price = result; total(); if (discount_applied == true) { discount(); } } }); } function getSocial_networking_price() { No_of_Socialnetworking = $('#socialnetwork').val(); $.ajax({ type: "POST", url: "env_dev.php", data: { numberof_persons_socialnetwork: No_of_Socialnetworking, }, success: function(response) { socialnetwork = response; total(); if (discount_applied == true) { discount(); } } }); } function get_accompanying_value() { No_of_accompanying = $('#accompanying').val(); $.ajax({ type: "POST", url: "env_dev.php", data: { noof_accompanying: No_of_accompanying, }, success: function(response) { accompanying_price = response; total(); if (discount_applied == true) { discount(); } } }); } function get_accommodation_value() { accommodation_category = $('input[type=radio][name=r5]:checked').attr("data-value"); if ((accommodation_category == "Single Occupancy") || (accommodation_category == "Double Occupancy")) { $("#ead_checkbox").removeClass("hidden"); number_of_days(); } else { window.location.href = "index.php"; $("#ead_checkbox").addClass("hidden"); total(); } } function number_of_days() { if ($('#extra_accommodation').is(':checked')) { var number_of_days = parseInt($('#numberof_days :selected').text()); No_of_days = (isNaN(number_of_days)) ? 3 : number_of_days + 3; $('.show_check_in_and_check_out_div').removeClass("hidden"); if (No_of_days < 2) { $('.datesecond').css("display", "none"); } else { $('.datesecond').css("display", "block"); } } else if (accommodation_category != "") { No_of_days = 3; $('.show_check_in_and_check_out_div').removeClass("hidden"); $("#showcheckout").html("10-08-2025"); check_out_date = "10-08-2025"; $("#showcheckin").html("10-05-2025"); check_in_date = "10-05-2025"; if (No_of_days < 4) { $('.datesecond').css("display", "none"); } else { $('.datesecond').css("display", "block"); } } else { $('.show_check_in_and_check_out_div').addClass("hidden"); No_of_days = 0; total(); } $.ajax({ type: "POST", url: "env_dev.php", data: { Accommodation_type: accommodation_category, numberofdays: No_of_days }, success: function(result) { accommodation_price = result; total(); if (discount_applied == true) { discount(); } } }); } function checkincheckout() { // Define the toInputFormat function before calling it Date.prototype.toInputFormat = function() { var yyyy = this.getFullYear().toString(); var mm = (this.getMonth() + 1).toString(); // getMonth() is zero-based var dd = this.getDate().toString(); var weekday = new Array(7); weekday[0] = "Sunday"; weekday[1] = "Monday"; weekday[2] = "Tuesday"; weekday[3] = "Wednesday"; weekday[4] = "Thursday"; weekday[5] = "Friday"; weekday[6] = "Saturday"; var n = weekday[this.getDay()]; var checkoutdayname = (mm[1] ? mm : "0" + mm[0]) + "-" + (dd[1] ? dd : "0" + dd[0]) + "-" + yyyy; $("#checkoutdate").attr('data', checkoutdayname); $("#showcheckin").html(checkin_date); $("#showcheckout").html(checkoutdayname); check_out_date = checkoutdayname; total(); if (discount_applied == true) { discount(); } return (mm[1] ? mm : "0" + mm[0]) + "-" + (dd[1] ? dd : "0" + dd[0]) + "-" + yyyy; }; var checkin_date = $("#dateof_accommodation :selected").val(); check_in_date = checkin_date; if ((checkin_date == '')) { alert("Please select starting date of accommodation"); check_in_date = ""; check_out_date = ""; } else if (No_of_days == '') { alert("Please select Extra nights"); $("#dateof_accommodation").val("0"); check_in_date = ""; check_out_date = ""; $("#show_check_in_check_out").hide(); $("#checkoutdate").val("check out date"); } else { if (checkin_date != "") { var clientDate = new Date(checkin_date); var utc = clientDate.toUTCString(); var date = new Date(utc); var days = parseInt(No_of_days, 10); if (!isNaN(date.getTime())) { date.setDate(date.getDate() + days); check_out_date = date.toInputFormat() $("#show_check_in_check_out").show(); // $("#checkoutdate").val(check_out_date); } else { alert("Invalid Date"); } } else { check_out_date = ""; $("#show_check_in_check_out").hide(); $("#checkoutdate").val("check out date"); } } total(); } $(".discountcheck").click(function(e) { e.preventDefault(); discount_code = $("#discount_code").val(); if (discount_code == '') { alert("Please Enter Discount Code"); } else if (discount_applied == true) { alert("Discount Code Already Applied"); } else { discount(); } }); function discount() { discount_code = $("#discount_code").val(); var ajaxurl = "payment.php"; var dataString = 'reg_price=' + Final_Reg_price + '&accommodation_price=' + accommodation_price + '&total_price=' + total_price + '&discount_code=' + discount_code + '&accompanying_totalprice=' + accompanying_price + '&socialnetwork_price=' + socialnetwork; $.ajax({ url: ajaxurl, type: "POST", data: dataString, success: function(data) { var jsonData = JSON.parse(data); if (typeof jsonData === "object") { // Update the HTML content in the appropriate element $('#jsonpResult').html(jsonData.html); $('#discount_percentage').html(jsonData.discount_percentage + "%"); $("#showdiscountcode").html(discount_code); discount_category = jsonData.discount_category; if (jsonData.discount_category == "registration") { $(".reg_discountsec").removeClass("hidden"); $(".discountsec").removeClass("hidden"); $("#registrationdiscount").html(jsonData.discountedPrice); discountedPrice = jsonData.discountedPrice; discount_reg_price = jsonData.discount_price; discount_price = jsonData.discount_price; $("#showdiscount_price").html(jsonData.discountedPrice); } else if (jsonData.discount_category == "accommodation") { $(".acc_discountsec").removeClass("hidden"); $(".discountsec").removeClass("hidden"); discountedPrice = jsonData.discountedPrice; discount_acc_price = jsonData.discount_price; discount_price = jsonData.discount_price; $("#showdiscount_price").html(jsonData.discountedPrice); $("#accommodationdiscount").html(jsonData.discountedPrice); } else { $(".acc_discountsec").removeClass("hidden"); $(".reg_discountsec").removeClass("hidden"); $(".discountsec").removeClass("hidden"); discountedPrice = jsonData.discountedPrice; discount_acc_price = jsonData.acc_discount_price; discount_reg_price = jsonData.reg_discount_price; discount_price = jsonData.discount_price; $("#showdiscount_price").html(jsonData.discountedPrice); $("#registrationdiscount").html(jsonData.reg_discountedPrice); $("#accommodationdiscount").html(jsonData.acc_discountedPrice); } if (jsonData.html != "<h2>The code entered is not valid. Please enter a valid code.</h2>") { discount_applied = true; } else { $(".acc_discountsec").addClass("hidden"); $(".reg_discountsec").addClass("hidden"); $(".discountsec").addClass("hidden"); } total_price = jsonData.final_price; total(); } else { console.log("No HTML data received or HTML data is empty."); total(); } return false; } }); } function spn_discount() { var ajaxurl = "sponsor_discount.php"; Sponsor_price = $("#amount").val(); var dataString = 'amount=' + Sponsor_price + '&discount_code=' + Sponsor_disount_code; $.ajax({ url: ajaxurl, type: "POST", data: dataString, success: function(data) { var jsonData = JSON.parse(data); if (typeof jsonData === "object") { // Update the HTML content in the appropriate element $('#jsonpResult').html(jsonData.html); $("#amount").val(jsonData.final_price); Sponsor_disounted_price = jsonData.discountedPrice; // $("#showdiscountcode").html(discount_code); if (jsonData.html != "<h2>The code entered is not valid. Please enter a valid code.</h2>") {} total(); } else { console.log("No HTML data received or HTML data is empty."); total(); } return false; } }); } $('select[name=session]').change(function() { Sponsor_category = $(this).val(); $.ajax({ url: 'env_dev.php', type: 'POST', data: { Sponsor_category: Sponsor_category, }, success: function(response) { Sponsor_price = response; if (response == "others") { $("#amount").val(''); $('#amount').prop('readonly', false); Sponsor_others = true; if ((Sponsor_disount_applied == true) && (Sponsor_others)) { $('#jsonpResult').html(""); alert("Please enter amount"); spn_discount(); } } else { $("#amount").val(Sponsor_price); $('#amount').prop('readonly', true); if (Sponsor_disount_applied == true) { spn_discount(); } } }, error: function(xhr, status, error) { console.error("error = ", error); // Handle error response if needed } }); }); function total() { console.log("check in date ", check_in_date); console.log("check_out_date ", check_out_date); if ((Participants !== "") && (registration_price !== "") && (registration_category !== "") && (No_of_Socialnetworking !== "") && (socialnetwork !== "")) { if (registration_category == "Group of 3") { Final_Reg_price = parseInt((registration_price)); } else { Final_Reg_price = parseInt((Participants * registration_price)); } if (discount_applied == false) { total_price = parseInt(Final_Reg_price) + parseInt(socialnetwork) + parseInt(accompanying_price) + parseInt(accommodation_price); } before_discount_total = parseInt(Final_Reg_price) + parseInt(socialnetwork) + parseInt(accompanying_price) + parseInt(accommodation_price); } $("#show_registration_price").html(Final_Reg_price); $("#shownumberof_participants").html(Participants); $("#showgsocialnetworking_price").html(socialnetwork); $("#show_accompanying_price").html(accompanying_price); $(".showselected_numberofdays").html(No_of_days); $("#showaccommodation_price").html(accommodation_price); $("#showtotalprice").html(total_price); $("#displayprice").html(total_price); $("#showcheckin").html(check_in_date); $("#dateof_accommodation").val(check_in_date); $("#showcheckout").html(check_out_date); $("#checkoutdate").val(check_out_date); if (discount_code != "") { $("#show_discounts_code").show(); } else { $("#show_discounts_code").hide(); } // Registration Summary if (accompanying_price > 0) { $("#show_accompanying_tr").removeClass("hidden"); $("#no_of_accompanying").html(No_of_accompanying); } else { $("#show_accompanying_tr").addClass("hidden"); $("#no_of_accompanying").html(No_of_accompanying); } if (accommodation_price > 0) { $(".show_check_in_and_check_out_div").removeClass("hidden"); $("#accommodation_category").html(accommodation_category); $("#show_accommodation_catrgory").removeClass("hidden"); } else { $(".show_check_in_and_check_out_div").addClass("hidden"); $("#show_accommodation_catrgory").addClass("hidden"); } $("#reg_category").html(registration_category); } $("#reg_form").submit(function(e) { e.preventDefault(); // Prevent the form from submitting normally if ((accommodation_category != "") && (check_in_date == "") && (check_out_date == "")) { $("#dateof_accommodation").focus().css("border-color", "red"); alert("Please select No of Days and starting date of accommodation"); } else { other_p_scnt = $("input[name='p_scnt[]']") .map(function() { return $(this).val(); }) .get() .join(","); other_org_name = $("input[name='org_name[]']") .map(function() { return $(this).val(); }) .get() .join(","); var formDataArray = $(this).serializeArray(); // Additional values in JavaScript var additionalData = { // reg_type: "Standard Registration", participants: Participants, before_discount_reg_price: Final_Reg_price, registration_category: registration_category, before_discount_acc_price: accommodation_price, accommodation_category: accommodation_category, No_of_acc_days: No_of_days, showcheckin_date: check_in_date, showcheckout_date: check_out_date, total_price: total_price, socialnetwork_price: socialnetwork, no_of_socialnetworking: No_of_Socialnetworking, accompanying_priceonly: accompanying_price, noof_accompanying: No_of_accompanying, discount_registrationprice: discount_reg_price, discount_accom: discount_acc_price, discount_price: discount_price, discount_code: discount_code, before_discount_total: before_discount_total, discountedPrice: discountedPrice, discount_category: discount_category, p_scnt: other_p_scnt, org_name: other_org_name, }; // Merge form data and additional data var postData = formDataArray.concat($.map(additionalData, function(value, key) { return { name: key, value: value }; })); // AJAX request $.ajax({ url: 'register_payment.php', type: 'POST', data: { data: postData }, success: function(response) { window.location.href = 'register_payment.php'; // var datasuccessturn = $(response).find('#successturn').text(); // if (datasuccessturn == 1) { // window.location.href = 'register_payment.php'; // } else { // alert("Please try again after some time"); // } }, error: function(xhr, status, error) { console.error("error = ", error); // Handle error response if needed } }); } }); $("#sponsor_form").submit(function(e) { e.preventDefault(); var isValid = true; // Iterate over the form elements $(this).find(":input[required]").each(function() { if ($(this).val().trim() === "") { isValid = false; // Optionally, you can highlight the invalid field or display an error message $(this).addClass("error"); // Add a CSS class for styling } else { $(this).removeClass("error"); } }); if (isValid) { var formData = new FormData(this); // Create FormData object formData.append("spn_discount_code", Sponsor_disount_code); formData.append("spn_discounted_price", Sponsor_disounted_price); var url = 'sponsor_payment.php'; // URL to submit the form data $.ajax({ type: 'POST', url: url, data: formData, processData: false, contentType: false, success: function(response) { window.location.href = 'sponsor_payment.php'; }, error: function(xhr, status, error) {} }); } else { // Display an error message or perform other actions to indicate invalid fields alert('Please fill all required fields.'); } }); $("#reg_subscribe").submit(function(e) { e.preventDefault(); var isValid = true; // Iterate over the form elements $(this).find(":input[required]").each(function() { if ($(this).val().trim() === "") { isValid = false; // Optionally, you can highlight the invalid field or display an error message $(this).addClass("error"); // Add a CSS class for styling } else { $(this).removeClass("error"); } }); if (isValid) { // var formData = new FormData(this); // Create FormData object var formDataArray = $(this).serialize(); // formData.append("spn_discount_code", Sponsor_disount_code); // formData.append("spn_discounted_price", Sponsor_disounted_price); var url = 'subscribe_payment.php'; // URL to submit the form data $.ajax({ type: 'POST', url: 'subscribe_payment.php', data: formDataArray, success: function(response) { window.location.href = 'subscribe_payment.php'; }, error: function(xhr, status, error) {} }); } else { // Display an error message or perform other actions to indicate invalid fields alert('Please fill all required fields.'); } }); }); </script><!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="description" content="Manup Template"> <meta name="keywords" content="Manup, unica, creative, html"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Become a Sponsor | World Polymer science & Composite Meetings | Nano & polymers Conference</title> <meta name="keywords" content="Polymer science conferences 2025, Polymer science meetings, polymer science conferences, polymer science conferences 2025, polymer science Conference 2025, polymer science practice meetings, upcoming polymer science conferences" /> <meta name="description" content="Polymers-2025 Conferences invite you to take advantage of the event through a variety of sponsorship opportunities to best suit your needs and fits your budget. " /> <!-- Favicon --> <link href="images/favicon.png" rel="icon"> <!-- Google Web Fonts --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600&family=Inter:wght@700;800&display=swap" rel="stylesheet"> <!-- Icon Font Stylesheet --> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" /> <!-- Libraries Stylesheet --> <link href="lib/animate/animate.min.css" rel="stylesheet"> <link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet"> <!-- Customized Bootstrap Stylesheet --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- Template Stylesheet --> <link href="style.css" rel="stylesheet"> </head> <body> <div class="container-xxl bg-white p-0"> <!-- Spinner Start --> <div id="spinner" class="show bg-white position-fixed translate-middle w-100 vh-100 top-50 start-50 d-flex align-items-center justify-content-center"> <div class="spinner-border text-primary" style="width: 3rem; height: 3rem;" role="status"> <span class="sr-only">Loading...</span> </div> </div> <!-- Spinner End --> <style> @media (max-width: 767.98px) { .contact-info { display: none; /* Hides the entire row on mobile */ } } </style> <!-- Navbar Start --> <div class="container-fluid nav-bar bg-transparent sticky-top"> <div class="container-fluid bg-dark text-white py-2"> <div class="row contact-info"> <!-- Location --> <div class="col-md-5 d-flex justify-content-center align-items-center mb-2"> <i class="fas fa-file me-2 icon-bg-showing"></i> <span>First Round of Abstract Submission Ends: December 06, 2024</span> </div> <!-- Phone --> <div class="col-md-4 d-flex justify-content-center align-items-center mb-2"> <i class="fas fa-ticket-alt me-2 icon-bg-showing"></i> <span>Pre-Early Bird Registration Ends: November 22, 2024</span> </div> <!-- Email --> <div class="col-md-3 d-flex justify-content-center align-items-center mb-2"> <i class="fas fa-envelope me-2 icon-bg-showing"></i> <span>polymers@uniscigroup.net</span> </div> </div> <!-- Mobile Icons Only --> <!-- <div class="row d-flex d-md-none justify-content-center w-100"> <div class="col d-flex justify-content-center"> <a href="https://www.google.com/maps" class="mx-2" title="Location"> <i class="fas fa-map-marker-alt icon-bg"></i> </a> <a href="tel:+16179691000" class="mx-2" title="Phone"> <i class="fas fa-phone-alt icon-bg"></i> </a> <a href="mailto:polymers@uniscigroup.net" class="mx-2" title="Email"> <i class="fas fa-envelope icon-bg"></i> </a> <a href="https://www.facebook.com" class="mx-2" title="Facebook"> <i class="fab fa-facebook icon-bg"></i> </a> <a href="https://twitter.com" class="mx-2" title="Twitter"> <i class="fab fa-twitter icon-bg"></i> </a> </div> </div> --> </div> <nav class="navbar navbar-expand-lg bg-white navbar-light py-0 px-4"> <div class="d-flex w-100 justify-content-between align-items-center"> <!-- Logo Section --> <a class="navbar-brand d-flex align-items-center text-center" href="./"> <img src="images/logo.png" alt="Polymers-2025" class="img-fluid w-75"> </a> <!-- Navbar Toggler Button for Mobile --> <button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarCollapse"> <span class="navbar-toggler-icon"></span> </button> </div> <!-- Collapsed Menu Items --> <div class="collapse navbar-collapse" id="navbarCollapse"> <div class="navbar-nav ms-auto"> <a href="./" class="nav-item nav-link active">Home</a> <div class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">About</a> <div class="dropdown-menu rounded-0 m-0"> <a href="conference-info" class="dropdown-item">About Us</a> <a href="visa-information" class="dropdown-item">Visa Information</a> </div> </div> <div class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">Board</a> <div class="dropdown-menu rounded-0 m-0"> <a href="board" class="dropdown-item">Board</a> <a href="#gallery" class="dropdown-item">Past Gallery</a> <a href="index#past-events" class="dropdown-item">Past Events</a> </div> </div> <a href="dates-to-note" class="nav-item nav-link">Dates</a> <a href="experts" class="nav-item nav-link">EXPERTS</a> <div class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">Abstracts</a> <div class="dropdown-menu rounded-0 m-0"> <a href="abstract_submission" class="dropdown-item">Abstract Submission</a> <a href="review-process" class="dropdown-item">Review Process</a> <a href="speaker-guidelines" class="dropdown-item">Speaker Guidelines</a> <a href="poster-guidelines" class="dropdown-item">Poster Guidelines</a> </div> </div> <div class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">Sponsor</a> <div class="dropdown-menu rounded-0 m-0"> <a href="become_a_sponsor" class="dropdown-item">Become a Sponsor</a> <a href="exhibition" class="dropdown-item">Exhibition</a> </div> </div> <a href="accommodation" class="nav-item nav-link">Venue</a> </div> <a href="registration_form" class="btn btn-primary px-3 d-none d-lg-flex text-dark">Register</a> </div> </nav> </div> <!-- Navbar End --><style> select, input { width: 100% !important; } </style> <div class="container-fluid p-0"> <div class="row g-0"> <div class="col-md-12 subheader" id="subheader"> <div class="bg-gradient"> <div class="d-flex align-items-center justify-content-center h-100"> <div class="down-innerpage text-center text-white p-4"> <h1 class="display-5 animated fadeIn mb-4 text-primary">Become a Sponsor</h1> <nav aria-label="breadcrumb" class="animated fadeIn"> <ol class="breadcrumb text-uppercase justify-content-center"> <li class="breadcrumb-item"><a href="./" class="text-white">Home</a></li> <li class="breadcrumb-item text-body active text-secondary" aria-current="page">Become a Sponsor</li> </ol> </nav> </div> </div> </div> </div> </div> </div> <div class="container my-5"> <div class="row bg-white text-dark text-justify"> <div class="col-lg-12 mb-4"> <h2 class="mb-4 position-relative heading-animation display-5 text-dark">Become a Sponsor</h2> <p class="text-big font-accent text-spacing-40"></p> <div class="col-md-12 col-lg-12"> <h4>Download the <span class="form"><a href="pdfs/SponsorShip-Guide-Polymers-2025.pdf" target="_blank" title="Click here for Sponsorship Guide" style="color:#ff6600;">Sponsorship Guide</a></span></h4><br /> <div><small><strong>Note:</strong> <span style="color:#ff0000;">All Fields are mandatory</span></small></div> <form class="row g-3 mt-3 needs-validation" method="post" novalidate id="sponsor_form"> <div class="col-md-6"> <label class="form-label mt-2">Title</label> <select class="form-select form-control" name="title" required> <option value="Dr.">Dr.</option> <option value="Mr.">Mr.</option> <option value="Mrs.">Mrs.</option> <option value="Ms.">Ms.</option> </select> </div> <div class="col-md-6"> <label class="form-label mt-2">Name</label> <input type="text" class="form-control" placeholder="Enter your name" name="name" required> </div> <div class="col-md-6"> <label class="form-label mt-2">Email</label> <input type="email" class="form-control" placeholder="Enter your email" name="email" required> </div> <div class="col-md-6"> <label class="form-label mt-2">Organization</label> <input type="text" class="form-control" placeholder="Enter your organization" name="organization" required> </div> <div class="col-md-6"> <label class="form-label mt-2">Telephone</label> <input type="text" class="form-control" placeholder="Enter your telephone" name="telephone" required> </div> <div class="col-md-6" style="display: none;"> <label class="form-label mt-2">Subject</label> <input type="text" class="form-control" placeholder="Enter your subject" name="subject"> </div> <div class="col-md-6"> <label class="form-label mt-2">City</label> <input type="text" class="form-control" placeholder="Enter your city" name="city" required> </div> <div class="col-md-12"> <label for="inputState" class="form-label mt-2">Country</label> <select class="form-select form-control" name="country" data-country="US"> <option value="Select Any" selected="selected">Select country</option> <option value="United States">United States</option> <option value="United Kingdom">United Kingdom</option> <option value="Afghanistan">Afghanistan</option> <option value="Albania">Albania</option> <option value="Algeria">Algeria</option> <option value="American Samoa">American Samoa</option> <option value="Andorra">Andorra</option> <option value="Angola">Angola</option> <option value="Anguilla">Anguilla</option> <option value="Antarctica">Antarctica</option> <option value="Antigua and Barbuda">Antigua and Barbuda</option> <option value="Argentina">Argentina</option> <option value="Armenia">Armenia</option> <option value="Aruba">Aruba</option> <option value="Australia">Australia</option> <option value="Austria">Austria</option> <option value="Azerbaijan">Azerbaijan</option> <option value="Bahamas">Bahamas</option> <option value="Bahrain">Bahrain</option> <option value="Bangladesh">Bangladesh</option> <option value="Barbados">Barbados</option> <option value="Belarus">Belarus</option> <option value="Belgium">Belgium</option> <option value="Belize">Belize</option> <option value="Benin">Benin</option> <option value="Bermuda">Bermuda</option> <option value="Bhutan">Bhutan</option> <option value="Bolivia">Bolivia</option> <option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option> <option value="Botswana">Botswana</option> <option value="Bouvet Island">Bouvet Island</option> <option value="Brazil">Brazil</option> <option value="British Indian Ocean Territory">British Indian Ocean Territory</option> <option value="Brunei Darussalam">Brunei Darussalam</option> <option value="Bulgaria">Bulgaria</option> <option value="Burkina Faso">Burkina Faso</option> <option value="Burundi">Burundi</option> <option value="Cambodia">Cambodia</option> <option value="Cameroon">Cameroon</option> <option value="Canada">Canada</option> <option value="Canadian Nunavut Territory">Canadian Nunavut Territory</option> <option value="Cape Verde">Cape Verde</option> <option value="Cayman Islands">Cayman Islands</option> <option value="Central African Republic">Central African Republic</option> <option value="Chad">Chad</option> <option value="Chile">Chile</option> <option value="China">China</option> <option value="Christmas Island">Christmas Island</option> <option value="Cocos (Keeling Islands)">Cocos (Keeling Islands)</option> <option value="Colombia">Colombia</option> <option value="Comoros">Comoros</option> <option value="Congo">Congo</option> <option value="Cook Islands">Cook Islands</option> <option value="Costa Rica">Costa Rica</option> <option value="Cote D'Ivoire (Ivory Coast)">Cote D'Ivoire (Ivory Coast)</option> <option value="Croatia (Hrvatska)">Croatia (Hrvatska)</option> <option value="Cuba">Cuba</option> <option value="Cyprus">Cyprus</option> <option value="Czech Republic">Czech Republic</option> <option value="Denmark">Denmark</option> <option value="Djibouti">Djibouti</option> <option value="Dominica">Dominica</option> <option value="Dominican Republic">Dominican Republic</option> <option value="East Timor">East Timor</option> <option value="Ecuador">Ecuador</option> <option value="Egypt">Egypt</option> <option value="El Salvador">El Salvador</option> <option value="Equatorial Guinea">Equatorial Guinea</option> <option value="Eritrea">Eritrea</option> <option value="Estonia">Estonia</option> <option value="Ethiopia">Ethiopia</option> <option value="Falkland Islands (Malvinas)">Falkland Islands (Malvinas)</option> <option value="Faroe Islands">Faroe Islands</option> <option value="Fiji">Fiji</option> <option value="Finland">Finland</option> <option value="France">France</option> <option value="France, Metropolitan">France, Metropolitan</option> <option value="French Guiana">French Guiana</option> <option value="French Polynesia">French Polynesia</option> <option value="French Southern Territories">French Southern Territories</option> <option value="Gabon">Gabon</option> <option value="Gambia">Gambia</option> <option value="Georgia">Georgia</option> <option value="Germany">Germany</option> <option value="Ghana">Ghana</option> <option value="Gibraltar">Gibraltar</option> <option value="Greece">Greece</option> <option value="Greenland">Greenland</option> <option value="Grenada">Grenada</option> <option value="Guadeloupe">Guadeloupe</option> <option value="Guam">Guam</option> <option value="Guatemala">Guatemala</option> <option value="Guinea">Guinea</option> <option value="Guinea-Bissau">Guinea-Bissau</option> <option value="Guyana">Guyana</option> <option value="Haiti">Haiti</option> <option value="Heard and McDonald Islands">Heard and McDonald Islands</option> <option value="Honduras">Honduras</option> <option value="Hong Kong">Hong Kong</option> <option value="Hungary">Hungary</option> <option value="Iceland">Iceland</option> <option value="India">India</option> <option value="Indonesia">Indonesia</option> <option value="Iran">Iran</option> <option value="Iraq">Iraq</option> <option value="Ireland">Ireland</option> <option value="Israel">Israel</option> <option value="Italy">Italy</option> <option value="Jamaica">Jamaica</option> <option value="Japan">Japan</option> <option value="Jordan">Jordan</option> <option value="Kazakhstan">Kazakhstan</option> <option value="Kenya">Kenya</option> <option value="Kiribati">Kiribati</option> <option value="Korea (North)">Korea (North)</option> <option value="Korea (South)">Korea (South)</option> <option value="Kuwait">Kuwait</option> <option value="Kyrgyzstan">Kyrgyzstan</option> <option value="Laos">Laos</option> <option value="Latvia">Latvia</option> <option value="Lebanon">Lebanon</option> <option value="Lesotho">Lesotho</option> <option value="Liberia">Liberia</option> <option value="Libya">Libya</option> <option value="Liechtenstein">Liechtenstein</option> <option value="Lithuania">Lithuania</option> <option value="Luxembourg">Luxembourg</option> <option value="Macau">Macau</option> <option value="Macedonia">Macedonia</option> <option value="Madagascar">Madagascar</option> <option value="Malawi">Malawi</option> <option value="Malaysia">Malaysia</option> <option value="Maldives">Maldives</option> <option value="Mali">Mali</option> <option value="Malta<">Malta</option> <option value="Marshall Islands">Marshall Islands</option> <option value="Martinique">Martinique</option> <option value="Mauritania">Mauritania</option> <option value="Mauritius">Mauritius</option> <option value="Mayotte">Mayotte</option> <option value="Mexico">Mexico</option> <option value="Micronesia">Micronesia</option> <option value="Moldova">Moldova</option> <option value="Monaco">Monaco</option> <option value="Mongolia">Mongolia</option> <option value="Montserrat">Montserrat</option> <option value="Morocco">Morocco</option> <option value="Mozambique">Mozambique</option> <option value="Myanmar">Myanmar</option> <option value="Namibia">Namibia</option> <option value="Nauru">Nauru</option> <option value="Nepal">Nepal</option> <option value="Netherlands">Netherlands</option> <option value="Netherlands Antilles">Netherlands Antilles</option> <option value="New Caledonia">New Caledonia</option> <option value="New Zealand">New Zealand</option> <option value="Nicaragua">Nicaragua</option> <option value="Niger">Niger</option> <option value="Nigeria">Nigeria</option> <option value="Niue">Niue</option> <option value="Norfolk Island">Norfolk Island</option> <option value="Northern Mariana Islands">Northern Mariana Islands</option> <option value="Norway">Norway</option> <option value="Oman">Oman</option> <option value="Pakistan">Pakistan</option> <option value="Palau">Palau</option> <option value="Panama">Panama</option> <option value="Papua New Guinea">Papua New Guinea</option> <option value="Paraguay">Paraguay</option> <option value="Peru">Peru</option> <option value="Philippines">Philippines</option> <option value="Pitcairn">Pitcairn</option> <option value="Poland">Poland</option> <option value="Portugal">Portugal</option> <option value="Qatar">Qatar</option> <option value="Reunion">Reunion</option> <option value="Romania">Romania</option> <option value="Russian Federation">Russian Federation</option> <option value="Rwanda">Rwanda</option> <option value="S. Georgia and S. Sandwich Isls.">S. Georgia and S. Sandwich Isls.</option> <option value="Saint Kitts and Nevis">Saint Kitts and Nevis</option> <option value="Saint Lucia">Saint Lucia</option> <option value="Saint Vincent and The Grenadines">Saint Vincent and The Grenadines</option> <option value="Samoa">Samoa</option> <option value="San Marino">San Marino</option> <option value="Sao Tome and Principe">Sao Tome and Principe</option> <option value="Saudi Arabia">Saudi Arabia</option> <option value="Senegal">Senegal</option> <option value="Seychelles">Seychelles</option> <option value="Sierra Leone">Sierra Leone</option> <option value="Singapore">Singapore</option> <option value="Slovak Republic">Slovak Republic</option> <option value="Slovenia">Slovenia</option> <option value="Solomon Islands">Solomon Islands</option> <option value="Somalia">Somalia</option> <option value="South Africa">South Africa</option> <option value="Spain">Spain</option> <option value="Sri Lanka">Sri Lanka</option> <option value="St. Helena">St. Helena</option> <option value="St. Pierre and Miquelon">St. Pierre and Miquelon</option> <option value="Sudan">Sudan</option> <option value="Suriname">Suriname</option> <option value="Svalbard and Jan Mayen Islands">Svalbard and Jan Mayen Islands</option> <option value="Swaziland">Swaziland</option> <option value="Sweden">Sweden</option> <option value="Switzerland">Switzerland</option> <option value="Syria">Syria</option> <option value="Taiwan">Taiwan</option> <option value="Tajikistan">Tajikistan</option> <option value="Tanzania">Tanzania</option> <option value="Thailand">Thailand</option> <option value="Togo">Togo</option> <option value="Tokelau">Tokelau</option> <option value="Tonga">Tonga</option> <option value="Trinidad and Tobago">Trinidad and Tobago</option> <option value="Tunisia">Tunisia</option> <option value="Turkey">Turkey</option> <option value="Turkmenistan">Turkmenistan</option> <option value="Turks and Caicos Islands">Turks and Caicos Islands</option> <option value="Tuvalu">Tuvalu</option> <option value="US Minor Outlying Islands">US Minor Outlying Islands</option> <option value="Uganda">Uganda</option> <option value="Ukraine">Ukraine</option> <option value="United Arab Emirates">United Arab Emirates</option> <option value="United Kingdom">United Kingdom</option> <option value="United States">United States</option> <option value="Uruguay">Uruguay</option> <option value="Uzbekistan">Uzbekistan</option> <option value="Vanuatu">Vanuatu</option> <option value="Vatican City State (Holy See)">Vatican City State (Holy See)</option> <option value="Venezuela">Venezuela</option> <option value="Viet Nam">Viet Nam</option> <option value="Virgin Islands (British)">Virgin Islands (British)</option> <option value="Wallis and Futuna Islands">Wallis and Futuna Islands</option> <option value="Western Sahara">Western Sahara</option> <option value="Yemen">Yemen</option> <option value="Yugoslavia">Yugoslavia</option> <option value="Zaire">Zaire</option> <option value="Zambia">Zambia</option> <option value="Zimbabwe">Zimbabwe</option> </select> </div> <!-- <div class="col-md-4"> <label for="inputZip" class="form-label mt-2">Website URL</label> <input type="text" class="form-control" id="inputZip" placeholder="Enter your website URL" name="website_url"> </div> <div class="col-md-4"> <label for="inputZip" class="form-label mt-2">Product Details</label> <textarea class="form-control" id="inputZip" placeholder="Enter your product details" rows="1" name="product_details"></textarea> </div> --> <div class="col-md-12"> <label for="inputState" class="form-label mt-2">Sponsorship Category</label> <select id="session" name="session" class="form-select form-control" required> <option selected>Select</option> <option value="Platinum">Platinum </option> <option value="Gold">Gold</option> <option value="Silver">Silver</option> <option value="Bronze">Bronze</option> <option value="Exhibitor">Exhibitor</option> <option value="Supporting">Supporting</option> <option value="Others">Others</option> </select> </div> <div class="col-md-12"> <label for="inputAddress2" class="form-label mt-2">Amount</label> <input type="text" class="form-control" id="amount" name="amount" placeholder="Enter your amount" required> </div> <div class="col-md-12"> <label for="inputAddress2" class="form-label mt-2">Upload Your Logo <span class="text-danger">[ .jpg, .gif, .png ]</span></label> <input type="file" class="form-control" id="logo_path" name="logo_path" required> </div> <div class="col-md-12 my-3"> <div class="form-check" id="form-check"> <input class="form-check-input" type="checkbox" data-toggle="collapse" href="#collapseExample" style="width: 1rem !important;"> <label class="form-check-label"> Have a promo code </label> </div> <div class="collapse my-3" id="collapseExample"> <div class="col-md-12 d-flex"> <div class="input-group mb-3"> <input type="text" class="form-control" id="spn_discount_code" name="spn_discount_code" placeholder="Enter discount code" value=""> <span class="btn btn-success mt-3" id="spn_submit">Apply</span> </div> </div> </div> <h2 id="jsonpResult"></h2> </div> <div class="col-12"> <button type="submit" class="btn text-white bg-primary">Submit</button> <button type="reset" class="btn text-white bg-danger">Reset</button> </div> </form> </div> </div><!-- Col end --> </div><!-- Content row end --> </div><!-- Container end --> <!-- Footer Start --> <div class="container-fluid bg-dark text-white footer pt-5 mt-2 wow fadeIn" data-wow-delay="0.1s"> <div class="container py-3"> <div class="row g-5"> <div class="col-lg-3 col-md-6"> <h5 class="text-white mb-4">USG Info</h5> <p class="mb-2"><i class="fa fa-map-marker-alt me-2"></i>USG United Scientific Group, A non-profit organization, 8105, Suite 112, Rasor Blvd, Plano, TX 75024, USA</p> <p class="mb-2"><i class="fa fa-phone-alt me-2"></i>+1-469-854-2280/81</p> <p class="mb-2"> <i class="fa fa-envelope me-2"></i> <a href="mailto:polymers@uniscigroup.net">polymers@uniscigroup.net</a> </p> <!-- <div class="d-flex pt-2"> <a class="btn btn-outline-light btn-social me-2" href=""><i class="fab fa-twitter"></i></a> <a class="btn btn-outline-light btn-social me-2" href=""><i class="fab fa-facebook-f"></i></a> <a class="btn btn-outline-light btn-social me-2" href=""><i class="fab fa-youtube"></i></a> <a class="btn btn-outline-light btn-social" href=""><i class="fab fa-linkedin-in"></i></a> </div> --> </div> <div class="col-lg-3 col-md-6"> <h5 class="text-white mb-4">Quick Links</h5> <a class="btn btn-link text-white-50" href="./">Home</a> <a class="btn btn-link text-white-50" href="dates-to-note">Dates to Note</a> <a class="btn btn-link text-white-50" href="abstract_submission">Abstract Submission</a> <a class="btn btn-link text-white-50" href="registration_form">Register</a> <a class="btn btn-link text-white-50" href="contact-us">Contact us</a> <a class="btn btn-link text-white-50" href="become_a_sponsor">Sponsor</a> </div> <div class="col-lg-3 col-md-6"> <div id="gallery"></div> <h5 class="text-white mb-4">Polymers Gallery</h5> <div class="row g-2 pt-2"> <!-- Thumbnail Images --> <div class="col-4"> <a href="https://polymers.unitedscientificgroup.org/gallery" class="gallery-popup"> <img class="img-fluid rounded bg-light p-1" src="images/thumb/1.jpg" alt="Gallery Image 1"> </a> </div> <div class="col-4"> <a href="https://polymers.unitedscientificgroup.org/gallery" class="gallery-popup"> <img class="img-fluid rounded bg-light p-1" src="images/thumb/2.jpg" alt="Gallery Image 2"> </a> </div> <div class="col-4"> <a href="https://polymers.unitedscientificgroup.org/gallery" class="gallery-popup"> <img class="img-fluid rounded bg-light p-1" src="images/thumb/3.jpg" alt="Gallery Image 3"> </a> </div> <div class="col-4"> <a href="https://polymers.unitedscientificgroup.org/gallery" class="gallery-popup"> <img class="img-fluid rounded bg-light p-1" src="images/thumb/4.jpg" alt="Gallery Image 4"> </a> </div> <div class="col-4"> <a href="https://polymers.unitedscientificgroup.org/gallery" class="gallery-popup"> <img class="img-fluid rounded bg-light p-1" src="images/thumb/5.jpg" alt="Gallery Image 5"> </a> </div> <div class="col-4"> <a href="https://polymers.unitedscientificgroup.org/gallery" class="gallery-popup"> <img class="img-fluid rounded bg-light p-1" src="images/thumb/6.jpg" alt="Gallery Image 6"> </a> </div> </div> <!-- "View More" Button --> <div class="text-center mt-3"> <a href="gallery" class="btn btn-outline-primary btn-sm">View More</a> </div> </div> <div class="col-lg-3 col-md-6"> <h5 class="text-white mb-4">Contact Us</h5> <div id="enqmsg" class="text-primary"></div> <div class="position-relative mx-auto" style="max-width: 400px;"> <form id="enqform" name="enqform" method="post" class="enquiryform"> <input class="form-control bg-transparent mb-2 w-100 py-3 ps-4 pe-5 border border-white" type="text" name="enqname" id="enqname" placeholder="Your Name" aria-label="Your Name" required> <input class="form-control bg-transparent mb-2 w-100 py-3 ps-4 pe-5 border border-white" type="email" placeholder="Your Email" name="email" id="enqemail" aria-label="Your Email" required> <div class="d-flex justify-content-start"> <button onclick="return enquiry();" type="submit" class="btn btn-primary py-2 px-2 w-50 mt-2"> Submit </button> </div> </form> </div> </div> </div> </div> <div class="container"> <div class="copyright"> <div class="row"> <div class="col-md-6 text-center text-md-start mb-3 mb-md-0"> <div class="text-white">Powered by USG 漏 <script> document.write(new Date().getFullYear()) </script> <strong> <span class="heading-home">Polymers. All Rights Reserved</span></strong>. </div> </div> <div class="col-md-6 text-center text-md-end"> <div class="footer-menu"> <a href="https://www.unitedscientificgroup.com/privacy-policy" class="text-white">Privacy Policy</a> <a href="https://unitedscientificgroup.org/conferences-terms-and-conditions" class="text-white" target="_blank">Terms &amp; Conditions</a> </div> </div> </div> </div> </div> </div> <!-- Footer End --> <!-- Back to Top --> <a href="./" class="btn-lg btn-primary btn-lg-square back-to-top"><i class="bi bi-arrow-up"></i></a> </div> <!-- JavaScript Libraries --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js"></script> <script src="lib/wow/wow.min.js"></script> <script src="lib/easing/easing.min.js"></script> <script src="lib/waypoints/waypoints.min.js"></script> <script src="lib/owlcarousel/owl.carousel.min.js"></script> <!-- Template Javascript --> <script src="js/main.js"></script> <!--Start of Tawk.to Script--> <script type="text/javascript"> var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date(); (function() { var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0]; s1.async = true; s1.src = 'https://embed.tawk.to/6729c1754304e3196add3da9/1ibthnd0d'; s1.charset = 'UTF-8'; s1.setAttribute('crossorigin', '*'); s0.parentNode.insertBefore(s1, s0); })(); </script> <!--End of Tawk.to Script--> <script> function enquiry() { event.preventDefault(); var name = document.enqform.enqname.value; var email = document.enqform.enqemail.value; if (document.enqform.enqname.value == "") { alert("Please enter your Name"); document.enqform.enqname.focus(); return false; } if (document.enqform.enqemail.value == "") { alert("Please enter your Email"); document.enqform.enqemail.focus(); return false; } var id = document.enqform.enqemail.value; //The regular expression for a valid e-mail address var re = /^.+\@.+\..{2,4}$/gi; if (!id.match(re)) { //If it is NOT a match //flag++; //errors = errors + "Invalid E-Mail\n"; alert("Not a valid e-mail address"); document.enqform.enqemail.focus(); return false; } if (window.XMLHttpRequest) // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); else // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) document.getElementById("enqmsg").innerHTML = xmlhttp.responseText; } xmlhttp.open("GET", "enqMessage.php?q=" + email + "&n=" + name, true); xmlhttp.send(); document.enqform.reset(); return false; } $(document).ready(function() { $("#contactForm").submit(function(e) { e.preventDefault(); var isValid = true; // Iterate over the form elements $(this).find(":input[required]").each(function() { if ($(this).val().trim() === "") { isValid = false; // Optionally, you can highlight the invalid field or display an error message $(this).addClass("error"); // Add a CSS class for styling } else { $(this).removeClass("error"); } }); if (isValid) { var formDataArray = $(this).serialize(); var url = 'contact_process.php'; // URL to submit the form data $.ajax({ type: 'POST', url: url, data: formDataArray, success: function(response) { if (response == "success") { formSuccess(); $("#contactForm")[0].reset(); return false; } else { formError(); submitMSG(false, response); } }, error: function(xhr, status, error) {} }); } else { // Display an error message or perform other actions to indicate invalid fields alert('Please fill all required fields.'); return false; } }); function formSuccess() { $("#msgSubmit").removeClass("hidden"); } function formError() { $("#contactForm").removeClass("hidden").addClass('shake animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() { $("#msgSubmit").removeClass("hidden"); }); } function submitMSG(valid, msg) { var msgClasses; if (valid) { msgClasses = "h3 text-center tada animated text-success"; } else { msgClasses = "h3 text-center text-danger"; } $("#msgSubmit").removeClass().addClass(msgClasses).text(msg); } $("#brochure_modalform").on("submit", function(event) { event.preventDefault(); var name = $("#brochure_name").val(); var emailid = $("#brochure_emailid").val(); var phone = $("#brochure_phone").val(); var country = $("#brochure_country").val(); $.ajax({ url: "ajax_forms.php", type: "post", data: { name: name, emailid: emailid, phone: phone, country: country }, success: function(data) { $('#brochure_modalform').trigger('reset'); var downloadfile = $("#brochure_download").attr('href'); $(".close").trigger("click"); alert(data); window.open(downloadfile, '_parent'); } }); return false; }); }); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10