54. Allow People to Make Mistakes
“The real danger is not that
computers will begin to think like
men, but that men will begin to
think like computers.”
Sydney J Harris
66. Validate Early,Validate Often
Allow people to make mistakes
Clearly mark invalid fields
Pattern validate on entry
Enforce minimum not maximum
Get it right
92. Custom Validation
Ajax Service
public
ValidationResponse
IsValidPostcode(string
postcode,
string
caller)
{
using
(var
p
=
new
PostalAddressClient())
{
if
(!string.IsNullOrEmpty(postcode)
&&
!
p.IsValidPostcode(postcode))
{
…
}
93. Custom Validation
Ajax Service
public
ValidationResponse
IsValidPostcode(…)
{
…
return
new
ValidationResponse(…,
caller);
}
}
return
new
ValidationResponse(string.Empty,
caller);
}
103. Standing on the Shoulders of Giants
Wufoo
The Current State of HTML5 Forms
http://wufoo.com/html5/
Luke W
Web Form Design: Filling in the Blanks
http://www.lukew.com/resources/web_form_design.asp
Evolving E-commerce Checkout
http://www.lukew.com/ff/entry.asp?1579
104. Standing on the Shoulders of Giants
Steve Krug
Don't Make Me Think
http://www.sensible.com/dmmt.html
Punkchip
WAI-ARIA to enhance form validation
http://www.punkchip.com/2010/12/aria-enhance-
form-validation/