-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.htm
62 lines (60 loc) · 2.72 KB
/
signup.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Signup Page</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container mt-5">
<h2 class="mb-4">Signup</h2>
<form action="process_signup.php" method="post" enctype="multipart/form-data" id="registrationForm">
<div class="form-row">
<div class="form-group col-md-6">
<label for="firstName">First Name</label>
<input type="text" class="form-control" id="firstName" name="firstName" required>
</div>
<div class="form-group col-md-6">
<label for="lastName">Last Name</label>
<input type="text" class="form-control" id="lastName" name="lastName" required>
</div>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" id="email" name="email" required>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="userType">User Type</label>
<select class="form-control" id="userType" name="userType" required>
<option value="Admin">Admin</option>
<option value="Standard">Standard</option>
<option value="View">View</option>
<option value="None">None</option>
</select>
</div>
<div class="form-group col-md-6">
<label for="dob">Date of Birth</label>
<input type="date" class="form-control" id="dob" name="dob" required>
</div>
</div>
<div class="form-group">
<label for="profileImage">Profile Image</label>
<input type="file" class="form-control-file" id="profileImage" name="profileImage">
</div>
<div class="form-group">
<label for="address">Address</label>
<textarea class="form-control" id="address" name="address" rows="3"></textarea>
</div>
<button type="submit" class="btn btn-primary">Signup</button>
</form>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.validate.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/additional-methods.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="validation.js"></script>
</body>
</html>