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