Skip to content

Add a "don't clear form fields on a submission error" example to 3.3.7 #4372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions understanding/22/redundant-entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ <h2>Examples of Redundant Entry</h2>
<ul>
<li>A form requests the user’s corporate identification number (ID) in the first step of a process to purchase a new computer. In the 3rd step the user is asked to confirm that the computer will belong to the user (rather than a colleague), and re-shows the ID. It allows the user to change the ID, but defaults to the previously entered one.</li>
<li>A form on an e-commerce website allows the user to confirm that the billing address and delivery address are the same address.</li>
<li>A user submits a checkout form with an incorrect credit card number in it. The form updates, showing an error message, and doesn't clear any of the completed form fields.</li>
<li>A search results page pre-fills the search input with the previously entered search term in the same process.</li>
</ul>

Expand Down