KBD

Keith Devens .com

Saturday, August 30, 2008 Flag waving
"It's no trick for talented people to be interesting, but it's a gift to be interested. We want... – Randy S. Nelson (dean of Pixar University)

Archive: April 17, 2004

← April 16, 2004April 19, 2004 →

Daily link icon Saturday, April 17, 2004

Best practices for web form errors

Simplified Form Errors

Anything else anyone can recommend? I reworked my form library a bit, which I plan to release as open source. One of the things it can do is generate a default form given a form definition. Most of the time, that form is completely adequate and you don't need to do anything else. The form I'm typing in right now is completely auto-generated.

Anyway, I just want to make sure I make the generated forms as good as possible, so if anyone has anything else they'd like to point me to, please do.

Update: A little more here

Also, what about security? You can prevent automated posting to some degree by, for example, marking the form with the timestamp it was sent as well as an associated hash of that timestamp. When both are sent to the server they're validated against each other. It doesn't completely prevent automated posting, but it would at least require some HTML scraping to circumvent. What else?

Update: It seems to me that there are a few kinds of errors you have to report. You have the field-specific errors, such as "E-mail address is required", and "E-mail address was not in a valid format", and then inter-field errors, such as "Both password fields didn't match". Then you have whole-form errors that summarize the state of the entire form, such as "There was an error posting your entry".

yet another test post

Skateboarding bulldog!

You must check out Tyson the skateboarding bulldog at http://www.skateboardingbulldog.com/.

Make sure you check out the video linked here.

I can't remember where I came across this, even though I just downloaded the video a little while ago.

← April 16, 2004April 19, 2004 →
August 2008
SunMonTueWedThuFriSat
 12
3456789
10111213141516
17181920212223
24252627282930
31 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

new⇒Girls, please don't get breast implants

http://when-3.ofawyib.net​http://girls-24.iniexka.net​http://swingers-4.emy...

Henry: Aug 30, 4:15am

new⇒Johnny Walker Blue Label

Wow, thanks for the scotch review​:D

Lagavulin and Laphroaig are​some of...

Keith: Aug 29, 3:35pm

Generated in about 0.048s.

(Used 7 db queries)

mobile phone