-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalidations2.html
More file actions
74 lines (62 loc) · 2.01 KB
/
validations2.html
File metadata and controls
74 lines (62 loc) · 2.01 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="em">
<head>
<meta charset="UTF-8">
</head>
<body>
<div id="main">
<h2 align="center"><u>Student registration form </u></h2>
<form id="frm1" action="registration.html" autocomplete="off" method="post">
<div>
<label for="fna">enter fullname</label><span>*</span><br>
<input type="text" id="fna" name="fna" required autofocus>
</div>
<br>
<div>
<label for="pwd">Password</label><span>*</span><br>
<input type="Password" id="pwd" name="pwd" required><br>
</div>
<br>
<div>
<label for="em">emailid</label><span>*</span><br>
<input type="email" id="em" name="em" required><br>
</div>
<br>
<div>
<label for="ph">Contact number</label><span>*</span><br>
<input type="text" id="ph" name="ph" required min="6000000000" max="9999999999"><br>
</div>
<br>
<div>
<label for="dob">Date of Birth</label><br>
<input type="date" id="dob" name="dob" required min="1996-01-01" max="2010-12-31"><br>
</div>
<br>
<div>
<label>Gender:</label><br>
<input type="radio" id="g1" name="g" value="m" checked>
<label for="g1">Male</label>
<input type="radio" id="g2" name="g" value="f">
<label for="g2">Female</label>
<input type="radio" id="g3" name="g" value="o">
<label for="g3">Others</label>
</div>
<br>
<div>
<label for="pin">Enter Pin Code</label><br>
<textarea id="pin" name="pin" rows="5" cols="25"></textarea>
</div>
<br>
<div align="center">
<input type="checkbox" id="tc" name="tc" value="true" required>
<label> I Accepted all Terms and Condtions</label>
</div>
<br>
<div align="center">
<button type="Submit">Register Now</button>
</div>
</form>
</div>
<script src="validations.js"></script>
</body>
</html>