Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 CreateCustRow
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

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