-
Notifications
You must be signed in to change notification settings - Fork 0
/
umuganda_form1.php
91 lines (59 loc) · 2.14 KB
/
umuganda_form1.php
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
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>insert</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<SCRIPT language = "JavaScript" SRC = "js/valid_box.js"></SCRIPT>
</head>
<body >
<div class="header">
<h2>Register</h2>
</div>
<span id="error">
<?php
if (!empty($_SESSION['error'])) {
echo $_SESSION['error'];
unset($_SESSION['error']);
}
?>
</span>
<form method="post" action="umuganda_form2.php" style="background-image: url(image/form.PNG);" >
<div class="input-group" >
<label>PROVINCE</label>
<select name="PROVINCE" id="PROVINCE" onchange="PROVINCEs(this.id,'DISTRICT')" required="" class="select">
<option value=""></options>
<option value="Kigali City" value="">Kigali City </options>
<option value="Southern" value="">Southern </options>
<option value="Northern" value="">Northern </options>
<option value="Eastern" value="">Eastern </options>
<option value="Western" value="">Western </options>
</select>
<label>DISTRICT</label>
<select name="DISTRICT" id="DISTRICT" onchange="DISTRICTs(this.id,'SECTOR')" required="" class="select" >
</select>
<label>SECTOR</label>
<select name="SECTOR" id="SECTOR" onchange="SECTORs(this.id,'CELL')" required="" class="select">
</select>
<label>CELL</label>
<select name="CELL" id="CELL" onchange="CELLs(this.id,'VILLAGE')" required="" class="select">
</select>
<label>VILLAGE</label>
<select name="VILLAGE" id="VILLAGE" required="" class="select">
</select>
<label>RECORD_DATE</label>
<input type="date" name="RECORD_DATE" required="" style="width: 88.5%; height: 50%;">
</div>
<div class="input-group">
<button onclick="return confirm('Are you sure!! You want to Save Data ?')" type="submit" name="next" class="btn">Next</button>
<button onclick="return confirm('Are you sure!! You want to Clear Data ?')" type="reset" name="reset" class="clear" id="clear">Clear</button>
</div>
<p style="color: #ffffff;float: left;">
Wanna Check_Data ?   <a onclick="return confirm('Are you sure!! you want to check users')" href="retrieve.php" style="color: #271c02; font-size: 20px; border: 10px; " >Check Now !!</a>
</p>
<br>
</form>
</body>
</html>