VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 Gift Amount Glitch
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

CHAVOUSA
VP-ASP New User

USA
86 Posts

Posted - October 02 2004 :  21:31:30  Show Profile  Visit CHAVOUSA's Homepage  Reply with Quote
I found a glitch in the following coding....when an user enter something other than a numeric value, the error message displays the value of the field, instead of the field name. For example, if the user enters AAA, in the amount field, the error message says "Amount must be numeric for AAA", instead of saying "Amount must be numeric for Gift Amount field"
A quick fix will be to replace curgiftamount with " Gift Amount field"

If not isnumeric(curGiftamount) then
Serror=Serror & getlang("LangUserPriceError") & " " & curgiftamount &"<br>"
exit sub
end if

keng
VP-ASP New User

152 Posts

Posted - October 03 2004 :  00:11:30  Show Profile  Reply with Quote
Thanks, good catch. But, where do I exactly change it? From which file?

Go to Top of Page

CHAVOUSA
VP-ASP New User

USA
86 Posts

Posted - October 03 2004 :  13:19:17  Show Profile  Visit CHAVOUSA's Homepage  Reply with Quote
Oh, you make that change in shopgift.asp. By the way, this is in VPASP 5.50 version. I am not sure if previous versions have the same problem.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000