Interchange Developer Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Same billing address as shipping



Hi, I wonder if any of you had implemented a checkbox for making 
Billing address to be the same as Shipping address in account.html?
Such that, when clicked, will refresh the current account.html page 
to display the Billing Address' values to be the same as that of 
Shipping Address.

What I've done was:

<INPUT TYPE=checkbox onClick="this.form.submit()" 
VALUE="my_same_shipping"> Same as Shipping Address

[set my_same_shipping]
[value name="b_address1" set="[value address1]" hide=1]
[value name="b_address2" set="[value address2]" hide=1]
[value name="b_city" set="[value city]" hide=1]
[value name="b_state" set="[value state]" hide=1]
[value name="b_country" set="[value country]" hide=1]
[value name="b_zip" set="[value zip]" hide=1]
mv_todo=refresh
mv_nextpage=account
[/set]

which, of course, was not working.  I've also tried [seti].  Any 
ideas?  Or any suggestions to an easier alternative?


Search for: Sort by: