Add user creation form validation

This commit is contained in:
2020-06-18 08:12:23 +02:00
parent 77e604d385
commit 095b639794
3 changed files with 51 additions and 3 deletions

View File

@@ -5,9 +5,10 @@
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
<script src="../validate_user.js"></script>
</head>
<body>
<form method="post" action="../user_management.php">
<form name="create_form" method="post" action="../user_management.php" onsubmit="return validateUser();">
<div class="input-group">
<label>Nombre</label>
<input type="text" name="nombre" value="">