CINXE.COM
Become a Sponsor | Carbon and its Applications Conference | Experimental Particle Carbon Meeting | Carbon - 2025
<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 discount_percentage = ""; 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 sponsorship_price; var spn_status; var interest = ""; var poster_price = 0; 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() { var changebtnval = $('input[type=radio][name="r1"]:checked').attr('data-value'); if (changebtnval == 'Student') { $("#notification").css("display", "block"); } else { $("#notification").css("display", "none"); } 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_submit").click(function() { Sponsor_disount_code = $("#spn_discount_code").val(); // console.log("Sponsor_disount_code = ", Sponsor_disount_code); 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 get_otherParticipantdetails() { other_p_scnt = $("#p_scnt").val(); other_org_name = $("#org_name").val(); } function getParticipants_value() { Participants = $("#participants_id").val(); if (Participants == 1) { $('#participantswithout_fields').css("display", "none"); } else { $('#participantswithout_fields').css("display", "block"); 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-2 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); } } total(); if (discount_applied == true) { discount(); } } function getReg_price() { registration_category = $('input[type=radio][name="r1"]:checked').attr("data-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-15-2025"); check_out_date = "10-15-2025"; $("#showcheckin").html("10-12-2025"); check_in_date = "10-12-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); // check_in_date = checkin_date; $("#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 No of nights"); $("#dateof_accommodation").val(0); $("#numberof_days").focus(); check_in_date = ""; check_out_date = ""; $("#show_check_in_check_out").hide(); $("#checkoutdate").val("check out date"); } else { if (checkin_date != "0") { 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 = ""; check_in_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 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" /> <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 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); $("#showdiscountcode").html(discount_code); discount_category = jsonData.discount_category; discount_percentage = jsonData.discount_percentage; $("#discount_percentage").html(discount_percentage + "%"); 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; } 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) { try { var jsonData = JSON.parse(data); // console.log("data = ", 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(); } } catch (e) { console.error("Parsing error:", e); console.error("Response data:", data); } return false; }, error: function(xhr, status, error) { console.error("AJAX error:", status, error); } }); } $('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() { if ((Participants !== "") && (registration_price !== "") && (registration_category !== "") && (No_of_Socialnetworking !== "") && (socialnetwork !== "")) { 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); $("#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); if (socialnetwork > 0) { $("#show_no_of_social_networkings").html(No_of_Socialnetworking); $("#show_social_networking_price").html(socialnetwork); } } $("#reg_form").submit(function(e) { e.preventDefault(); 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(); var additionalData = { 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, }; var postData = formDataArray.concat($.map(additionalData, function(value, key) { return { name: key, value: value }; })); $.ajax({ url: 'register_payment.php', type: 'POST', data: { data: postData }, success: function(response) { window.location.href = "register_payment.php" }, error: function(xhr, status, error) { console.error("error = ", error); } }); } }); $("#sponsor_form").submit(function(e) { e.preventDefault(); var isValid = true; $(this).find(":input[required]").each(function() { if ($(this).val().trim() === "") { isValid = false; $(this).addClass("error"); } else { $(this).removeClass("error"); } }); if (isValid) { var formData = new FormData(this); formData.append("spn_discount_code", Sponsor_disount_code); formData.append("spn_discounted_price", Sponsor_disounted_price); formData.append("sponsorship_price", Sponsor_price); var url = 'sponsor_payment.php'; $.ajax({ type: 'POST', url: url, data: formData, processData: false, contentType: false, success: function(response) { // console.log("response =", response); window.location.href = "sponsor_payment.php" }, error: function(xhr, status, error) {} }); } else { alert('Please fill all required fields.'); } }); $("#reg_subscribe").submit(function(e) { e.preventDefault(); var isValid = true; $(this).find(":input[required]").each(function() { if ($(this).val().trim() === "") { isValid = false; $(this).addClass("error"); } else { $(this).removeClass("error"); } }); if (isValid) { var formDataArray = $(this).serialize(); var url = 'subscribe_payment.php'; $.ajax({ type: 'POST', url: 'subscribe_payment.php', data: formDataArray, success: function(response) { window.location.href = 'subscribe_payment.php'; }, error: function(xhr, status, error) {} }); } else { alert('Please fill all required fields.'); } }); }); </script><!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Become a Sponsor | Carbon and its Applications Conference | Experimental Particle Carbon Meeting | Carbon - 2025</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <!-- Stylesheets --> <link href="assets/css/bootstrap.css" rel="stylesheet"> <link href="assets/css/style.css" rel="stylesheet"> <link href="assets/css/responsive.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap" rel="stylesheet"> <!-- Color Switcher Mockup --> <link href="assets/css/color-switcher-design.css" rel="stylesheet"> <link rel="shortcut icon" href="assets/images/favicon.png" type="image/x-icon"> <link rel="icon" href="assets/images/favicon.png" type="image/x-icon"> <!-- Responsive --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script><![endif]--> <!--[if lt IE 9]><script src="js/respond.js"></script><![endif]--> </head> <body class="hidden-bar-wrapper"> <div class="page-wrapper"> <!-- Header Style One --> <header class="main-header"> <!-- Header Upper --> <div class="header-upper"> <div class="auto-container"> <div class="d-flex justify-content-between align-items-center flex-wrap"> <div class="logo-box"> <div class="logo"><a href="./"><img src="images/logo-header.png" alt=""></a></div> </div> <div class="nav-outer"> <!-- Main Menu --> <nav class="main-menu navbar-expand-md"> <div class="navbar-header"> <!-- Toggle Button --> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="navbar-collapse collapse clearfix" id="navbarSupportedContent"> <ul class="navigation clearfix"> <li class="nav-item"><a href="./" class="nav-link">Home</a></li> <li class="dropdown"><a href="#">About</a> <ul> <li><a href="conference-info">Conference Info</a></li> <li><a href="visa-information">Visa Information</a></li> <li><a href="contact-us">Contact Us</a></li> <li><a href="gallery-2024">Past Gallery</a></li> </ul> </li> <li class="nav-item"><a href="dates-to-note" class="nav-link">Dates</a></li> <li class="dropdown"><a href="#">Experts</a> <ul> <li><a href="experts">Experts</a></li> </ul> </li> <li class="dropdown"><a href="#">Abstract</a> <ul> <li><a href="abstract_submission">Abstract Submission</a></li> <li><a href="speaker-guidelines">Speaker Guidelines</a></li> <li><a href="poster-guidelines">Poster Guidelines</a></li> <li><a href="review-process">Review Process</a></li> </ul> </li> <li class="dropdown"><a href="#">Sponsor</a> <ul> <li><a href="become_a_sponsor">Become A Sponsor</a></li> <li><a href="exhibition">Exhibition</a></li> </ul> </li> <!-- <li class="dropdown"><a href="#">Venue</a> <ul> <li><a href="accommodation">accommodation</a></li> </ul> </li> --> </ul> </div> </nav> </div> <!-- Main Menu End--> <div class="outer-box d-flex align-items-center flex-wrap"> <div class="appointmeny_button-box"> <a href="registration_form" class="theme-btn btn-style-three"> <span class="btn-wrap"> <span class="text-one">Register</span> <span class="text-two">Register</span> </span> </a> </div> <!-- Mobile Navigation Toggler --> <div class="mobile-nav-toggler"><span class="icon flaticon-menu"></span></div> </div> </div> </div> </div> <!--End Header Upper--> <!-- Sticky Header --> <div class="sticky-header"> <div class="auto-container"> <div class="inner-container d-flex justify-content-between align-items-center flex-wrap"> <!-- Logo --> <div class="logo"> <a href="./" title=""><img src="images/logo-small.png" alt="" title=""></a> </div> <!-- Right Box --> <div class="right-box"> <!-- Main Menu --> <nav class="main-menu"> <!--Keep This Empty / Menu will come through Javascript--> </nav> <!-- Main Menu End--> </div> <!-- Main Menu End--> <div class="outer-box d-flex align-items-center flex-wrap"> <div class="appointmeny_button-box"> <a href="registration_form" class="theme-btn btn-style-one"> <span class="btn-wrap"> <span class="text-one">Register</span> <span class="text-two">Register</span> </span> </a> </div> <!-- Mobile Navigation Toggler --> <div class="mobile-nav-toggler"><span class="icon flaticon-menu"></span></div> </div> </div> </div><!-- End Sticky Menu --> </div> <!-- Mobile Menu --> <div class="mobile-menu"> <div class="menu-backdrop"></div> <div class="close-btn"><span class="icon flaticon-cancel-1"></span></div> <nav class="menu-box"> <div class="nav-logo"><a href="./"><img src="images/logo-small.png" alt="" title=""></a></div> <div class="menu-outer"> </div> <div class="appointmeny_button-box"> <a href="registration_form" class="theme-btn btn-style-one"> <span class="btn-wrap"> <span class="text-one">Register</span> <span class="text-two">Register</span> </span> </a> </div> </nav> </div> </header> <style> select, input { width: 100% !important; } </style> <section class="page-title"> <div class="auto-container"> <div class="d-flex justify-content-between align-items-center flex-wrap"> <h2 class="page-title_heading">Become a Sponsor</h2> <ul class="bread-crumb clearfix"> <li><a href="./">Home</a></li> <li>Become a Sponsor</li> </ul> </div> </div> </section> <div class="container my-5"> <div class="row bg-white text-dark text-justify"> <div class="col-lg-12 mb-4"> <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="#" 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="theme-btn btn-style-two">Submit</button> <button type="reset" class="theme-btn btn-style-one">Reset</button> </div> </form> </div> </div><!-- Col end --> </div><!-- Content row end --> </div><!-- Container end --> <section class="subscribe-two"> <div class="auto-container"> <div class="inner-container"> <div class="row clearfix"> <div class="subscribe-two_title-column col-lg-4 col-md-12 col-sm-12"> <h3 class="subscribe-two_heading">Get Subscribe Today!</h3> </div> <!-- Form Column --> <div class="form-column col-lg-8 col-md-12 col-sm-12"> <!-- Subscribe Box --> <div class="subscribe-box style-two"> <div id="enqmsg" class="text-dark"></div> <form id="enqform" name="enqform" method="post" class="enquiryform"> <div class="form-group mb-2"> <input type="text" name="enqname" id="enqname" class="form-control" placeholder="Your Name..." required> </div> <div class="form-group"> <input type="email" name="email" id="enqemail" class="form-control" placeholder="Your Email Address..." required> </div> <button onclick="return enquiry();" type="submit" class="theme-btn btn-style-two mt-2">Subscribe</button> </div> </form> </div> </div> </div> </div> </div> </section> <!--Main Footer--> <footer class="footer-two"> <div class="footer-two_icon-one" style="background-image:url(assets/images/icons/icon-5.png)"></div> <div class="footer-two_icon-two" style="background-image:url(assets/images/icons/icon-5.png)"></div> <div class="footer-two_icon-three" style="background-image:url(assets/images/icons/icon-6.png)"></div> <div class="footer-two_icon-four" style="background-image:url(assets/images/icons/icon-6.png)"></div> <div class="footer-two_icon-five" style="background-image:url(assets/images/icons/icon-7.png)"></div> <div class="footer-two_icon-six" style="background-image:url(assets/images/icons/icon-8.png)"></div> <div class="footer-two_icon-seven" style="background-image:url(assets/images/icons/icon-9.png)"></div> <div class="footer-two_icon-eight" style="background-image:url(assets/images/icons/icon-10.png)"></div> <div class="auto-container"> <!--Widgets Section--> <div class="footer-two-widgets"> <div class="row clearfix"> <!--big column--> <div class="big-column col-lg-6 col-md-12 col-sm-12"> <div class="row clearfix"> <!--Footer Column--> <div class="footer-two_column col-lg-6 col-md-6 col-sm-12"> <div class="footer-two-widget logo-widget"> <div class="footer-two_logo"> <a href="./"><img src="images/logo.png" alt="" /></a> </div> <div class="footer-two_text">CCM-2025 dedicates to create a stage for exchanging the latest research results and sharing the advanced research methods.</div> </div> </div> <!--Footer Column--> <div class="footer-two_column col-lg-6 col-md-6 col-sm-12"> <div class="footer-two-widget links-widget"> <h4 class="footer-two_title">Useful Links</h4> <ul class="footer-two_list"> <li><a href="./">Home</a></li> <li><a href="about">Conference Info</a></li> <li><a href="experts">Experts</a></li> <li><a href="dates-to-note">Dates to Note</a></li> <li><a href="registration_form">Register</a></li> <li><a href="contact-us">Contact</a></li> </ul> </div> </div> </div> </div> <!--big column--> <div class="big-column col-lg-6 col-md-12 col-sm-12"> <div class="row clearfix"> <!--Footer Column--> <div class="footer-two_column col-lg-6 col-md-6 col-sm-12"> <div class="footer-widget news-widget"> <h4 class="footer-two_title">Information</h4> <ul class="footer-two_contact-list"> <li><span class="icon fa-solid fa-map-marker fa-fw"></span>USG United Scientific Group<br/>A non-profit organization<br/>8105, Suite 112, Rasor Blvd, Plano, TX 75024, USA</li> <li><span class="icon fa-solid fa-phone fa-fw"></span>+1-469-854-2280/81</li> <li><span class="icon fa-solid fa-phone fa-fw"></span>+1-469-854-2278</li> <li><span class="icon fa-solid fa-envelope fa-fw"></span> <a href="mailto:secretary@carbon-conferences.com">secretary@carbon-conferences.com</a></li> <li><span class="icon fa-solid fa-envelope fa-fw"></span> <a href="mailto:carbon@uniscigroup.org">carbon@uniscigroup.org</a></li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="footer-bottom"> <div class="auto-container"> <div class="row clearfix"> <!-- Column --> <div class="column col-lg-6 col-md-12 col-sm-12"> <div class="text-white"> Powered by USG 漏 <script> document.write(new Date().getFullYear()) </script><strong>, <span class="heading-home">All Rights Reserved</span></strong>. </div> </div> <!-- Column --> <div class="column col-lg-6 col-md-12 col-sm-12"> <ul class="footer-bottom-nav"> <li><a href="conferences-terms-and-conditions">Terms and conditions</a></li> <li><a href="privacy-policy">Privacy policy</a></li> </ul> </div> </div> </div> </div> </footer> </div> <!-- Back To Top Start --> <div class="progress-wrap"> <svg class="progress-circle svg-content" width="100%" height="100%" viewBox="-1 -1 102 102"> <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98" /> </svg> </div> <!-- back to top end --> <script src="assets/js/jquery.js"></script> <script src="assets/js/popper.min.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/appear.js"></script> <script src="assets/js/parallax.min.js"></script> <script src="assets/js/tilt.jquery.min.js"></script> <script src="assets/js/jquery.paroller.min.js"></script> <script src="assets/js/owl.js"></script> <script src="assets/js/wow.js"></script> <script src="assets/js/element-in-view.js"></script> <script src="assets/js/backtotop.js"></script> <script src="assets/js/odometer.js"></script> <script src="assets/js/parallax-scroll.js"></script> <script src="assets/js/jquery.countdown.js"></script> <script src="assets/js/magnific-popup.min.js"></script> <script src="assets/js/nav-tool.js"></script> <script src="assets/js/jquery-ui.js"></script> <script src="assets/js/color-settings.js"></script> <script src="assets/js/script.js"></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); } }); </script> </body> </html>