mirror of
https://github.com/Alvin-Zilverstand/Spik-en-span.git
synced 2026-03-06 03:06:41 +01:00
update forms to include action attributes and name fields for processing
This commit is contained in:
10
index.html
10
index.html
@@ -12,18 +12,18 @@
|
||||
<body>
|
||||
<div class="container mt-5">
|
||||
<h1 class="text-center">Koop je tickets voor Spik en Span!</h1>
|
||||
<form id="ticketForm" class="mt-4">
|
||||
<form id="ticketForm" action="process_ticket.php" method="POST" class="mt-4">
|
||||
<div class="mb-3">
|
||||
<label for="name" class="form-label">Naam</label>
|
||||
<input type="text" id="name" class="form-control" required>
|
||||
<input type="text" id="name" name="name" class="form-control" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label">E-mailadres</label>
|
||||
<input type="email" id="email" class="form-control" required>
|
||||
<input type="email" id="email" name="email" class="form-control" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="ticketCategory" class="form-label">Categorie</label>
|
||||
<select id="ticketCategory" class="form-select" required>
|
||||
<select id="ticketCategory" name="category" class="form-select" required>
|
||||
<option value="adult">Volwassenen</option>
|
||||
<option value="child">Kinderen</option>
|
||||
<option value="group">Groepen</option>
|
||||
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="ticketQuantity" class="form-label">Aantal tickets</label>
|
||||
<input type="number" id="ticketQuantity" class="form-control" min="1" max="10" required>
|
||||
<input type="number" id="ticketQuantity" name="quantity" class="form-control" min="1" max="10" required>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Koop Tickets</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user