I've been working on a tool for use in situations where a special code needs to be passed to a person in printed form (e.g.: account activation code in a letter to a customer; giveaway cards for WIFI access; etc) and then needs to be typed into a web form by the recipient.
The paper-to-web-form path provides a number of ways for errors to creep in and opportunities for us to autocorrect some errors, highlight others and avoid some errors altogether.
The fruits of my labours can be viewed on this demo page (requires JavaScript). [based on Algorithm::CouponCode -- ed.]
There's a Perl module for generating easy-to-type codes and validating/correcting/cleaning up the codes submitted. There's also a JavaScript plugin to do client-side validation, correction and instant feedback on mistyped codes.
Feedback is welcome on the concept, the implementation and anything else that you want to comment on.
In reply to RFC: Algorithm::CouponCode by grantm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |