-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
41 lines (38 loc) · 1.48 KB
/
form.html
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
<!DOCTYPE HTML>
<html>
<head>
<title>Register Form</title>
</head>
<body onload: 'document.form.email.focus()'>
<form action="insert.php" method="POST">
<table>
<tr>
<td>Name :</td>
<td><input type="text" name="username" required></td>
</tr>
<tr>
<td>Password :</td>
<td><input type="password" name="password" required></td>
</tr>
<tr>
<td>Gender :</td>
<td><input type="radio" name="gender" value="m" required>Male <input type="radio" name="gender" value="f" required>Female </td>
</tr>
<tr>
<td>Phone no :</td>
<td><select name="phoneCode" required><option selected hidden value="">Select Code</option><option value="977">977</option><option value="978">978</option><option value="979">979</option><option value="973">973</option><option value="972">972</option><option value="974">974</option></select>
<input type="phone" name="phone" required></td>
</tr>
<tr>
<td>Email :</td>
<td><input type="email" name="email" required></td>
</tr>
<tr>
<td>
<input type="submit" value="Submit" onclick="ValidateEmail(document.form.email)"></td>
</tr>
<script src=" emailverify.js "></script>
</table>
</form>
</body>
</html>