-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate profile.html
More file actions
54 lines (48 loc) · 2.4 KB
/
create profile.html
File metadata and controls
54 lines (48 loc) · 2.4 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>JavaScript</title>
<script type="text/javascript">
function check_entries(){
var loginid = document.getElementByID("LoginID");
var pw = document.getElementByID("Password");
var cfrmpw = document.getElementByID("ConfirmPassword");
var name = document.getElementByID("Name");
var nickname = document.getElementByID("Nickname");
var email = document.myForm.email.value // document.getElementByID("email");
var addrLine1 = document.getElementByID("AddressLine1");
var city = document.getElementByID("City");
var state = document.getElementByID("State");
var zip = document.getElementByID("ZIPCode");
// insert form validation here
}
</script>
</head>
<body>
<form>
Welcome to the Account Creation page. Here, you will create your account. <br/>
Enter the following: <br/> <br/>
Login Credentials: <br/>
Login ID: <input type="text" id="LoginID" required/> <br/>
Password: <input type="text" id="Password" required/> <br/>
Confirm Password: <input type="text" id="ConfirmPassword" required/> <br/> </br/>
Personal Information: <br/>
Name: <input type="text" id="Name" required/> <br/>
Nickname (for commenting and rating): <input type="text" id="Nickname" required/> <br/>
E-mail Address: <input type="text" id="email" required/> <br/>
Home/Street Address: <br/>
Unit Number and Street: <input type="text" id="AddressLine1" required/> <br/>
City: <input type="text" id="City" required/> <br/>
State (2 letters-abbreviation): <input type="text" id="State" required/> <br/>
ZIP Code: <input type="text" id="ZIPCode" required/> <br/> <br/>
Credit Card Information: <br/>
Card Type (VISA, AmEx, etc): <input type="text" id="cc_type" required/> <br/>
Card # (no spaces or dashes): <input type="text" id="cc_number" required/> <br/>
Exp Date (MM/YYYY): <input type="text" id="cc_month" required/> /
<input type="text" id="cc_year" required/> <br/>
CVV: <input type="text" id="cc_cvv" required/> <br/> <br/>
<input type = "submit" value="Submit" onclick = "check_entries();"/>
</form>
</body>
</html>