View Single Post
  #107  
Old 03-10-2006, 03:55 AM
 
btomasie btomasie is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 80
 

Default

I successfully implemented this in a 4.0.14 store that I did. But I am now doing another store, and it's in 4.0.17. I wasn't able to simply copy the same stuff over and get everything to work correctly. Having the name copied to the billing part works fine, but when I check the box to move the billing fields into the shipping fields, I get an error. It unfortunately doesn't give me much to go on, on where to troubleshoot.

So, has anyone successfully get this to work in v4.0.17 ? Or, I guess more importantly, what has changed between versions that I might be able to rework this myself?

***EDIT***
I went back into my store with Friefox and enabled the Javascript Console. It gives me a detailed error message now:

Error: document.getElementById("_s_state") has no properties
Source File: http://www.xxxxxxxxx.com/skin1/copybilling.js
Line: 10

In the copybilling.js file, this is line 10:
_s_state = document.getElementById('_s_state').value;


I have copied and pasted the javascript I am using from redlime's example.

Thanks!
Brian
__________________
X-Cart Gold v4.0.18 [unix]
- Easy Checkout module
- ezUpsell module
- CDSEO module

X-Cart Gold v4.1.11 [unix]
***38,000+ active products!
- CDSEO module
- Address Book module
- Reorder module
- Smart Search module

X-Cart Gold v4.4.2 [unix]
- in development now!
Reply With Quote