Hacker News new | ask | show | jobs
by ceejayoz 5199 days ago
> Invalid CCs would trigger a little warning but still allow the form to be submitted.

Out of curiosity, why allow the form to submit anyways?

2 comments

Rule #1: never assume your code covers 100% of all cases.
What richthegeek said. We put it in as a rough helper but didn't want to run the risk of denying something valid. The middle ground seems to work well.