This code will allow you to add a box to your form that automatically duplicates the Billing information for use in the Shipping fields. This will save your customers some time while filling out the form.
<!-- function copyBillingToShipping() { var form = document.epayform; if(form.shipsameasbill.checked) { form.UMshipcompany.value=form.UMbillcompany.value; form.UMshipfname.value=form.UMbillfname.value; form.UMshiplname.value=form.UMbilllname.value; form.UMshipcompany.value=form.UMbillcompany.value; form.UMshipstreet.value=form.UMbillstreet.value; form.UMshipstreet2.value=form.UMbillstreet2.value; form.UMshipcity.value=form.UMbillcity.value; form.UMshipstate.value=form.UMbillstate.value; form.UMshipzip.value=form.UMbillzip.value; form.UMshipcountry.value=form.UMbillcountry.value; form.UMshipphone.value=form.UMbillphone.value; } } //-->
Once you have saved changes to your payment form, you will be able to instantly fill out the Shipping fields with Billing information.