Kontakt

Hier finden Sie unsere Kontaktmöglichkeiten zusammengefasst

Anschrift  

Getränke Roennfeldt

Friedrichstädter Str 36-40

24768 Rendsburg

Tel.:              04331 / 46040

Fax:              04331 / 460416

                     Mail:            In**@ge******************.de


jQuery("#preloader-tblaxg").fadeOut(500, function() { jQuery("#ecf-form-tblaxg").fadeIn(300); });

Ladda.bind('.ladda-button');

$(function() {

/* Validation */ $("#form-tblaxg").validate({ /* Rules for form validation */ rules: { name0:{required: true},email1:{required: true,email: true},text2:{required: true},message3:{required: true,minlength: 10},

}, /* Messages for form validation */ messages: { name0:{required: "Diese Felder werden benötigt"},email1:{required: "Diese Felder werden benötigt"},text2:{required: "Diese Felder werden benötigt"},message3:{required: "Diese Felder werden benötigt"} }, /* Do not change code below */ errorPlacement: function(error, element) { error.insertAfter(element.parent()); },

submitHandler: function(form) { ecf_onsubmit(jQuery('.form-tblaxg'));

},

invalidHandler: function(form) { Ladda.stopAll(); },

onkeyup: false, onfocusout: false, onclick: false

}); });

/* Form Submit ( Ajax ) */ function ecf_onsubmit(form) {

if (form.attr('action') == '#') {

data = {}; eldat = []; data['action'] = 'ecf_deliver_mail'; data['formid'] = '123'; data['security'] = '28dc835162';

jQuery('input, textarea', form).each(function(key) {

items = {};

if (typeof $(this).data('type') === 'undefined') { return true; }

items['type'] = $(this).data('type'); items['label'] = $(this).data('label'); items['value'] = this.value; items['name'] = this.name;

eldat.push(items);

});

data['allelmnt'] = JSON.stringify(eldat);

submitForm();

return false;

}

}

/* Start submitForm */ function submitForm() {

jQuery.ajax({ url: 'https://getraenke-roennfeldt.de/wp-admin/admin-ajax.php', type: 'POST', dataType: 'json', data: data, success: function(data) {

if (data.Ok == true) {

$("#form-tblaxg").get(0).reset();

if (data.msg == 'redirect') { window.location = "http://"; } else { notifyme('Ihr Nachricht wurde erfolgreich versendet', 'n', 'success', 'left middle'); }

} else { $("#form-tblaxg").get(0).reset(); notifyme(data.msg, 'n', 'error', 'left middle'); }

Ladda.stopAll();

} });

}

/* Notify */ function notifyme(msg, b, typ, pos) { if (b == 'n') { b = 'cf-submittedtblaxg'; } else { b = 'atctblaxg'; }

$("#" + b).gnotify(msg, { style: "nbootstrap", elementPosition: pos, className: typ });

msg = null; typ = null;

}

});