-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
50 lines (35 loc) · 1.81 KB
/
signup.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
<!-- <!DOCTYPE html>
<html>
<head>
<title> Sign Up Form </title>
<meta name="viewport" content="width= device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/signup.css">
</head>
<body>
<form from="myForm" action ="save.php" method="POST">
<div class="login-box">
<h1> Sign Up </h1>
<div class="textbox">
<input type="text" placeholder="Username" id="customer_name" name="customer_name" value="" required>
</div>
<div class="textbox">
<input type="password" placeholder="Password" id="customer_password" name="customer_password" value="" maxlength="8" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="password must cantain at least one number and one uppper case and one lowercase letter and 8 characters" required>
</div>
<div class="textbox">
<input type="text" placeholder="Email" id="customer_email" name="customer_email" value="" required pattern="[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9-]+.[a-z]{2,4}" title="Invalid Email">
</div>
<div class="textbox">
<input type="text" placeholder="Address" id="customer_address" name="customer_address" value="" required>
</div>
<div class="textbox">
<input type="text" placeholder="Country" id="customer_country" name="customer_country" value="" required>
</div>
<div class="textbox">
<input type="text" placeholder="Phone" id="customer_phone" name="customer_phone" value="" required onkeypress="return /[0-9]/i.test(event.key)" maxlength="10" pattern="([0-9]){10,}">
</div>
<input class="btn" type="submit" name="" value="Sign Up"> <br> <br>
<center> <a href="index.html"> Already have an account ? </a> <center>
</div>
</form>
</body>
</html> -->