Meldeschein

    Begleithundeprüfung, Wassertest und Schussfestigkeit

    Angaben zur Prüfung (Gebühren)














    Gesamt: 0,00 €


    Datum der Veranstaltung


    Angaben zum Hund


    Angaben zum Besitzer


    Angaben zum Hundeführer




    Ort, Datum:

    Unterschrift des Prüfungsteilnehmer:



    document.addEventListener("DOMContentLoaded", function () { const options = document.querySelectorAll(".pruefung-option"); const sumDisplay = document.getElementById("preis-summe"); const hiddenField = document.getElementById("gesamtpreis"); function formatEuro(cents) { return (cents / 100).toLocaleString("de-DE", { minimumFractionDigits: 2, maximumFractionDigits: 2 }) + " €"; } function recompute() { let total = 0; options.forEach(opt => { if (opt.checked) { const price = parseFloat(opt.dataset.price) || 0; total += Math.round(price * 100); // in Cent } }); sumDisplay.textContent = formatEuro(total); // setze verstecktes Feld (als Dezimalzahl mit Komma oder Punkt je nach Verarbeitung) if (hiddenField) { hiddenField.value = (total / 100).toFixed(2); // z.B. "55.00" } } options.forEach(opt => { opt.addEventListener("change", recompute); }); // Initialberechnung (falls vorbefüllt) recompute(); });
    Cookie Consent mit Real Cookie Banner