Chapter 17 . Building Forms from Queries 315 (Web design software)
March 23rd, 2008Chapter 17 . Building Forms from Queries 315 Another situation in which self-submission is a win is when you need to submit the same form more than once. Say you are applying for auto insurance online, and you need to give the particulars of three or four different cars. It s extra work for the user to submit the form, get a success message, and then have to click a button to go back to the form for car #2. This kind of navigation problem has no perfect solution, but in situations where there s a high probability of multiple submissions, self-submission causes fewer clickthroughs for your Web users. Finally, the separate form and form handler make it difficult to pull data from the database, edit it, and submit it repeating the process however many times it takes for the user to be satisfied. A common example of this usage is a form to allow users to change their personal information, such as photos and bios, which people often like to fiddle with until they look exactly like the users want. If you want to make five small incremental edits to your user profile, you aren t going to want to go back and forth between form and form-handler ten times. Self-submission is accomplished by the simplest of means: specifying the same script name as the ACTION target in the FORM element like this: