View Single Post
  #76  
Old 06-15-2005, 09:44 AM
 
steveparks steveparks is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: UK
Posts: 87
 

Default works in 4.0.13

Hi all

I got this working ok in 4.0.13

Have you applied the patch mentioned at the beginning of the post? http://forum.x-cart.com/download.php?id=9

The only thing I did differently was the position of the {literal} tags. I put them outside the <SCRIPT> tags. I don't know whether that would make a difference though, it's just the way I've always done it.

Code:
{literal} <SCRIPT type="text/javascript"> function update_b_firstname() { document.registerform.b_firstname.value = document.registerform.firstname.value; } function update_b_lastname() { document.registerform.b_lastname.value = document.registerform.lastname.value; } </SCRIPT> {/literal}

is the way i did the javascript functions. not much difference though.

steve
__________________
--------------
RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3
X-Cart 4.0.16 - Live
X-Affiliate
X-AOM
ez-checkout
ez-upsell
--------------
Reply With Quote