1(function () { 2 var DM_CONFIG = { 3 BACKEND_URL: "https://dokume.net", 4 APP_ID: 13, 5 SERVER_URL: "https://dokume.net/backend/src", 6 //     API_KEY: 'VFLcYmp8PKAxrwPQLnzHd2YfER8Ni2gFXYAulrlCkGJ9QL3YyauJtRTCOlSNywSZ', 7 //     PROFILE_ID: 11590, 8 API_KEY: "pwptCGtLxWJWvWp77lvEqwtksXoIZYeHXI8e8S0VxMK0d8HVyOzvxphRBhngnr2O", 9 PROFILE_ID: 48062, 10 FORM_ID: 233, 11 plugin_name: "forms", 12 }; 13 var backend = new DokuMe_PublicBackend( 14 DM_CONFIG.SERVER_URL, 15 DM_CONFIG.API_KEY, 16 DM_CONFIG.PROFILE_ID 17 ); 18 19 init(); 20 21 function init() { 22 bindEvents(); 23 } 24 25 function bindEvents() { 26 $(document).on("click", "#submitButton", saveInTouch); 27} 28 29function saveInTouch() { 30 var fields = []; 31 32 $("[data-fieldid]").each(function () { 33 var temp = { 34 FORM_ID: DM_CONFIG.FORM_ID, 35 FIELD_ID: this.dataset.fieldid, 36 VALUE: this.value, 37 }; 38 if (this.tagName === "SELECT" || this.type === "checkbox") { 39 temp.VALUE = ""; 40 temp.OPTION_ID = this.value; 41 } 42 if (temp.OPTION_ID && temp.OPTION_ID == "") { 43 return true; 44 } else if (this.type === "checkbox" && !this.checked) { 45 return true; 46 } else if (!temp.OPTION_ID && temp.VALUE == "") { 47 return true; 48 } 49 fields.push(temp); 50 }); 51 backend.saveObject(219, null, { 52 FORM_ID: DM_CONFIG.FORM_ID, 53 EMAIL: "", 54 FORMS_FIELD_VALUE: fields, 55 ACTIVE: 0, 56 }); 57 58 59 // if (fields.length <= 8) { 60 // alert("Bitte die *Pflichtfelder ausfüllen."); 61 // } else { 62 // alert("Ihre Nachricht wurde gesendet."); 63 // } 64 } 65})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.