in reply to Re: RFC: Algorithm::CouponCode
in thread RFC: Algorithm::CouponCode

Thanks for taking a look.

Sorry, I should have mentioned that JavaScript is required for the demo. I've updated the link.

In a live app, the JavaScript is optional and the backend validation routine doesn't care if you enter the '-' characters or not.

I don't really get what you mean about the highlighting decreasing the security. If the box is red the user made a typo - the aim is to help the user. Having the box go green doesn't mean you typed the right thing it just means you typed one of the 32768 possible codes that would make that box go green.

I haven't yet decided whether the green is useful. The red to indicate a keying error is kind of the whole point but the green is optional.

Replies are listed 'Best First'.
Re^3: RFC: Algorithm::CouponCode
by jethro (Monsignor) on Apr 07, 2011 at 11:11 UTC

    Sorry, after I had read the more detailed description further down the webpage I realized my error. You saw my old post.