Switch from formtools to postalion forms #256

Merged
Denys Konovalov merged 2 commits from postalion-forms into master 2024-01-05 21:37:28 +01:00
2 changed files with 13 additions and 15 deletions

@ -4,18 +4,17 @@
<div class="container">
<div class="row">
<div class="col-lg-8 mb-4 mb-lg-0">
<form action="https://php.cantorgymnasium.de/formtools/process.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="form_tools_form_id" value="5" />
<form action="https://forms.cantorgymnasium.de/form/gcg-aufnahmeformular" method="post" enctype="multipart/form-data">
<div hidden>
<input type="text" name="bad_email" value="" />
<input type="text" id="bad_email" name="bad_email" value="" />
</div>
<div class="input-group">
<input type="text" class="form-control mb-3" id="surname" name="visitor_surname" placeholder="Name (Schüler/in)" required>
<input type="text" class="form-control mb-3" id="name" name="visitor_name" placeholder="Vorname" required>
<input type="text" class="form-control mb-3" id="student_surname" name="student_surname" placeholder="Name (Schüler/in)" required>
<input type="text" class="form-control mb-3" id="student_name" name="student_name" placeholder="Vorname" required>
</div>
<div class="input-group mb-3">
<span class="input-group-text">Geburtsdatum</span>
<input type="date" class="form-control" id="birthday" name="visitor_birthday" min="2005-01-01" required>
<input type="date" class="form-control" id="student_birthday" name="student_birthday" min="2005-01-01" required>
</div>
<input type="text" class="form-control mb-3" id="street" name="street" placeholder="Straße" required>
<div class="input-group">
@ -31,10 +30,10 @@
<input type="tel" class="form-control mb-3" id="tpriv" name="tpriv" placeholder="Telefon privat">
<input type="tel" class="form-control mb-3" id="tdienstl" name="tdienstl" placeholder="Telefon dienstl.">
</div>
<input type="text" class="form-control mb-3" id="dpname" name="dpname" placeholder="Abweichender Elternname">
<input type="text" class="form-control mb-3" id="parent_name" name="parent_name" placeholder="Abweichender Elternname">
<input type="text" class="form-control mb-3" id="grundschule" name="grundschule" placeholder="Grundschule" required>
<input type="email" class="form-control mb-3" id="mail" name="visitor_email" placeholder="Ihre E-Mail-Adresse" required>
<textarea name="visitor_message" id="message" class="form-control mb-3" placeholder="Bemerkungen"></textarea>
<input type="email" class="form-control mb-3" id="parent_email" name="parent_email" placeholder="Ihre E-Mail-Adresse" required>
<textarea id="message" name="message" class="form-control mb-3" placeholder="Bemerkungen"></textarea>
<div class="input-group mb-3">
<input type="file" class="form-control" id="zeugnis_1" name="zeugnis_1" accept="image/*,.pdf">
<span class="input-group-text">Zeugnis (Vorderseite)</span>

@ -9,15 +9,14 @@
<div class="container">
<div class="row">
<div class="col-lg-6 mb-4 mb-lg-0">
<form action="https://php.cantorgymnasium.de/formtools/process.php" method="post">
<input type="hidden" name="form_tools_form_id" value="2" />
<form action="https://forms.cantorgymnasium.de/form/gcg-kontakt" method="post">
<div hidden>
<input type="text" name="bad_email" value="" />
</div>
<input type="text" class="form-control form-control-lg mb-3" id="name" name="visitor_name" placeholder="Ihr Name" required>
<input type="email" class="form-control form-control-lg mb-3" id="mail" name="visitor_email" placeholder="Ihre E-Mail Adresse" required>
<input type="text" class="form-control form-control-lg mb-3" id="subject" name="email_title" placeholder="Betreff" required>
<textarea name="visitor_message" id="message" class="form-control form-control-lg mb-3" placeholder="Nachricht" required></textarea>
<input type="text" class="form-control form-control-lg mb-3" id="name" name="name" placeholder="Ihr Name" required>
<input type="email" class="form-control form-control-lg mb-3" id="mail" name="email" placeholder="Ihre E-Mail Adresse" required>
<input type="text" class="form-control form-control-lg mb-3" id="subject" name="subject" placeholder="Betreff" required>
<textarea id="message" name="message" class="form-control form-control-lg mb-3" placeholder="Nachricht" required></textarea>
<button type="submit" value="send" class="btn btn-primary">Senden</button>
</form>
</div>