-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregistration.html
137 lines (127 loc) · 4.01 KB
/
registration.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
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<html>
<head>
<title>Register Page</title>
<!-------------javascript sources--------------------------->
<link href="./register.css" rel="stylesheet" type="text/css" />
<script src="./scripts/menu.js"></script>
<script src="./scripts/registration_validate.js"></script>
<!---------------------------------------------------------->
</head>
<body>
<center>
<tr>
<td colspan="4" height="200" >
<img id="img" src="./images/menu/logo.jpg" alt="Logo">
</td>
</tr>
<!-------------->
<!--menu-->
<div>
<nav>
<ul class="menu">
<li><B><a href="./index.html">Home</a></B></li>
<li><B><a href="./ticketbooking.html">Ticket booking</a></B></li>
<li><B><a href="./snacks.html">Snacks</a></B></li>
<li><B><a href="./contact.html">Contact Us</a></B></li>
</ul>
</nav>
</div>
<!---------------------------------------->
<!--container--->
<tr>
<td colspan="4" height="60">
<center><font color="white" size="4em"><h2><u>Regestration Form</u></h2></font></center>
</td>
</tr>
<tr>
<table border="0">
<tr>
<form name='registration' id="regForm" onSubmit="return formValidation();">
<td width="200" height="20">
<font color="white"><label for="userid">User id:</label>
</td>
<td><input type="text" name="userid" size="30" /></td>
<td id="usererror" width="250"></td>
</tr>
<tr>
<td height="30">
<font color="white"><label for="passid">Password:</label>
</td>
<td><input type="password" name="passid" size="30" /></td>
<td id="passworderror"height="20"></td>
</tr>
<tr>
<td height="30">
<font color="white"><label for="username">Name:</label>
</td>
<td><input type="text" name="username" size="30" /></td>
<td id="nameerror"height="20"></td>
</tr>
<tr>
<td height="30">
<font color="white"><label for="address">Address:</label>
</td>
<td><input type="text" name="address" size="30" /></td>
<td id="addresserror"height="20"></td>
</tr>
<tr>
<td height="30">
<font color="white"><label for="country">Country:</label>
</td>
<td><select name="country">
<option selected="" value="Default">(Please select a country)</option>
<option value="AF">Nepal</option>
<option value="AL">Japan</option>
<option value="DZ">India</option>
<option value="AS">Bhutan</option>
<option value="AD">Pakistan</option>
</select></td>
<td id="countryerror"height="20"></td>
</tr>
<tr>
<td>
<font color="white"><label for="zip">ZIP Code:</label>
</td>
<td><input type="text" name="zip" /></td>
<td id="zipcodeerror"height="20"></td>
</tr>
<tr>
<td>
<font color="white"><label for="email">Email:</label>
</td>
<td><input type="text" name="email" size="30" /></td>
<td id="emailerror"height="20"></td>
</tr>
<tr>
<td>
<font color="white"><label id="gender">Sex:</label>
</td>
<td><input type="checkbox" name="msex" value="Male" /><span>Male</span>
<input type="checkbox" name="fsex" value="Female" /><span>Female</span>
</td>
<td id="sexerror"height="20"></td>
</tr>
<tr>
<td height="60">
<font color="white"><label for="desc">About:</label>
</td>
<td><textarea name="desc" id="desc" onkeyup="clear_symbol()" onkeydown="clear_symbol()"></textarea></td>
<td id="abouterror"height="20"></td>
</tr>
<tr>
<td></td>
<td><input type="submit" name="submit" value="Submit" /><input type="button" name="reset" value="Reset" onclick="resetForm()"/>
<script>
//for reseting value
function restForm() {document.getElementById("regForm").reset();}
</script>
</td>
</tr>
</form>
</tr>
</table>
</td>
</table>
</center>
</body>
</html>