-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
29 lines (27 loc) · 1.37 KB
/
form.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Stuart's Autocomplete form test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache">
</head>
<body>
<p>This page has the cache-control no-cache set</p>
<p>first a form entry with autocomplete="off"</p>
<form action="/action1" method="post">
<label for="ssn1">SSN:</label>
<input type="text" id="ssn1" name="social_number1" autocomplete="off" size="20" />
<p>A form entry with autocomplete="on"</p>
<label for="ssn2">SSN:</label>
<input type="text" id="ssn2" name="social_number2" autocomplete="on" size="20" />
<p>Now autocomplete for username</p>
<label for="uname1">Username:</label>
<input type="text" id="uname1" name="username" autocomplete="username" size="20" />
<p>Now autocomplete for password</p>
<label for="passwd">Password:</label>
<input type="password" id="passwd" name="current-password" autocomplete="current-password" size="20" />
<p>Submit Button</p>
<input type="submit" />
</form>
</body>
</html>