an-/abmelden
parent
3dc6d4ac58
commit
cf73e14b43
|
@ -56,7 +56,7 @@
|
|||
<hr>
|
||||
|
||||
<div>
|
||||
<form class="anmeldung-überschriften" action="warenkorb.php">
|
||||
<form class="anmeldung-überschriften" action="warenkorb.php" method="POST">
|
||||
Karten-ID <span id="question-mark">
|
||||
<svg width="20px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
||||
<path d="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
<?php
|
||||
if(isset($_POST['submit'])){
|
||||
if(empty($_POST['vorName']) || empty($_POST['nachName']) || empty($_POST['strasse']) ||
|
||||
empty($_POST['hausnummer']) || empty($_POST['postleitzahl']) || empty($_POST['ort']) ||
|
||||
empty($_POST['emailRep']) || empty($_POST['email']) || empty($_POST['passwort']) || empty($_POST['passwortRep']))
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
|
@ -39,7 +51,7 @@
|
|||
|
||||
<!--Bei action wird später eine php-Datei eingefügt,
|
||||
welche sich um die Verarbeitung der Daten kümmert.-->
|
||||
<form id="registrierungForm" action="">
|
||||
<form id="registrierungForm" action="registrierung.php" method="post">
|
||||
<div class="container">
|
||||
<span id="registrierungTitel" > Registrierung </span>
|
||||
<br>
|
||||
|
|
|
@ -48,6 +48,8 @@ function checkIfElementHasValue(element) {
|
|||
|| regex_onlyWhitespaces.test(element.value)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
else {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue