'+ '
'+ ''+ '
'+ '
'+ '
'+ ''+dataVal[i].InstituteName+', '+dataVal[i].InstituteLocality+', '+dataVal[i].InstituteCity+''+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'; if(actualInstituteType == "school" || actualInstituteType == "playschool"){ cartDigitalData = cartDigitalData + '
Class : '+dataVal[i].SeekingCourse+'
'; }else{ cartDigitalData = cartDigitalData + '
Course : '+dataVal[i].SeekingCourse+'
'; } cartDigitalData = cartDigitalData + '
App. Last Date :   '+dataVal[i].ApplicationEndDate+'
'+ '
'+ '
'+ '
Application Fees (inc taxes & services) :   '+appfee+'
'+ '
'+ '
'+ '
App. Last Date :   '+dataVal[i].ApplicationEndDate+'
'+ '
Application Fees (inc taxes & services) : Rs. '+appfee+'
'+ '
'; if(dataVal[i].isPaymentOptionNeeded == "false"){ cartDigitalData = cartDigitalData + '
Pay application fee at institute.
'; } cartDigitalData = cartDigitalData + '
'+ '
'+ ''+ '
'+ '
'+ ' Remove'+ '
'+ '
'+ '
'+ '
'+ ''; } if(dataVal[i].isFeeExclusive == "yes"){ isFormFeeExclusive = true; appfee = parseFloat(dataVal[i].ApplicationFee) + parseFloat(dataVal[i].conviencesFee) + parseFloat(dataVal[i].applicationTaxFee); if(dataVal[i].isPaymentOptionNeeded == "true"){ grandTotalExclusive = grandTotalExclusive + appfee; }else{ grandTotalExclusive = grandTotalExclusive; } cartDigitalData = '
'+ '
'+ '
'+ ''+ '
'+ '
'+ '
'+ ''+dataVal[i].InstituteName+', '+dataVal[i].InstituteLocality+', '+dataVal[i].InstituteCity+''+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'; if(actualInstituteType == "school" || actualInstituteType == "playschool"){ cartDigitalData = cartDigitalData + '
Class : '+dataVal[i].SeekingCourse+'
'; }else{ cartDigitalData = cartDigitalData + '
Course : '+dataVal[i].SeekingCourse+'
'; } cartDigitalData = cartDigitalData + '
Application Fees : Rs. '+dataVal[i].ApplicationFee+'
'+ '
'+ '
'+ '
Conviences Fee : Rs. '+dataVal[i].conviencesFee+'
'+ '
'+ '
'+ '
App. Last Date :   '+dataVal[i].ApplicationEndDate+'
'+ '
Service Tax & VAT : Rs. '+dataVal[i].applicationTaxFee+'
'+ '
'+ '
'+ '
App. Last Date :   '+dataVal[i].ApplicationEndDate+'
'+ '
Application Fees : Rs. '+dataVal[i].ApplicationFee+'
'+ '
Conviences Fee : Rs. '+dataVal[i].conviencesFee+'
'+ '
Service Tax & VAT : Rs. '+dataVal[i].applicationTaxFee+'
'+ '
'; if(dataVal[i].isPaymentOptionNeeded == "false"){ cartDigitalData = cartDigitalData + '
Pay application fee at institute.
'; } cartDigitalData = cartDigitalData + '
'+ '
'+ ''+ '
'+ '
'+ ' Remove'+ '
'+ '
'+ '
'+ '
'+ '
'; } $(cartDigitalData).appendTo("#appCartFormData"); } else{ isFormPhysical = true; var cartPhysicalData = ""; if(dataVal[i].isFeeExclusive == "yes"){ isFormFeeExclusive = true; if(dataVal[i].isPaymentOptionNeeded == "true"){ appfee = parseFloat(dataVal[i].ApplicationFee) + parseFloat(dataVal[i].conviencesFee) + parseFloat(dataVal[i].applicationTaxFee); } grandTotalExclusive = grandTotalExclusive + appfee; cartPhysicalData = '
'+ '
'+ '
'+ ''+ '
'+ '
'+ '
'+ ''+dataVal[i].InstituteName+', '+dataVal[i].InstituteLocality+', '+dataVal[i].InstituteCity+''+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'; if(actualInstituteType == "school" || actualInstituteType == "playschool"){ cartPhysicalData = cartPhysicalData + '
Class : '+dataVal[i].SeekingCourse+'
'; }else{ cartPhysicalData = cartPhysicalData + '
Course : '+dataVal[i].SeekingCourse+'
'; } cartPhysicalData = cartPhysicalData + '
Application Fees : Rs. '+dataVal[i].ApplicationFee+'
'+ '
'+ '
'+ '
App. Last Date :   '+dataVal[i].ApplicationEndDate+'
'+ '
Conviences Fee : Rs. '+dataVal[i].conviencesFee+'
'+ '
'; if(dataVal[i].isPaymentOptionNeeded == "true"){ cartPhysicalData = cartPhysicalData + '
'+ '
Service Tax & VAT : Rs. '+dataVal[i].applicationTaxFee+'
'+ '
'; } cartPhysicalData = cartPhysicalData + '
'+ '
App. Last Date :   '+dataVal[i].ApplicationEndDate+'
'+ '
Application Fees : Rs. '+dataVal[i].ApplicationFee+'
'+ '
Conviences Fee : Rs. '+dataVal[i].conviencesFee+'
'+ '
Postal Charges :   Rs. '+dataVal[i].postalCharge+'
'+ '
DD Charges : Rs. '+dataVal[i].ddCharge+'
'+ '
Service Tax & VAT : Rs. '+dataVal[i].applicationTaxFee+'
'+ '
'+ '
'+ '
Postal Charges :   Rs. '+dataVal[i].postalCharge+'
'+ '
'+ '
'+ '
DD Charges : Rs. '+dataVal[i].ddCharge+'
'+ '
'; if(dataVal[i].isPaymentOptionNeeded == "false"){ cartDigitalData = cartDigitalData + '
Pay application fee at institute.
'; } cartDigitalData = cartDigitalData + '
'+ '
'+ ''+ '
'+ '
'+ ' Remove'+ '
'+ '
'+ '
'+ '
'+ '
'; } if(dataVal[i].isFeeInclusive == "yes"){ isFormFeeInclusive = true; if(dataVal[i].isPaymentOptionNeeded == "true"){ appfee = parseFloat(dataVal[i].ApplicationFee) + parseFloat(dataVal[i].conviencesFee) + parseFloat(dataVal[i].applicationTaxFee); } grandTotalInclusive = grandTotalInclusive + appfee; cartPhysicalData = '
'+ '
'+ '
'+ ''+ '
'+ '
'+ '
'+ ''+dataVal[i].InstituteName+', '+dataVal[i].InstituteLocality+', '+dataVal[i].InstituteCity+''+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'; if(actualInstituteType == "school" || actualInstituteType == "playschool"){ cartPhysicalData = cartPhysicalData + '
Class : '+dataVal[i].SeekingCourse+'
'; }else{ cartPhysicalData = cartPhysicalData + '
Course : '+dataVal[i].SeekingCourse+'
'; } cartPhysicalData = cartPhysicalData + '
App. Last Date :   '+dataVal[i].ApplicationEndDate+'
'+ '
'+ '
'+ '
Application Fees (inc taxes & services) :   '+appfee+'
'+ '
'+ '
'+ '
App. Last Date :   '+dataVal[i].ApplicationEndDate+'
'+ '
Application Fees (inc taxes & services) : Rs. '+appfee+'
'+ '
Postal Charges :   Rs. '+dataVal[i].postalCharge+'
'+ '
DD Charges : Rs. '+dataVal[i].ddCharge+'
'+ '
'+ '
'+ '
Postal Charges :   Rs. '+dataVal[i].postalCharge+'
'+ '
'+ '
'+ '
DD Charges : Rs. '+dataVal[i].ddCharge+'
'+ '
'+ '
'+ '
'+ ''+ '
'+ '
'+ ' Remove'+ '
'+ '
'+ '
'+ '
'+ '
'; } $(cartPhysicalData).appendTo("#appCartFormData"); } $("#payNowActionForm").append(''); } var grandTotal = grandTotalInclusive + grandTotalExclusive; if(isFormPhysical){ $(".isFormPhysical").show(); if(isFormFeeExclusive && isFormFeeInclusive){ $(".isFeeExclusive").show(); $(".appFeeTotalVal").text("Rs. "+totalFeeVal.toFixed(2)); $("#contotalVal").text("Rs. "+totalCCFeeVal.toFixed(2)); totalTFeeVal = Math.round(totalTFeeVal*100)/100; $("#taxtotalVal").text("Rs. "+totalTFeeVal.toFixed(2)); $("#postalCharge").text("Rs. "+postalCharge.toFixed(2)); $("#ddCharge").text("Rs. "+ddCharge.toFixed(2)); //var gtotalVal = parseFloat(totalTFeeVal)+parseFloat(totalCCFeeVal)+parseFloat(ddCharge)+parseFloat(postalCharge)+parseFloat(totalFeeVal); $("#gtotalVal").text("Rs. "+(grandTotal).toFixed(2)); } if(isFormFeeExclusive && (!isFormFeeInclusive)){ $(".isFeeExclusive").show(); $(".appFeeTotalVal").text("Rs. "+totalFeeVal.toFixed(2)); $("#contotalVal").text("Rs. "+totalCCFeeVal.toFixed(2)); totalTFeeVal = Math.round(totalTFeeVal*100)/100; $("#taxtotalVal").text("Rs. "+totalTFeeVal.toFixed(2)); $("#postalCharge").text("Rs. "+postalCharge.toFixed(2)); $("#ddCharge").text("Rs. "+ddCharge.toFixed(2)); //var gtotalVal = parseFloat(totalTFeeVal)+parseFloat(totalCCFeeVal)+parseFloat(ddCharge)+parseFloat(postalCharge)+parseFloat(totalFeeVal); $("#gtotalVal").text("Rs. "+(grandTotal).toFixed(2)); } if(isFormFeeInclusive && (!isFormFeeExclusive)){ $(".isFeeInclusive").show(); $(".appFeeTotalVal").text("Rs. "+totalFeeVal.toFixed(2)); $("#contotalVal").text("Rs. "+totalCCFeeVal.toFixed(2)); totalTFeeVal = Math.round(totalTFeeVal*100)/100; $("#taxtotalVal").text("Rs. "+totalTFeeVal.toFixed(2)); $("#postalCharge").text("Rs. "+postalCharge.toFixed(2)); $("#ddCharge").text("Rs. "+ddCharge.toFixed(2)); //var gtotalVal = parseFloat(totalTFeeVal)+parseFloat(totalCCFeeVal)+parseFloat(ddCharge)+parseFloat(postalCharge)+parseFloat(totalFeeVal); $("#gtotalVal").text("Rs. "+(grandTotal).toFixed(2)); } }else{ if(isFormFeeExclusive && isFormFeeInclusive){ $(".isFeeExclusive").show(); $(".appFeeTotalVal").text("Rs. "+totalFeeVal.toFixed(2)); $("#contotalVal").text("Rs. "+totalCCFeeVal.toFixed(2)); totalTFeeVal = Math.round(totalTFeeVal*100)/100; $("#taxtotalVal").text("Rs. "+totalTFeeVal.toFixed(2)); $("#postalCharge").text("Rs. "+postalCharge.toFixed(2)); $("#ddCharge").text("Rs. "+ddCharge.toFixed(2)); //var gtotalVal = parseFloat(totalTFeeVal)+parseFloat(totalCCFeeVal)+parseFloat(ddCharge)+parseFloat(postalCharge)+parseFloat(totalFeeVal); $("#gtotalVal").text("Rs. "+(grandTotal).toFixed(2)); } if(isFormFeeInclusive && (!isFormFeeExclusive)){ $(".isFeeInclusive").show(); $(".appFeeTotalVal").text("Rs. "+totalFeeVal.toFixed(2)); $("#contotalVal").text("Rs. "+totalCCFeeVal.toFixed(2)); totalTFeeVal = Math.round(totalTFeeVal*100)/100; $("#taxtotalVal").text("Rs. "+totalTFeeVal.toFixed(2)); $("#postalCharge").text("Rs. "+postalCharge.toFixed(2)); $("#ddCharge").text("Rs. "+ddCharge.toFixed(2)); //var gtotalVal = parseFloat(totalTFeeVal)+parseFloat(totalCCFeeVal)+parseFloat(ddCharge)+parseFloat(postalCharge)+parseFloat(totalFeeVal); $("#gtotalVal").text("Rs. "+(grandTotal).toFixed(2)); } if(isFormFeeExclusive && (!isFormFeeInclusive)){ $(".isFeeExclusive").show(); $(".appFeeTotalVal").text("Rs. "+totalFeeVal.toFixed(2)); $("#contotalVal").text("Rs. "+totalCCFeeVal.toFixed(2)); totalTFeeVal = Math.round(totalTFeeVal*100)/100; $("#taxtotalVal").text("Rs. "+totalTFeeVal.toFixed(2)); $("#postalCharge").text("Rs. "+postalCharge.toFixed(2)); $("#ddCharge").text("Rs. "+ddCharge.toFixed(2)); //var gtotalVal = parseFloat(totalTFeeVal)+parseFloat(totalCCFeeVal)+parseFloat(ddCharge)+parseFloat(postalCharge)+parseFloat(totalFeeVal); $("#gtotalVal").text("Rs. "+(grandTotal).toFixed(2)); } } if(sessionValue == 'STUDENT'){ $("#payNowActionForm").append(''); }else{ $("#payNowActionForm").append(''); } }else{ $("#novalueInCart").show(); } function removeInstituteFromCookies(appid){ $(".search-screen-block").show(); var spVal = appid.split("-as-"); /* $('input[type="hidden"][name="ApplicationIds['+spVal[1]+']"]').remove(); setTimeout(function () { $("#"+appid.replace("-as-","-")).remove(); var l = $('#appCartFormData').children().size(); if(l == 0){ $("#valueInCart").hide(); $("#applyOnlineBreadcrum").hide(); $("#novalueInCart").show(); } $(".search-screen-block").hide(); },1500); */ $.ajax({ type: "GET", url: ""+window.secureUnsecure+"delete-Application-details/"+spVal[1], success: function(data, key) { window.location.reload(); } }); } $("#select-payment-method").click(function(){ $(".search-screen-block").show(); }); $("#redirect-guest-login-signup").click(function(){ loadingState(true); window.location.href=window.secureUnsecure+"view-application-cart?continue=yes"; }); function submitWishlist(instituteId){ var ids = instituteId.split("_"); var instiId = ids[0]; var appId = ids[1]; $(".search-screen-block").show(); if(sessionValue == 'null'){ var url = window.secureUnsecure+"student/addWishlist/"+instiId+"?appId="+appId; window.location = url; }else{ $.ajax({ type: "GET", url: ""+window.secureUnsecure+"student/addWishlist/"+instiId+"?appId="+appId, data: "", success: function(data, key) { window.location.reload(); } }); } return false; } //script for guest and withLogin function applyWithGuestAndLogin(value){ if(value.indexOf("applyAsGuestDiv") > -1){ $("#"+value+"_Icon").removeClass("fa-check-circle-o"); $("#"+value+"_Icon").addClass("fa-check-circle"); $("#"+value+"_Icon").css("color","#1abc9c"); $("#applyWithLoginDiv_Icon").removeClass("fa-check-circle"); $("#applyWithLoginDiv_Icon").addClass("fa-check-circle-o"); $("#applyWithLoginDiv_Icon").css("color","black"); //change text accourdingly $("#studentEmailIdLabelText").text("Parent's or Student's email id"); $("#applicant-sign-email").attr("placeholder","Parent's or Student's email id"); $("#studentNameLabelText").text("Student's name"); $("#applicant-sign-name").attr("placeholder","Student's name"); $("#applicant-sign-name").attr("onkeypress","return validateOnlyAlphabetExceptIO(event);"); $("input#applicant-sign-name").prop("type","text"); $("#cnameLabel").text("Please enter name"); //$("#applicant-sign-Form-button").text("Continue to Fill Form"); $("#applicant-guest-sign-Form-button").show(); $("#applicant-sign-Form-button").hide(); //$("#applicant-guest-sign-Form-button").text("Continue to Fill Form"); //have account or not hide $("#applyWithLoginDiv_DontHaveAccount").hide(); $("#applyWithLoginDiv_AlreadyHaveAccount").hide(); $("#applyWithLoginDiv_DontHaveAccountDiv").hide(); $("#applicant-sign-email").val(""); $("input#applicant-sign-name").val(""); }else{ $("#"+value+"_Icon").removeClass("fa-check-circle-o"); $("#"+value+"_Icon").addClass("fa-check-circle"); $("#"+value+"_Icon").css("color","#1abc9c"); $("#applyAsGuestDiv_Icon").removeClass("fa-check-circle"); $("#applyAsGuestDiv_Icon").addClass("fa-check-circle-o"); $("#applyAsGuestDiv_Icon").css("color","black"); //change text accourdingly $("#studentEmailIdLabelText").text("Email Id"); $("#applicant-sign-email").attr("placeholder","Enter Email Id"); $("#studentNameLabelText").text("Password"); $("#applicant-sign-name").attr("placeholder","Enter Password"); $("#applicant-sign-name").removeAttr("onkeypress"); $("input#applicant-sign-name").prop("type","password"); $("#applicant-sign-email").val(""); $("input#applicant-sign-name").val(""); $("#cnameLabel").text("Please Enter Password, May be Invalid or Blank"); $("#applicant-guest-sign-Form-button").hide(); $("#applicant-sign-Form-button").show(); $("#applicant-sign-Form-button").text("Login to Fill Form"); //have account or not $("#"+value+"_DontHaveAccount").show(); $("#"+value+"_AlreadyHaveAccount").hide(); $("#applyWithLoginDiv_DontHaveAccountDiv").hide(); } } function haveOrNotHaveAccount(value){ if(value.indexOf("applyWithLoginDiv_DontHaveAccount") > -1){ $("#"+value).hide(); $("#applyWithLoginDiv_AlreadyHaveAccount").show(); $("#applicant-sign-Form-button").text("Sign to Fill Form"); //$("#cnameLabel").text("Please Enter Password, May be Invalid or Blank"); $("#cemailLabel").hide(); $("#cnameLabel").hide(); $("#"+value+"Div").show(); }else{ $("#"+value).hide(); $("#applyWithLoginDiv_DontHaveAccount").show(); $("#applicant-sign-Form-button").text("Login to Fill Form"); //$("#cnameLabel").text("Please Enter Password, May be Invalid or Blank"); $("#cnameLabel").hide(); $("#cemailLabel").hide(); $("#applyWithLoginDiv_DontHaveAccountDiv").hide(); } } $('input[name=firstName]').on('keyup', function(e) { if (e.which == 13) { $("#applicant-sign-Form-button").click(); $("#applicant-guest-sign-Form-button").click(); } }); var appData = console.log(appData); if(appData != null && appData != "" && appData != 'undefined'){ $("#applicant-sign-Form").attr("action", window.secureUnsecure+"signup"); $.each(appData, function(key,value){ $("#applicant-sign-Form").append(''); }); } function signUpLoginGuestFunc(value){ var emailValue = document.getElementById('applicant-sign-email').value; emailValue = emailValue.toLowerCase(); document.getElementById('applicant-sign-email').value = emailValue; var isSignOn = $("#applyWithLoginDiv_DontHaveAccountDiv").attr('style'); if(isSignOn.indexOf("none") > -1){ isSignOn = "none"; }else{ isSignOn = "block"; } var nameValue = document.getElementById('applicant-sign-name').value; if(value == "applicant-sign-Form-button"){ var pappu = "emailID="+emailValue; $.ajax({ type: "GET", url: ""+window.secureUnsecure+"check-ids-8143", data: pappu, dataType: "json", success: function(data){ if(data != "noRecord"){ var splitVal = data.split("-as-"); if(nameValue != splitVal[4]){ nameValue = ""; $("#applicant-sign-name").val(""); requirementForLogin(emailValue, nameValue, isSignOn); }else{ requirementForLogin(emailValue, nameValue, isSignOn); } }else{ requirementForLogin(emailValue, nameValue, isSignOn); } } }); }else{ requirementForLogin(emailValue, nameValue, isSignOn); } } function requirementForLogin(emailValue, nameValue, isSignOn){ var isSignOnVal = document.getElementById('applicant-sign-name-demo').value; if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(emailValue)){ if(nameValue != ""){ if(isSignOn.indexOf("none") > -1){ $(this).button('loading'); $(".search-screen-block").show(); $('body').css("overflow-y","hidden"); $("#cnameLabel").css("display","none"); $("#cemailalredyexitsLabel").css("display","none"); var id = "emailID="+emailValue; $.ajax({ type: "GET", url: ""+window.secureUnsecure+"check-ids-8143", data: id, dataType : "json", success: function(data) { if(data != "noRecord"){ var splitVal = data.split("-as-"); if(splitVal[1] == "STUDENT"){ $("#e_Id").val(splitVal[2]); $("#p_Id").val(splitVal[3]); loadingState(true); var url = window.secureUnsecure+"fromviewapplicationcart/continue-to-fill-application-form-powered-by-brainybatch/actionValue_192981828912hj12123120981231h"; $("#applicant-login-Form").attr("action", url); setTimeout(function(){ $("#applicant-login-Form").submit(); }, 50); }else{ $("#applicant-sign-email").focus(); $(".search-screen-block").hide(); $('body').css("overflow-y",""); $("#applicant-guest-sign-Form-button").button('reset'); $("#applicant-sign-Form-button").button('reset'); $("#cemailalredyexitsLabel").css("display","block"); } }else{ $("#cemailalredyexitsLabel").css("display","none"); $("#applicant-sign-Form").submit(); } }, error:function(jqXHR,textStatus,errorThrown ){ console.log('Exception:'+errorThrown); } }); }else{ if(isSignOnVal != ""){ $("#applicant-sign-name").val(isSignOnVal); $(this).button('loading'); $(".search-screen-block").show(); $('body').css("overflow-y","hidden"); $("#csignOnLabel").css("display","none"); $("#cemailalredyexitsLabel").css("display","none"); var id = "emailID="+emailValue; $.ajax({ type: "GET", url: ""+window.secureUnsecure+"check-ids-8143", data: id, dataType : "json", success: function(data) { if(data != "noRecord"){ var splitVal = data.split("-as-"); if(splitVal[1] == "STUDENT"){ $("#e_Id").val(splitVal[2]); $("#p_Id").val(splitVal[3]); loadingState(true); var url = window.secureUnsecure+"fromviewapplicationcart/continue-to-fill-application-form-powered-by-brainybatch/actionValue_192981828912hj12123120981231h"; $("#applicant-login-Form").attr("action", url); setTimeout(function(){ $("#applicant-login-Form").submit(); }, 50); }else{ $("#applicant-sign-email").focus(); $(".search-screen-block").hide(); $('body').css("overflow-y",""); $("#applicant-guest-sign-Form-button").button('reset'); $("#applicant-sign-Form-button").button('reset'); $("#cemailalredyexitsLabel").css("display","block"); } }else{ $("#cemailalredyexitsLabel").css("display","none"); $("#applicant-sign-Form").submit(); } }, error:function(jqXHR,textStatus,errorThrown ){ console.log('Exception:'+errorThrown); } }); }else{ $("#applicant-sign-name-demo").focus(); $("#csignOnLabel").css("display","block"); } $("#cnameLabel").css("display","none"); } }else{ $("#applicant-sign-name").focus(); $("#cnameLabel").css("display","block"); } $("#cemailLabel").css("display","none"); }else{ $("#applicant-sign-email").focus(); $("#cemailLabel").css("display","block"); } } function validateOnlyAlphabetExceptIO(e) { var key; var keychar; if (window.event) key = window.event.keyCode; else if (e) key = e.which; else return true; keychar = String.fromCharCode(key); keychar = keychar.toLowerCase(); if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) ) return true; // alphabets and numbers else if ((("abcdefghijklmnopqrstuvwxyz ").indexOf(keychar) > -1)) return true; else return false; }

congrats! we'll get back to you shortly.