-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (76 loc) · 2.78 KB
/
index.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
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<title>دریافت اطلاعات</title>
<link rel="stylesheet" href="main.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="main.js"></script>
</head>
<body>
<form class="main-form" method="post">
<h1>فرم دریافت اطلاعات کاربر</h1>
<p>لطفا اطلاعات خود را وارد نمایید.</p>
<p id="info"></p>
<label for="gender">جنسیت</label>
<select name="gender" id="gender">
<option>آقا</option>
<option>خانم</option>
<option>غیره</option>
</select>
<br>
<label for="firstname" for>نام</label>
<input type="text" id="firstname" maxlength="30" minlength="3">
<br>
<label for="lastname">نام خانوادگی</label>
<input type="text" id="lastname" maxlength="50">
<br>
<label for="fullname">نام کامل به انگلیسی</label>
<input type="text" dir="ltr" id="fullname" minlength="0" maxlength="150">
<br>
<label for="email">ایمیل</label>
<input type="email" id="email">
<br>
<label for="phone">تلفن</label>
<input type="number" id="phone">
<span id="phonePrefix">09</span>
<br>
<label for="national_code">کدملی</label>
<input id="national_code" type="text">
<br>
<label for="password">رمز عبور</label>
<input id="password" type="password">
<br>
<label for="password_confirm">تکرار رمز</label>
<input id="password_confirm" type="password">
<br>
<label for="address">آدرس</label>
<textarea id="address"></textarea>
<br>
<label >تاریخ تولد</label>
<input id="birthday" type="number" maxlength="10" placeholder="روز" class="birth-field">
<span>/</span>
<input id="birthmonth" type="number" maxlength="10" placeholder="ماه" class="birth-field">
<span>/</span>
<input id="birthyear" type="number" maxlength="10" placeholder="سال" class="birth-field">
<br>
<label for="marital">وضعیت تأهل</label>
<div id="marital" style="display: inline; margin-top: 2px;">
<label for="single">مجرد</label>
<input type="radio" name="marital" id="single">
<label for="married">متأهل</label>
<input type="radio" name="marital" id="married">
</div>
<h3>علاقه مندی ها</h3>
<span>فیلم</span>
<input type="checkbox" name="movie" id="movie">
<span>موسیقی</span>
<input type="checkbox" name="music" id="music">
<span>کتاب</span>
<input type="checkbox" name="book" id="book">
<br>
<input type="submit" value="ارسال" onclick="return validate();" >
<br>
</form>
</body>
</html>