Kontakt

Ihre Anfrage

Hiermit bestätige ich, die  Datenschutzerklärung  zur Kenntnis genommen zu haben. Ich stimme zu, das meine Angaben und Daten zur Beantwortung meiner Anfrage elektronisch erhoben und gespeichert werden. Ich kann diese Einwilligung jederzeit durch eine email an info@fotograf-in-muenchen.de widerrufen.
By using this form you agree with the storage and handling of your data by this website
Powered by Tech Banker
"); jQuery("body").append(overlay_opacity); var overlay = jQuery("
"); jQuery("body").append(overlay); } } if (typeof (remove_overlay_contact_bank_9087) !== "function") { function remove_overlay_contact_bank_9087() { jQuery(".loader_opacity").remove(); jQuery(".opacity_overlay").remove(); } } if (typeof (only_characters_contact_bank_9087) !== "function") { function only_characters_contact_bank_9087(event, timestamp, max_limit, value) { var content = jQuery("#ux_txt_singal_line_text_" + timestamp).val(); var characters_length = content.length; max_limit !== "" ? jQuery("#ux_txt_singal_line_text_" + timestamp).attr("maxlength", max_limit) : ""; if (max_limit === "") { jQuery("#ux_text_appear_after_counter_" + timestamp).css("display", "none"); } else if (characters_length > max_limit) { var lastIndex = content.lastIndexOf(" "); jQuery("#ux_txt_singal_line_text_" + timestamp).val(content.substring(0, lastIndex)); jQuery("#ux_text_appear_after_counter_" + timestamp).css("display", "block").addClass("field_label"); jQuery("#ux_text_appear_after_counter_" + timestamp).text(max_limit - characters_length + " " + value); } else { jQuery("#ux_text_appear_after_counter_" + timestamp).css("display", "block").addClass("field_label"); jQuery("#ux_text_appear_after_counter_" + timestamp).text(max_limit - characters_length + " " + value); } } } if (typeof (only_digits_contact_bank_9087) !== "function") { function only_digits_contact_bank_9087(event, timestamp, max_limit, text_appear) { var content = jQuery("#ux_txt_singal_line_text_" + timestamp).val(); var words = content.split(/\s+/); var words_length = words.length; jQuery("#ux_txt_singal_line_text_" + timestamp).removeAttr("maxlength", ""); var value = text_appear; if (words_length > max_limit) { event.preventDefault(); var lastIndex = content.lastIndexOf(" "); jQuery("#ux_txt_singal_line_text_" + timestamp).val(content.substring(0, lastIndex)); jQuery("#ux_text_appear_after_counter_" + timestamp).css("display", "block").addClass("field_label"); if (max_limit > words_length) { jQuery("#ux_text_appear_after_counter_" + timestamp).text(max_limit - words_length + " " + value); } } else { jQuery("#ux_text_appear_after_counter_" + timestamp).css("display", "block").addClass("field_label"); jQuery("#ux_text_appear_after_counter_" + timestamp).text(max_limit - words_length + " " + value); } } } if (typeof (apply_input_masking_contact_bank_9087) !== "function") { function apply_input_masking_contact_bank_9087(input_id, timestamp, input_mask_type, custom_mask_value) { switch (input_mask_type) { case "none": jQuery("#ux_txt_singal_line_text_" + timestamp).unmask(); break; case "us_phone": jQuery("#ux_txt_singal_line_text_" + timestamp).unmask(); jQuery("#ux_txt_singal_line_text_" + timestamp).mask("(999)999-9999"); break; case "date": jQuery("#ux_txt_singal_line_text_" + timestamp).unmask(); jQuery("#ux_txt_singal_line_text_" + timestamp).mask("99/99/9999"); break; case "custom": jQuery("#ux_txt_singal_line_text_" + timestamp).unmask(); jQuery("#ux_txt_singal_line_text_" + timestamp).mask(custom_mask_value); break; } } } if (typeof (change_label_placement_contact_bank_9087) !== "function") { function change_label_placement_contact_bank_9087(input_id, timestamp, label_placement_type, control_name) { switch (label_placement_type) { case "above": jQuery("#field_label_" + timestamp).css("display", "block"); if (control_name == "radio-list" || control_name == "checkbox-list") { jQuery("#ux_txt_check_box_" + timestamp).insertAfter("#field_label_" + timestamp); } else { jQuery("#ux_txt_singal_line_text_" + timestamp).insertAfter("#field_label_" + timestamp); jQuery("#ux_txt_logical_captcha_" + timestamp).insertAfter("#field_label_" + timestamp); } jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": "", "margin-top": "", "margin-left": ""}); if(control_name != "star_rating" && control_name != "file_upload") { jQuery("#ux_txt_singal_line_text_" + timestamp).css({"display": "block", "margin-left": "9px", "margin-right": "0"}); } jQuery("#ux_sub_div_" + timestamp).removeClass("field_label").removeClass("control-label"); break; case "below": jQuery("#field_label_" + timestamp).css("display", "block"); if (control_name == "radio-list" || control_name == "checkbox-list") { jQuery("#ux_txt_check_box_" + timestamp).insertBefore(jQuery("#field_label_" + timestamp).addClass("field_label").addClass("control-label")); } else { jQuery("#ux_txt_singal_line_text_" + timestamp).insertBefore(jQuery("#field_label_" + timestamp).addClass("field_label").addClass("control-label")).css({"margin-right": "0", "margin-bottom": "-8% !important"}); jQuery("#ux_txt_logical_captcha_" + timestamp).insertBefore(jQuery("#field_label_" + timestamp).addClass("field_label").addClass("control-label")); } jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": ""}); jQuery("#ux_sub_div_" + timestamp).addClass("field_label").addClass("control-label").css("padding-bottom", "10px"); break; case "left": jQuery("#field_label_" + timestamp).css("display", ""); if(control_name == "radio-list" || control_name == "checkbox-list") { jQuery("#ux_txt_check_box_" + timestamp); } jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": "relative", "margin-top": "", "margin-left": "30%"}); jQuery("#ux_txt_singal_line_text_" + timestamp).css({"display": "inline-block", "margin-left": "0px", "margin-right": "0"}); jQuery("#ux_sub_div_" + timestamp).addClass("field_label").addClass("control-label"); break; case "right": jQuery("#field_label_" + timestamp).css("display", ""); if(control_name == "radio-list" || control_name == "checkbox-list") { jQuery("#ux_txt_check_box_" + timestamp).prependTo("#field_label_" + timestamp); } if(control_name == "multi-select") { jQuery("#ux_sub_div_" + timestamp).addClass("field_label").addClass("control-label").css({"margin-bottom":"4%"}); } jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": "", "margin-top": "", "margin-left": ""}); jQuery("#ux_txt_singal_line_text_" + timestamp).css({"display": "inline-block", "margin-left": "0px", "margin-right": "5%"}); jQuery("#ux_sub_div_" + timestamp).addClass("field_label").addClass("control-label"); break; case "hidden": jQuery("#field_label_" + timestamp).addClass("field_label").addClass("control-label"); jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": "", "margin-top": "", "margin-left": ""}); if(control_name != "star_rating") { jQuery("#ux_txt_singal_line_text_" + timestamp).css({"display": "block", "margin-left": "9px"}); } if(control_name == "radio-list" || control_name == "checkbox-list") { jQuery("#ux_txt_check_box_" + timestamp).insertAfter("#field_label_" + timestamp); } else { jQuery("#ux_txt_singal_line_text_" + timestamp).insertAfter("#field_label_" + timestamp).css({"margin-right": "0"}); jQuery("#ux_txt_logical_captcha_" + timestamp).insertAfter("#field_label_" + timestamp); } jQuery("#field_label_" + timestamp).css("display", "none"); break; } } } if (typeof (number_settings_contact_bank_9087) !== "function") { function number_settings_contact_bank_9087(timestamp, event, step_number_cb, min_number, max_number) { var count = 0; var step_count = 0; step_number_cb = parseInt(step_number_cb); min_number = parseInt(min_number); max_number = parseInt(max_number); var input_number = parseInt(jQuery("#ux_txt_singal_line_text_" + timestamp).val()); jQuery("#ux_text_appear_after_counter_" + timestamp).css("display", "none"); if (min_number !== "" && max_number !== "") { jQuery("#ux_btn_save_changes").removeAttr("disabled","disabled"); if (input_number > max_number) { count = 1; } else if (jQuery.trim(input_number) 12 ? date_contact_bank.getHours() - 12 : date_contact_bank.getHours(); contact_bank_am_pm = date_contact_bank.getHours() >= 12 ? "PM" : "AM"; } else if (time_format === "24hour") { var hours_contact_bank = date_contact_bank.getHours() > 12 ? date_contact_bank.getHours() : date_contact_bank.getHours(); } hours_contact_bank = hours_contact_bank array_number[1]) { result = array_number[0]; } else { result = array_number[1]; } break; case "smaller_number" : if (array_number[0] 9) { intVal = 1 + (intVal % 10); } } sum += intVal; } var contact_bank_check_validity = (sum % 10) == 0 ? true : false; } jQuery("#ux_btn_save_changes").removeAttr("disabled"); jQuery("#text_appear_after_counter_credit_card_" + timestamp).css("display", "none"); if (cb_is_visa && contact_bank_check_validity) { jQuery("#credit_card_number_text_field_" + timestamp).css({"background-image": "url(https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/img/cc-visa.svg)", "background-repeat": "no-repeat", "padding-left": "40px !important", "padding-bottom": "5px !important"}); } else if (cb_is_master && contact_bank_check_validity) { jQuery("#credit_card_number_text_field_" + timestamp).css({"background-image": "url(https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/img/cc-mastercard.svg)", "background-repeat": "no-repeat", "padding-left": "40px !important", "padding-bottom": "5px !important"}); } else if (cb_is_amex) { jQuery("#credit_card_number_text_field_" + timestamp).unmask(); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 999"); jQuery("#credit_card_number_text_field_" + timestamp).css({"background-image": "url(https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/img/cc-amex.svg)", "background-repeat": "no-repeat", "padding-left": "40px !important", "padding-bottom": "5px !important"}); } else if (isDisc && contact_bank_check_validity) { jQuery("#credit_card_number_text_field_" + timestamp).css({"background-image": "url(https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/img/cc-discover.svg)", "background-repeat": "no-repeat", "padding-left": "40px !important", "padding-bottom": "5px !important"}); } else { jQuery("#credit_card_number_text_field_" + timestamp).css({"background-image": "url(https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/img/credit-card.svg)", "background-repeat": "no-repeat", "padding-left": "40px !important", "padding-bottom": "5px !important"}); jQuery("#text_appear_after_counter_credit_card_" + timestamp).css("display", "block").html("Invalid Card Number").addClass("field_label"); } } else { jQuery("#ux_btn_save_changes").attr("disabled","disabled"); jQuery("#credit_card_number_text_field_" + timestamp).css({"background-image": "url(https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/img/credit-card.svg)", "background-repeat": "no-repeat", "padding-left": "40px !important", "padding-bottom": "5px !important"}); jQuery("#text_appear_after_counter_credit_card_" + timestamp).css("display", "block").html("Invalid Card Number").addClass("field_label"); } } } if (typeof (validate_credit_card_cvv_contact_bank_9087) !== "function") { function validate_credit_card_cvv_contact_bank_9087(timestamp) { var myRe = /^[0-9]{3,4}$/; var myArray = myRe.exec(jQuery("#credit_card_cvv_number_" + timestamp).val()); if (jQuery("#credit_card_cvv_number_" + timestamp).val() != myArray) { jQuery("#text_appear_after_counter_credit_card_" + timestamp).css("display", "block").html("Invalid CVV Number").addClass("field_label"); } else { jQuery("#text_appear_after_counter_credit_card_" + timestamp).css("display", "none"); } } } if (typeof (validate_credit_card_expiry_date_contact_bank_9087) !== "function") { function validate_credit_card_expiry_date_contact_bank_9087(timestamp) { if (jQuery("#credit_card_expiry_date_" + timestamp).val().length == 0) { jQuery("#text_appear_after_counter_credit_card_" + timestamp).css("display", "block").html("Required Expiration Date").addClass("field_label"); } else { jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#text_appear_after_counter_credit_card_" + timestamp).css("display", "none"); } } } if (typeof (credit_card_label_placement_contact_bank_9087) !== "function") { function credit_card_label_placement_contact_bank_9087(input_id, timestamp, label_placement_type) { switch (label_placement_type) { case "above": jQuery("#credit_card_number_label_" + timestamp).css("display", "block"); jQuery("#credit_card_number_text_field_" + timestamp).insertAfter("#credit_card_number_label_" + timestamp); jQuery("#credit_card_expiry_date_" + timestamp).insertAfter("#credit_card_expiry_date_label_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).insertAfter("#credit_card_cvv_number_label_" + timestamp); jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": "", "margin-top": "", "margin-left": ""}); jQuery("#ux_txt_singal_line_text_" + timestamp).css({"display": "block", "margin-left": "9px"}); jQuery("#sub_div_credit_card_" + timestamp).removeClass("field_label").removeClass("control-label"); break; case "below": jQuery("#credit_card_number_label_" + timestamp).css("display", "block"); jQuery("#credit_card_number_text_field_" + timestamp).insertBefore(jQuery("#credit_card_number_label_" + timestamp).addClass("field_label").addClass("control-label")); jQuery("#credit_card_expiry_date_" + timestamp).insertBefore(jQuery("#credit_card_expiry_date_label_" + timestamp).addClass("field_label").addClass("control-label")); jQuery("#credit_card_cvv_number_" + timestamp).insertBefore(jQuery("#credit_card_cvv_number_label_" + timestamp).addClass("field_label").addClass("control-label")); jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": "absolute"}); break; case "left": jQuery("#credit_card_number_label_" + timestamp).css("display", ""); jQuery("#credit_card_number_text_field_" + timestamp); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp); jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": "relative", "margin-top": "", "margin-left": "12%"}); jQuery("#credit_card_number_text_field_" + timestamp).css({"display": "inline-block", "margin-left": "0px", "margin-right":"5%"}); jQuery("#credit_card_expiry_date_" + timestamp).css({"display": "inline-block", "margin-left": "0px", "margin-right":"5%"}); jQuery("#credit_card_cvv_number_" + timestamp).css({"display": "inline-block", "margin-left": "0px", "margin-right":"5%"}); jQuery("#sub_div_credit_card_" + timestamp).addClass("field_label").addClass("control-label"); break; case "right": jQuery("#credit_card_number_label_" + timestamp).css("display", ""); jQuery("#credit_card_number_text_field_" + timestamp).prependTo("#credit_card_number_label_" + timestamp); jQuery("#credit_card_expiry_date_" + timestamp).prependTo("#credit_card_expiry_date_label_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).prependTo("#credit_card_cvv_number_label_" + timestamp); jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": "", "margin-top": "", "display": "inline-block", "margin-right": "5%"}); jQuery("#credit_card_number_text_field_" + timestamp).css({"display": "inline-block", "margin-left": "0px", "display": "inline-block", "margin-right": "5%"}); jQuery("#credit_card_expiry_date_" + timestamp).css({"display": "inline-block", "margin-left": "0px", "display": "inline-block", "margin-right": "5%"}); jQuery("#credit_card_cvv_number_" + timestamp).css({"display": "inline-block", "margin-left": "0px", "display": "inline-block", "margin-right": "5%"}); jQuery("#sub_div_credit_card_" + timestamp).addClass("field_label").addClass("control-label"); break; case "hidden": jQuery("#credit_card_number_label_" + timestamp).addClass("field_label").addClass("control-label"); jQuery("#ux_text_appear_after_counter_" + timestamp).css({"position": "", "margin-top": "", "margin-left": ""}); jQuery("#credit_card_number_text_field_" + timestamp).css({"display": "block"}); jQuery("#credit_card_number_text_field_" + timestamp); jQuery("#credit_card_expiry_date_" + timestamp).css({"display": "block"}); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).css({"display": "block"}); jQuery("#credit_card_cvv_number_" + timestamp); jQuery("#credit_card_number_label_" + timestamp).css("display", "none"); jQuery("#credit_card_expiry_date_label_" + timestamp).css("display", "none"); jQuery("#credit_card_cvv_number_label_" + timestamp).css("display", "none"); jQuery("#sub_div_credit_card_" + timestamp).addClass("field_label").addClass("control-label"); break; } } } if (typeof (datepicker_for_credit_card_contact_bank_9087 !== "function")) { function datepicker_for_credit_card_contact_bank_9087(id) { jQuery(id).datepicker ({ dateFormat: 'mm/yy', numberOfMonths: 1, changeMonth: true, changeYear: true, 'autoclose': true, yearRange: "1970:2050" }); } } if(typeof (php_date_format_to_jquery_date_format_contact_bank_9087) !== "function") { function php_date_format_to_jquery_date_format_contact_bank_9087(random_id,format) { switch(format) { case"F j, Y": return('MM dd, yy'); break; case"Y/m/d": return('yy/mm/dd'); break; case"m/d/Y": return('mm/dd/yy'); break; case"d/m/Y": return('dd/mm/yy'); break; } } } if (typeof (date_picker_contact_bank_9087) !== "function") { function date_picker_contact_bank_9087(id, timestamp, format, start_year, end_year) { var date_format = php_date_format_to_jquery_date_format_contact_bank_9087(timestamp,format); jQuery(id).datepicker ({ dateFormat: date_format, numberOfMonths: 1, changeMonth: true, changeYear: true, 'autoclose': true, yearRange: start_year + ":" + end_year }); } } if (typeof (submit_form_contact_bank_9087) !== "function") { function submit_form_contact_bank_9087(controls_ids, form_name, save_submssion, page_url, submission_enable_disable, submission_limit, redirect_type, redirect_url,form_success_message) { var form_id = "5"; var id_count = "32"; var url_redirect_after_submit = redirect_type == "page" ? page_url : redirect_url; jQuery("#ux_frm_main_container_9087").validate({ errorClass: "custom-error", rules: { ux_txt_singal_line_text_1526826757 : { required: true }, ux_txt_singal_line_text_1526827735516 : { required: true }, ux_txt_singal_line_text_1526827301502 : { required: true }, ux_txt_singal_line_text_1526828340480 : { required: true }, ux_chk_gdpr_compliance_agree_form_9087: { required: true }, }, messages: { ux_txt_singal_line_text_1526826757: "This field is Required!", ux_txt_singal_line_text_1526827735516: "This field is required", ux_txt_singal_line_text_1526827301502: "This field is required", ux_txt_singal_line_text_1526828340480: "This field is required", ux_chk_gdpr_compliance_agree_form_9087: "This field is Required!", }, errorPlacement: function(error, element) { error.insertAfter(element.parent()); error.insertAfter(element.parent()); error.insertAfter(element.parent()); error.insertAfter(element.parent()); error.insertAfter(element.parent()); error.insertAfter(element.parent()); error.insertAfter(element.parent()); error.insertAfter(element.parent()); error.insertAfter(element.parent()); error.insertAfter(element.parent()); error.insertAfter(element.parent()); }, submitHandler: function () { jQuery("html, body").animate({ scrollTop: 0 }, "slow"); if ((submission_enable_disable == "disable") || (submission_enable_disable == "enable" && id_count ")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val(""); jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = ""; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } var timestamp = 1526827753812; var control_name = 'last_name'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = ''; var date_format = ""; var start_year = ""; var end_year = ""; var current_date = ""; var current_time = ""; var time_format = ""; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = "above"; var input_mask_type = ""; var custom_mask = ""; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val(""); jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = ""; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } var timestamp = 1526827735516; var control_name = 'email'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = ''; var date_format = ""; var start_year = ""; var end_year = ""; var current_date = ""; var current_time = ""; var time_format = ""; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = "above"; var input_mask_type = ""; var custom_mask = ""; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val(""); jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = ""; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } var timestamp = 1526827301502; var control_name = 'text'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = 'arithmetic'; var date_format = "F j, Y"; var start_year = ""; var end_year = ""; var current_date = "disable"; var current_time = "disable"; var time_format = "12hour"; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = "above"; var input_mask_type = "none"; var custom_mask = "999,999,999,999"; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val(""); jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = "true"; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } var timestamp = 1526826759; var control_name = 'text'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = ''; var date_format = ""; var start_year = ""; var end_year = ""; var current_date = ""; var current_time = ""; var time_format = ""; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = "above"; var input_mask_type = "none"; var custom_mask = "999,999,999,999"; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val(""); jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = ""; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } var timestamp = 1526827267878; var control_name = 'date'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = 'arithmetic'; var date_format = "F j, Y"; var start_year = "2018"; var end_year = "2030"; var current_date = "disable"; var current_time = "disable"; var time_format = "12hour"; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = "above"; var input_mask_type = "none"; var custom_mask = ""; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val(""); jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = "true"; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } var timestamp = 1526827926306; var control_name = 'select'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = ''; var date_format = ""; var start_year = ""; var end_year = ""; var current_date = ""; var current_time = ""; var time_format = ""; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = "above"; var input_mask_type = ""; var custom_mask = ""; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val("1"); jQuery("#ux_txt_singal_line_text_" + timestamp).val("1"); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = ""; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val("1"); } var timestamp = 1526826760; var control_name = 'paragraph'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = ''; var date_format = ""; var start_year = ""; var end_year = ""; var current_date = ""; var current_time = ""; var time_format = ""; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = "above"; var input_mask_type = "none"; var custom_mask = "999,999,999,999"; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val(""); jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = ""; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } var timestamp = 1526828187672; var control_name = 'select'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = ''; var date_format = ""; var start_year = ""; var end_year = ""; var current_date = ""; var current_time = ""; var time_format = ""; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = "above"; var input_mask_type = ""; var custom_mask = ""; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val("1"); jQuery("#ux_txt_singal_line_text_" + timestamp).val("1"); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = ""; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val("1"); } var timestamp = 1526828347266; var control_name = 'html'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = ''; var date_format = ""; var start_year = ""; var end_year = ""; var current_date = ""; var current_time = ""; var time_format = ""; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = ""; var input_mask_type = ""; var custom_mask = ""; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val(""); jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = ""; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } var timestamp = 1526828340480; var control_name = 'checkbox'; if(control_name == "quantity") { price_arr.push(timestamp); } var mathematical_operation_type = ''; var date_format = ""; var start_year = ""; var end_year = ""; var current_date = ""; var current_time = ""; var time_format = ""; var arithmetic_actions = "0,0,0,0"; var relational_actions = "0,0,0,0"; var arrange_order_actions = "0,0,0,0"; var label_placement_type = "hidden"; var input_mask_type = ""; var custom_mask = ""; if (control_name != "html" && control_name != "divider" && control_name != "section_break" && control_name != "recaptcha") { change_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type, control_name); apply_input_masking_contact_bank_9087("ux_txt_singal_line_text_" + timestamp, timestamp, input_mask_type, custom_mask); } if (control_name == "star_rating") { if (typeof (number_of_star_contact_bank_9087) !== "function") { function number_of_star_contact_bank_9087(timestamp,number_of_star) { jQuery(".my-rating_" + timestamp).remove(); jQuery("#ux_txt_singal_line_text_" + timestamp).each(function () { jQuery(".stars_" + timestamp).append(jQuery("
")); jQuery(".my-rating_" + timestamp).starRating({ disableAfterRate: false, starSize: 35, totalStars: number_of_star, callback: function(currentRating, $el){ jQuery("#ux_txt_hidden_rating_" + timestamp).val(currentRating); } }); }); } } var number_of_star = ""; number_of_star_contact_bank_9087(timestamp,number_of_star); } else if (control_name == "date") { date_picker_contact_bank_9087("#ux_txt_singal_line_text_" + timestamp, timestamp, date_format, start_year, end_year); show_hide_default_current_date_contact_bank_9087(timestamp, date_format, current_date); } else if (control_name == "credit_card") { datepicker_for_credit_card_contact_bank_9087("#credit_card_expiry_date_" + timestamp); credit_card_label_placement_contact_bank_9087("ux_ddl_label_placement_" + timestamp, timestamp, label_placement_type); jQuery("#credit_card_number_text_field_" + timestamp).mask("9999 9999 9999 9999"); jQuery("#credit_card_expiry_date_" + timestamp); jQuery("#credit_card_cvv_number_" + timestamp).mask("999"); } else if (control_name == "country" || control_name == "state") { jQuery("#ux_txt_default_value_" + timestamp).val(""); jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } else if (control_name == "time") { display_current_time_contact_bank_9087(timestamp, current_time, time_format); } else if (control_name == "logical-captcha") { switch (mathematical_operation_type) { case "arithmetic": arithmatic_operation_contact_bank_9087(timestamp, arithmetic_actions); break; case "relational": relational_operation_contact_bank_9087(timestamp, relational_actions); break; case "arrange_order": arrange_order_operation_contact_bank_9087(timestamp, arrange_order_actions); break; } } else if (control_name == "file_upload") { if (typeof (file_uploader_for_contact_bank_9087) !== "function") { function file_uploader_for_contact_bank_9087(timestamp) { var pl_upload_url = "https://www.event-fotograf-muenchen.de/wp-content/plugins/contact-bank-developer-edition/user-views/assets/js/pluploader/"; var maximum_size = ""; var extension = ""; var multiple_upload = ""; var filelist = 'filelist_' + timestamp; var uploaded_files = []; var uploadfiles = 'uploadfiles_' + timestamp; var uploader = new plupload.Uploader({ runtimes: 'html5,flash,silverlight,html4', browse_button: 'pickfiles_' + timestamp, multi_selection: JSON.parse(multiple_upload), container: document.getElementById('container_' + timestamp), url: ajaxurl + "?param=upload_file_contact_bank&action=contact_bank_image_upload&_wp_nonce=ae63ea5b26", filters: { max_file_size: maximum_size, mime_types: [ {title: "Image files", extensions: extension} ] }, unique_names:true, flash_swf_url: pl_upload_url + 'Moxie.swf', silverlight_xap_url: pl_upload_url + 'Moxie.xap', init: { PostInit: function () { document.getElementById(filelist).innerHTML = ''; document.getElementById(uploadfiles).onclick = function () { uploader.start(overlay_loading_contact_bank_9087()); return false; }; }, FilesAdded: function (up, files) { plupload.each(files, function (file) { document.getElementById(filelist).innerHTML += '
' + file.name + ' (' + plupload.formatSize(file.size) + ') ' + '
'; }); jQuery("#"+uploadfiles).removeAttr("disabled"); jQuery('.removeFile_class_file_upload').live('click', function(){ uploader.removeFile(this.id); jQuery('#' + this.id).remove(); if(files.length > 0) { jQuery("#"+uploadfiles).attr("disabled","disabled"); } }); }, UploadProgress: function (up, file) { document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '' + file.percent + "%"; }, Error: function (up, err) { alert("Your Maximum file upload size exceeds!"); }, FileUploaded: function (up, file, response) { uploaded_files.push(file.target_name); jQuery("#ux_txt_hidden_uploaded_files_" + timestamp).val(uploaded_files); }, UploadComplete: function () { remove_overlay_contact_bank_9087(); overlay_loading_contact_bank_9087("Selected Files have been Uploaded Successfully"); setTimeout(function () { remove_overlay_contact_bank_9087(); }, 2000); } } }); uploader.init(); } } file_uploader_for_contact_bank_9087(timestamp); } else if(control_name == "select" || control_name == "multi-select") { jQuery("#ux_txt_singal_line_text_" + timestamp).val(""); } });