Welcome, Guest ( Customer Panel | Login )




 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-CART 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-CART 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-CART 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
0 Item(s)
$0.00