« February 2007 | Main | April 2007 »
Continue reading "Using CSS Selectors to Highlight Unedited Form Fields" »
There's an art, in my opinion, to validating the information that a user submits in a web form. There are many ways to do it, but few forms do so in a way that is clear for the user and gives them fast feedback, before they submit.
The first thing you should do is use form field labels, descriptive text, and colors to give the user instructions and feedback before they even enter any information. The second is to give them instant feedback via JavaScript when they click on the form's submit button-- before they upload any data. Finally, if the user's entries pass your JavaScript validation and are sent up to the server, you should perform full validation there and, if needed, send their form back to them with clear instructions on how to correct any errors they made. I'll explain each of these steps in detail.
Continue reading "Best Practices for Validating Form Submissions" »
I've been at An Event Apart Boston for the last two days, and I'm excited to say that it was a pretty good conference. To mention just a few of the topics of interest: Eric Meyers' two talks on CSS highlighted some brilliant uses of the latest CSS specifications that Internet Explorer finally supports (as of IE7); Jeffrey Zeldman dispensed some of his worldly advice on how to pick good clients and do good work with them; and Dan Cedarholm explained how the use of microformats will provide people and software with readable content with only one set of code.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 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 | 30 |