Print Page | Close Window

CreditCard not validating with text input

Printed From: SalesCart
Category: Legacy Products
Forum Name: SalesCart NET
Forum Description: For SalesCart NET developers and designers to converse with other SalesCart NET owners
URL: http://forum.salescart.com/forum/forum_posts.asp?TID=556
Printed Date: April/23/24 at 4:12am
Software Version: Web Wiz Forums 11.04 - http://www.webwizforums.com


Topic: CreditCard not validating with text input
Posted By: wtafuro
Subject: CreditCard not validating with text input
Date Posted: May/26/06 at 12:01pm
If I input the word "text" into the credit card number box on payment2.aspx the form will not validate and it will go to the next page and complete the order without a credit card number. We are not using the check page at all in this site. Any way to fix this?

-------------
Wayne



Replies:
Posted By: mikeb
Date Posted: June/01/06 at 9:41am
You can use the FrontPage form validation or dreamweaver validation...is that what you mean? Are you referring to the checkluhn routine?


Posted By: wtafuro
Date Posted: June/01/06 at 10:54am
Yes That is what I'm talking about but I'm using Dreamweaver 8. Can't seem to get the validation right on the page.

-------------
Wayne


Posted By: mikeb
Date Posted: June/01/06 at 11:18am
Dreamweaver has a bunch of extensions that you can get to manage and configure validation. Last I looked there were like 12 companies providing free "validation" extensions for Dreamweaver. You just need to use one of those extensions of your choice to set form validation on for the field.

Also, I've seen in the past, that it can help to rename the page to .htm, put the validation on and then rename it to .aspx.


Posted By: wtafuro
Date Posted: June/01/06 at 11:58am
Mike,

Thanks!! That's a big help. On another point do you know of a way to validate product weight? I need to be sure the customer is purchasing a minimum of 5 pounds but the site has products weiging in at 2.5 lbs.
I can't seem to find an area that I can validate on this amount.



-------------
Wayne


Posted By: mikeb
Date Posted: June/01/06 at 12:10pm
Use the fixed shipping lookup tables to establish a weight range of 0-5lbs and instead of specifying a shipping price, you can specify a shipping message that says minimum order of 5lbs required. It won't stop them per se but tell them.


Posted By: wtafuro
Date Posted: June/01/06 at 12:14pm
Thanks Mike

-------------
Wayne



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.04 - http://www.webwizforums.com
Copyright ©2001-2015 Web Wiz Ltd. - http://www.webwiz.co.uk