Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 How to make required asterisks red?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hypertexas
Starting Member

9 Posts

Posted - May 08 2003 :  02:24:41  Show Profile  Reply with Quote
How would I change the font color format of the black asterisk in the customer info required fields to red (in shopcustomer.asp)? (Not the whole label, just the asterisk.)
Thanx,
John Daigle

Superal
VP-CART Expert

Canada
542 Posts

Posted - May 08 2003 :  11:15:03  Show Profile  Reply with Quote
Search shopcustomerform.asp for * and add your font tags around it.

Go to Top of Page

hypertexas
Starting Member

9 Posts

Posted - May 08 2003 :  13:44:55  Show Profile  Reply with Quote
Hmmm. Your tip works perfectly for the State and Shipping Method, but not for First name, Last Name, etc.? I wonder where the asterisk is being formatted for those fields?

I notice I can hard code the LangCustFirstname, etc. in shop$language_english.asp which allows me to place a red asterisk, but then I've got two asterisks?!!<g>

Any thoughts appreciated.
John

Go to Top of Page

Superal
VP-CART Expert

Canada
542 Posts

Posted - May 08 2003 :  15:20:58  Show Profile  Reply with Quote
For those fields they are found in shopproductsubs.asp. In Sub CreateCustRow put your font tags around the asterisk

Go to Top of Page

Notion
Starting Member

United Kingdom
14 Posts

Posted - January 08 2005 :  08:40:07  Show Profile  Visit Notion's Homepage  Reply with Quote
This is a great tip...a little more on it.....

Just open shopproductsubs.asp and locate line 62 (this is the line in Ver5.0) and change:
------------------------------------------
aster= "* "
------------------------------------------
to>>
------------------------------------------
aster= "<font color='#FF0000'> * </font>"
------------------------------------------
this will give your a red asterix.



Edited by - notion on January 08 2005 08:43:11
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