forked from NishealJ/IAESTE-DocGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
441 lines (380 loc) · 22.8 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="row justify-content-center">
<div class="col-8">
<form action="snf.php" method="POST">
<hr class="mb-5" />
<div id="subform-1" class="d-block">
<div class="form-group row">
<label for="ref" class="col-sm-3 col-form-label">Reference Number</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="ref" name="ref"
placeholder="Your Offer Reference Number">
</div>
</div>
<div class="form-group row">
<label for="fname" class="col-sm-3 col-form-label">Family Name</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="fname" name="fname"
placeholder="Your Family name..">
</div>
</div>
<div class="form-group row">
<label for="name" class="col-sm-3 col-form-label">First Name</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="name" name="name"
placeholder="Your First name..">
</div>
</div>
<p class="lead">Home Address</p>
<div class="form-group row">
<label for="hal1" class="col-sm-3 col-form-label">Line 1</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="hal1" name="hal1"
placeholder="House Number, Street Name">
</div>
</div>
<div class="form-group row">
<label for="hal2" class="col-sm-3 col-form-label">Line 2</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="hal2" name="hal2"
placeholder="Locality Name">
</div>
</div>
<div class="form-group row">
<label for="hal3" class="col-sm-3 col-form-label">Line 3</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="hal3" name="hal3"
placeholder="City Name, District Name and State Name">
</div>
</div>
<p class="lead">Address During Terms</p>
<div class="form-group row">
<label for="adl1" class="col-sm-3 col-form-label">Line 1</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="adl1" name="adl1"
placeholder="House Number, Street Name">
</div>
</div>
<div class="form-group row">
<label for="adl2" class="col-sm-3 col-form-label">Line 2</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="adl2" name="adl2"
placeholder="Locality Name">
</div>
</div>
<div class="form-group row">
<label for="adl3" class="col-sm-3 col-form-label">Line 3</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="adl3" name="adl3"
placeholder="City Name, District Name and State Name">
</div>
</div>
<div class="form-group row">
<label for="phn" class="col-sm-3 col-form-label">Phone Number</label>
<div class="col-sm-9">
<input type="number" class="form-control mb-4" id="phn" name="phn"
placeholder="Your phone number">
</div>
</div>
<div class="form-group row">
<label for="email" class="col-sm-3 col-form-label">Email</label>
<div class="col-sm-9">
<input type="email" class="form-control mb-4" id="email" name="email"
placeholder="Your Email">
</div>
</div>
<div class="form-group row">
<label for="alt-email" class="col-sm-3 col-form-label">Alternate Email</label>
<div class="col-sm-9">
<input type="email" class="form-control" id="alt-email" name="alt-email"
placeholder="Your Alternate Email">
</div>
</div>
<hr class="mb-4 mt-5" />
<div class="text-right float-right mb-4">
<button id="tab1_next" type="button" class="btn btn-primary">Next</button>
</div>
</div>
<div id="subform-2" class="d-none">
<div class="form-group row">
<label for="dob" class="col-sm-3 col-form-label">Date of Birth</label>
<div class="col-sm-9">
<input type="date" class="form-control mb-4" id="dob" name="dob">
</div>
</div>
<div class="form-group row">
<label for="pob" class="col-sm-3 col-form-label">Place of Birth</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="pob" name="pob"
placeholder="Place of Birth">
</div>
</div>
<div class="form-group row">
<label for="nat" class="col-sm-3 col-form-label">Nationality</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="nat" name="nat"
placeholder="Your Nationality">
</div>
</div>
<div class="form-group row">
<label for="pass-no" class="col-sm-3 col-form-label">Passport Number</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="pass-no" name="pass-no"
placeholder="Your passport number">
</div>
</div>
<div class="form-group row">
<label for="doi" class="col-sm-3 col-form-label">Date of Passport Issue</label>
<div class="col-sm-9">
<input type="date" class="form-control mb-4" id="doi" name="doi">
</div>
</div>
<div class="form-group row">
<label for="poi" class="col-sm-3 col-form-label">Place of Issue</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="poi" name="poi"
placeholder="Place of Passport Issue">
</div>
</div>
<div class="form-group row">
<label for="vu" class="col-sm-3 col-form-label">Passport Valid Until</label>
<div class="col-sm-9">
<input type="date" class="form-control mb-4" id="vu" name="vu">
</div>
</div>
<div class="form-group row">
<label for="sex" class="col-sm-3 col-form-label">Sex</label>
<div class="col-sm-9 mb-4">
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="sex_m" name="sex" class="custom-control-input" value="male">
<label class="custom-control-label" for="sex_m">Male</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="sex_f" name="sex" class="custom-control-input" value="female">
<label class="custom-control-label" for="sex_f">Female</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="sex_o" name="sex" class="custom-control-input" value="others">
<label class="custom-control-label" for="sex_o">Other</label>
</div>
</div>
</div>
<div class="form-group row">
<label for="ms" class="col-sm-3 col-form-label">Marital status</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="ms" name="ms"
placeholder="Your marital status">
</div>
</div>
<div class="form-group row">
<label for="med" class="col-sm-3 col-form-label">Are you medically fit</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="med" name="med"
placeholder="Are you medically fit(if not give details in encl.)">
</div>
</div>
<hr class="mb-4" />
<div class="text-left float-left mb-4">
<button id="tab2_prev" type="button" class="btn btn-primary">Previous</button>
</div>
<div class="text-right float-right mb-4">
<button id="tab2_next" type="button" class="btn btn-primary">Next</button>
</div>
</div>
<div id="subform-3" class="d-none">
<div class="form-group row">
<label for="uni" class="col-sm-3 col-form-label">University/College</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="uni" name="uni"
placeholder="Your University Name">
</div>
</div>
<div class="form-group row">
<label for="fac" class="col-sm-3 col-form-label">Faculty</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="fac" name="fac"
placeholder="Your Faculty">
</div>
</div>
<div class="form-group row">
<label for="spec" class="col-sm-3 col-form-label">Specialization</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="spec" name="spec"
placeholder="Specialization">
</div>
</div>
<div class="form-group row">
<label for="yos" class="col-sm-3 col-form-label">Completed years of study:</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="yos" name="yos"
placeholder="Completed years of study">
</div>
</div>
<div class="form-group row">
<label for="languages" class="col-sm-3 col-form-label">Knowledge of languages</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="languages" name="languages"
placeholder="Knowledge of languages, eg. English(1), Hindi(2)">
</div>
</div>
<div class="form-group row">
<label for="years" class="col-sm-3 col-form-label">Total years required</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="years" name="years"
placeholder="Total years required">
</div>
</div>
<hr class="mb-4" />
<div class="text-left float-left mb-4">
<button id="tab3_prev" type="button" class="btn btn-primary">Previous</button>
</div>
<div class="text-right float-right mb-4">
<button id="tab3_next" type="button" class="btn btn-primary">Next</button>
</div>
</div>
<div id="subform-4" class="d-none">
<div class="form-group row">
<label for="training-start" class="col-sm-3 col-form-label">Desired period of training,
Start Date:
</label>
<div class="col-sm-9">
<input type="date" class="form-control mb-4" id="training-start" name="training-start"
placeholder="Start date of internship">
</div>
</div>
<div class="form-group row">
<label for="training-end" class="col-sm-3 col-form-label">Desired period of training, End
Date:</label>
<div class="col-sm-9">
<input type="date" class="form-control mb-4" id="training-end" name="training-end"
placeholder="End date of internship">
</div>
</div>
<div class="form-group row">
<label for="lodge" class="col-sm-3 col-form-label">Do you wish lodging to be found for you?</label>
<div class="col-sm-9 mb-4">
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="lodge-yes" name="lodge" class="custom-control-input" value="yes">
<label class="custom-control-label" for="lodge-yes">Yes</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="lodge-no" name="lodge" class="custom-control-input" value="no">
<label class="custom-control-label" for="lodge-no">No</label>
</div>
</div>
</div>
<div class="form-group row">
<label for="report" class="col-sm-3 col-form-label">Are you required/do you wish to prepare
a technical report during the training period?</label>
<div class="col-sm-9 mb-4">
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="report-yes" name="report" class="custom-control-input">
<label class="custom-control-label" for="report-yes">Yes</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="report-no" name="report" class="custom-control-input">
<label class="custom-control-label" for="report-no">No</label>
</div>
</div>
</div>
<div class="form-group row">
<label for="date" class="col-sm-3 col-form-label">Today's Date</label>
<div class="col-sm-9">
<input type="date" class="form-control mb-4" id="date" name="date">
</div>
</div>
<div class="form-group row">
<label for="country" class="col-sm-3 col-form-label">Nominating Country</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="country" name="country"
placeholder="Name of Nominating Country">
</div>
</div>
<div class="form-group row">
<label for="head" class="col-sm-3 col-form-label">Name of Head Exchange of the Local
Committee</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="head" name="head"
placeholder="Full Name of Head Exchange ">
</div>
</div>
<div class="form-group row">
<label for="lc" class="col-sm-3 col-form-label">Local Committee Name</label>
<div class="col-sm-9">
<input type="text" class="form-control mb-4" id="lc" name="lc"
placeholder="Name of the local committee you applied through">
</div>
</div>
<hr class="mb-4" />
<div class="text-left float-left mb-4">
<button id="tab4_prev" type="button" class="btn btn-primary">Previous</button>
</div>
<div class="text-right float-right mb-4">
<button type="submit" class="btn btn-success">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script text="text/javascript">
$(document).ready(function () {
$("#tab1_next").click(function () {
$("#subform-1").removeClass("d-block");
$("#subform-1").addClass("d-none");
$("#subform-2").removeClass("d-none");
$("#subform-2").addClass("d-block");
})
$("#tab2_next").click(function () {
$("#subform-2").removeClass("d-block");
$("#subform-2").addClass("d-none");
$("#subform-3").removeClass("d-none");
$("#subform-3").addClass("d-block");
})
$("#tab2_prev").click(function () {
$("#subform-2").removeClass("d-block");
$("#subform-2").addClass("d-none");
$("#subform-1").removeClass("d-none");
$("#subform-1").addClass("d-block");
})
$("#tab3_next").click(function () {
$("#subform-3").removeClass("d-block");
$("#subform-3").addClass("d-none");
$("#subform-4").removeClass("d-none");
$("#subform-4").addClass("d-block");
})
$("#tab3_prev").click(function () {
$("#subform-3").removeClass("d-block");
$("#subform-3").addClass("d-none");
$("#subform-2").removeClass("d-none");
$("#subform-2").addClass("d-block");
})
$("#tab4_prev").click(function () {
$("#subform-4").removeClass("d-block");
$("#subform-4").addClass("d-none");
$("#subform-3").removeClass("d-none");
$("#subform-3").addClass("d-block");
})
});
</script>
</body>
</html>