Abfrage

<style>
.form-container{
max-width:600px;
margin:auto;
padding:25px;
background:#f9f9f9;
border-radius:8px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
font-family:Arial, sans-serif;
}

.form-container h2{
text-align:center;
margin-bottom:20px;
}

.form-group{
margin-bottom:15px;
}

.form-group label{
font-weight:bold;
display:block;
margin-bottom:5px;
}

.form-control{
width:100%;
padding:10px;
border:1px solid #ccc;
border-radius:4px;
}

.radio-group{
margin-top:5px;
}

.radio-group label{
margin-right:15px;
}

.btn-submit{
background:#2c7be5;
color:white;
border:none;
padding:12px 20px;
border-radius:5px;
cursor:pointer;
width:100%;
font-size:16px;
}

.btn-submit:hover{
background:#1a5fc1;
}

#helptext{
display:none;
}
</style>

<div class="form-container">

<h2>Teilnahme Formular</h2>

<form action="send.php" method="post">

<div class="form-group">
<label>Titel</label>
<input type="text" name="titel" class="form-control">
</div>

<div class="form-group">
<label>Vorname *</label>
<input type="text" name="vorname" class="form-control" required>
</div>

<div class="form-group">
<label>Name *</label>
<input type="text" name="name" class="form-control" required>
</div>

<div class="form-group">
<label>E-Mail *</label>
<input type="email" name="email" class="form-control" required>
</div>

<div class="form-group">
<label>Telefonnummer</label>
<input type="text" name="telefon" class="form-control">
</div>

<div class="form-group">
<label>Teilnahme</label>
<div class="radio-group">
<label><input type="radio" name="teilnahme" value="Ja" required> Ja</label>
<label><input type="radio" name="teilnahme" value="Nein"> Nein</label>
</div>
</div>

<div class="form-group">
<label>Mithilfe</label>
<div class="radio-group">
<label><input type="radio" name="mithilfe" value="Ja" onclick="toggleHelp(true)"> Ja</label>
<label><input type="radio" name="mithilfe" value="Nein" onclick="toggleHelp(false)"> Nein</label>
</div>
</div>

<div class="form-group" id="helptext">
<label>Ich kann helfen bei:</label>
<textarea name="helfen" class="form-control" rows="4"></textarea>
</div>

<button type="submit" class="btn-submit">Absenden</button>

</form>

</div>

<script>
function toggleHelp(show){
var field = document.getElementById("helptext");
if(show){
field.style.display="block";
}else{
field.style.display="none";
}
}
</script>

Was wären wir nur ohne Sie!

Unsere Sponsoren und Partner

Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern (Tracking Cookies). Sie können selbst entscheiden, ob Sie die Cookies zulassen möchten. Bitte beachten Sie, dass bei einer Ablehnung womöglich nicht mehr alle Funktionalitäten der Seite zur Verfügung stehen.