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
 Customization
 CreateCustRow
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

searley
VP-ASP New User

169 Posts

Posted - June 23 2005 :  00:19:20  Show Profile  Reply with Quote
where is CreateCustRow generated??

i have an idea to change the cell backgrounds red when there is an entry error

my thought was along the lines of:



If strPostCode = "" Then
sError = sError & LangCustPostCode & LangCustRequired & "<br>"
Session("rgserrzip")="true"
else
Session("rgserrzip")="false"
End If

and for the form itself


if GetSess("rgserrzip") ="true" then
CreateCustRowERROR LangCustPostCode,"shipzip", strshipzip,"No"
else
CreateCustRow LangCustPostCode,"shipzip", strshipzip,"No"
end if

CreateCustRowERROR could be a duplicate of CreateCustRow just with the cell colour changed ??

--
Quality Printer Consumables
http://www.inkcarts.co.uk


Edited by - searley on June 23 2005 00:21:02

searley
VP-ASP New User

169 Posts

Posted - June 23 2005 :  01:03:23  Show Profile  Reply with Quote
OK finally found it.. and my idea works perfectly!!

now any numpty can see where the error is :-)


--
Quality Printer Consumables
http://www.inkcarts.co.uk
Go to Top of Page

seanuk
Starting Member

21 Posts

Posted - September 29 2007 :  13:56:09  Show Profile  Reply with Quote
quote:
Originally posted by searley

OK finally found it.. and my idea works perfectly!!

now any numpty can see where the error is :-)


--
Quality Printer Consumables
http://www.inkcarts.co.uk



thanks for sharing where you found it!!?!?!?!?!?!?

Go to Top of Page

goshen
VP-ASP New User

132 Posts

Posted - September 30 2007 :  22:45:20  Show Profile  Reply with Quote
What I did was just changed the color of the error message displayed at the top of the page to Red. But I guess searly's methos is much better. Hopefully, he can share with the vpasp world.
Go to Top of Page

Kidd
VP-ASP Super User

Australia
373 Posts

Posted - September 30 2007 :  22:50:02  Show Profile  Reply with Quote
CreateCustRow routine is in shopproductsubs.asp.

For me i use editpad for editing, it has a site wide search function, i think dreamweaver also has a site wide search function
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000