01.
<!DOCTYPE html>
02.
<html>
03.
04.
<head>
05.
<title>TEST </title>
06.
<script>
07.
function
check_form(sss){
08.
var
format_mail=/^([a-zA-Z]{1,})+([a-zA-Z0-9\_\-\.]{1,})+@([a-zA-Z0-9\-\_]{1,})+([.]{1,1})+([a-zA-Z0-9\-\_\.]{1,})$/;
09.
if
(!(format_mail.test(name_form.email.value)))
10.
{
11.
alert(
"Enter email again"
);
12.
name_form.email.focus();
13.
return
false;
14.
}
15.
16.
17.
}
18.
19.
</script>
20.
21.
<form action=
"action_profile.php"
method=
"post"
name=
"sss"
onSubmit=
"return check_form()"
>
22.
<br><br>Full name:
23.
<input type=
"text"
name=
"fname"
placeholder=
" Mana"
style=
"width:300px"
>
24.
<br><br>Lastname:
25.
<input type=
"text"
name=
"lname"
placeholder=
" Manee"
style=
"width:300px"
>
26.
<br><br>Age:
27.
<input type=
"text"
name=
"old"
placeholder=
"10"
style=
"width:300px"
>
28.
<br><br> Email:
29.
<input type=
"text"
name=
"email"
placeholder=
"abc@email.com"
>
30.
<br><br>Phone number:
31.
<input type=
"text"
name=
"phone"
placeholder=
" 0987654321"
style=
"width:300px"
size=
"10"
maxlength=
"10"
>
32.
<br><br> card No.:
33.
<input type=
"text"
name=
"no"
placeholder=
" 1234567890"
style=
"width:300px"
>
34.
<br><br> Salary PER month:
35.
<select name=
"money"
style=
"width:300px"
>
36.
<option value=
"-1"
>Select an option</option>
37.
<option value=
"1"
>0-20,000</option>
38.
<option value=
"2"
>20,001-40,000</option>
39.
<option value=
"3"
>40,001-60,000</option>
40.
<option value=
"4"
>60,001-100,000</option>
41.
<option value=
"5"
> 100,001 UP</option>
42.
43.
44.
<br><br><input type=
"submit"
>
45.
46.
</form>