• SG赛车官方开奖号码

  • Choose File

"); $("#ZF-UploadFileForm").attr("action","/tanfel/form/QuoteRequestForm/formperma/ykF508Cc7ptgGgT0jVgc2jyPWY2IISKUiafVnob8FtI/uploadFile"); var merchantType = $("#test").find("div[elname=merchantDiv]").attr("merchantType"); // No I18N if(merchantType != null ){ performPaymentAndSubmitData(merchantType); } else { //Event is needed to differentiate whether form submitted by click or by pressing ENTER for displaying Splash Message. ZFLive.currEvent = e; ZFLive.ValidateAndSubmitData(); } } else { var errorObj = ZFLive.validateForm(Mode.LIVE, true); if (errorObj.length == 0) { if (uploadObjects.length == 0) { $(this).trigger('click'); // No I18N } else { ZFLive.submitButtonClicked = true; ZFLive.actionBtn = this; $("#pleaseWait_Div").show(); setPopUpElemPosition($("#pleaseWait_DivCont")); // No I18N } } else { showError(errorObj); resetCaptcha(); } } }); $('form[name=test]').find("button[elname=update]").click(function(e) { e.preventDefault(); if(uploadObjects.length == 0){ $("#fileuploadtemplate").html("
"); $("#ZF-UploadFileForm").attr("action","/tanfel/form/QuoteRequestForm/formperma/ykF508Cc7ptgGgT0jVgc2jyPWY2IISKUiafVnob8FtI/uploadFile"); $('form[name=test]').find("button[elname=update]").attr("recordLinkID","");// No I18N ZFLive.ValidateAndUpdateDataForLiveEdit(); } else { var errorObj = ZFLive.validateForm(true); if (errorObj.length == 0) { if (uploadObjects.length == 0) { $(this).trigger('click'); // No I18N } else { ZFLive.submitButtonClicked = true; ZFLive.actionBtn = this; $("#pleaseWait_Div").show(); setPopUpElemPosition($("#pleaseWait_DivCont")); // No I18N } } else { showError(errorObj); resetCaptcha(); } } }); $('form[name=test]').find("button[elname=back],button[elname=next],button[elname=save],button[elname=submit],button[elname=update],button[elname=review]").mousedown(function(e){ if(!isIELessThan9() && typeof ZFLive.constraintJson !== ResponseKey.UNDEFINED){ e.preventDefault(); } }); $('form[name=test]').find("button[elname=save]").click(function(e) { e.preventDefault(); if(uploadObjects.length == 0){ $("#fileuploadtemplate").html("
"); $("#ZF-UploadFileForm").attr("action","/tanfel/form/QuoteRequestForm/formperma/ykF508Cc7ptgGgT0jVgc2jyPWY2IISKUiafVnob8FtI/uploadFile"); $('form[name=test]').find("button[elname=save]").attr("recordLinkID","");// No I18N ZFLive.ValidateAndSaveData(); } else { ZFLive.isUploadSaveValidate = true; var errorObj = ZFLive.validateForm(Mode.LIVE, false); if (errorObj.length == 0) { if(uploadObjects.length == 0){ $(this).trigger('click'); // No I18N } else { ZFLive.submitButtonClicked = true; ZFLive.actionBtn = this; // $("#savingDiv").show(); $("#plainLoading").show(); setPopUpElemPosition($("#plainLoadingCont")); // No I18N } } else { showError(errorObj); resetCaptcha(); } } }); ZFLive.ShowPageTitle; $('form[name=test]').find("button[elname=review]").click(function(e) { e.preventDefault(); if(uploadObjects.length == 0){ ZFLive.ShowPageTitle = 1 ZFLive.reviewType = 1 ZFLive.reviewData(); } else { if(uploadObjects.length == 0){ $(this).trigger('click'); // No I18N } else { ZFLive.submitButtonClicked = true; ZFLive.actionBtn = this; $("#reviewLoad_Div").show(); setPopUpElemPosition($("#reviewLoad_DivCont")); // No I18N } } ZFLive.disableReviewBtn(); }); // For Forms saved with Custom Theme. addCustomCSSStyles(); // checkAlign(); if(ZFLive.formulaJson != null){ // Formula will be calculated even when rules are not present, as it has to be calculated with initial value or prefil values. // Formula calculation should be inside Document.ready, as ZFLive.formulaJson will be initialzed within it. ZFLive.evalExpressionOnFormLoad(); } triggerFormResize(); ZFLive.preevalPrefillFldLabel(); preventCutCopyPasteInEmailReconf(); preventCutCopyPasteInPhoneReconf(); }); ZFLive.isSalesIQIntegrationEnabled = false; ZFLive.isPageSenseIntegrationEnabled = false; ZFLive.salesIQFieldsArray = null; // Field rules zf_rule = new ZFRule(); zfPageRule = new ZFPageRule(); if(typeof ZFGTMUtil == "function"){ gtm = new ZFGTMUtil(); ZFGTMUtil.gtmJSON={}; gtm.bindGTMEvents(); }