Question | For all form submission error messages, are required fields identified? |
---|---|
PASS | Required fields are identified in all form submission error messages. |
FAIL | Required fields are not identified in all form submission error messages. |
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>ATRC Testfile - Check #267.2 - Negative</title> </head> <body> <p>Assume the form below was submitted to the server and has now been returned with an error message.</p> <p><strong>Error:</strong> First name and last name fields were incomplete.</p> <form action="http://www.test.com"> <p> <label for="firstname">First Name (required):</label> <input type="text" id="firstname" /><br/> <label for="lastname">Last Name (required):</label> <input type="text" id="lastname" /><br/> <label for="colour">Favourite Colour:</label> <input type="text" id="colour" /><br/> <input type="submit" value="submit"/> </p> </form> </body> </html>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>ATRC Testfile - Check #267.1 - Positive</title> </head> <body> <p>Assume the form below was submitted to the server and has now been returned with an error message.</p> <p><strong>Error:</strong> Form submission incomplete.</p> <form action="http://www.test.com"> <p> <label for="firstname">First Name (required):</label> <input type="text" id="firstname" /><br/> <label for="lastname">Last Name (required):</label> <input type="text" id="lastname" /><br/> <label for="colour">Favourite Colour:</label> <input type="text" id="colour" /><br/> <input type="submit" value="submit"/> </p> </form> </body> </html>