Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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?



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: