<html>
<!-- A page that is used to exercise formless form filling when an autocomplete
attribute is attached to at least one input element. -->
<body>
<div id="syntheticform1">
First Name: <input type="text" name="firstname" id="firstname" autocomplete="given-name"><br>
Address: <input type="text" name="address" id="address"><br>
City: <input type="text" name="city" id="city"><br>
<label for="state">State:</label>
<select name="state" id="state">
<option value="--" selected>--</option>
<option value="CA">CA</option>
<option value="MA">MA</option>
<option value="NY">NY</option>
<option value="MD">MD</option>
<option value="OR">OR</option>
<option value="TX">TX</option>
<option value="OH">OH</option>
<option value="IL">IL</option>
<option value="DC">DC</option>
</select> <br>
Zip: <input name="zip" id="zip"> <br>
Company: <input name="company" id="company"> <br>
Email: <input name="email" id="email"> <br>
Phone: <input name="phone" id="phone"> <br>
<input type="reset" value="Reset">
<input type="submit" value="Submit" id="profile_submit">
</div>
</body>
<script>
function hasFilled() {
var firstname = document.getElementById('firstname');
if (firstname) {
window.domAutomationController.send(firstname.value != 'M');
}
}
</script>
</html>