cian1991ferrari Posted June 23, 2010 Share Posted June 23, 2010 I'm just developing a payment module and trying to make some validation built into the forms etc. At the moment I need validation for an expiry date in the form MMYY to check that it has not expired, and I need validation to check that a cardholders name only contains valid chars such as a-z, A-Z and a space only. Can anyone help please?? Link to comment Share on other sites More sharing options...
cian1991ferrari Posted June 24, 2010 Author Share Posted June 24, 2010 BUMP for this.Can anyone please help?? The form accepts in expiry date in MMYY format, i.e, 0212 for Feb 2012. I need to check that if a card expires in 0212 lets say, that it is not gone past the end of 0212. Can someone please please help me???? Link to comment Share on other sites More sharing options...
rocky Posted June 24, 2010 Share Posted June 24, 2010 Have a look at the Offline Credit Card module. It does validation of credit card numbers in Javascript and might validate expiry dates too. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now