[ic] Same billing address as shipping

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Mon Jul 22 20:14:01 2002


On Tue, Jul 23, 2002 at 06:08:47AM +0800, Interchange User wrote:
> 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

If you are doing a one page checkout you might find
javascript easiest solution.  YMMV


> 
> [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?
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 

-- 

Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux