Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Gubbins #1
Setting Billing Address to Delivery
hi i am in the middle of revamping my registration pages and i am trying to
create a form that if a check box is clicked the billing address info is used
and the delivery address is set automatically? Anyone have any ideas? i am
lost here!!!! Gubs
Gubbins Guest
-
Registration / recurring billing
I have a site with several hundred users that I am going to start charging use for. I would like to bill new users once or possibly even bill them... -
OT: Time Billing software for OS X?
I have been using TimeSlips billing software since their version 1 from the 1980s. Excellent software but they focused very successfully on the legal... -
ASP/CDO verify email address from Exchange 2000 non-delivery report
Apologies for the cross-post but i thought i'd aim for the largest audience possible. I have a web site that users have to register to with their... -
Help with Setting up HTTP address
Can anyone give me some information on how to setup a http address. I have a Siemens Speedstream SS2602 Router. I have some experience with FTP but... -
Billing / Invoice scripts?
I am looking for a script to automate the billing of my web hosting and development clients. I've looked at CBMS and WebHost. Both look as though... -
CarlGrint #2
Re: Setting Billing Address to Delivery
I use a JavaScript Jules includes in his example for CharonCart.
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
<!--
function copytext() {
if (document.fmreg.SameBilling.checked) {
document.fmreg.txtBillAddress1.value=document.fmre g.txtDeliveryAddress1.value
document.fmreg.txtBillAddress2.value=document.fmre g.txtDeliveryAddress2.value
document.fmreg.txtBillTown.value=document.fmreg.tx tDeliveryTown.value
document.fmreg.txtBillCounty.value=document.fmreg. txtDeliveryCounty.value
document.fmreg.txtBillPostCode.value=document.fmre g.txtDeliveryPostCode.value
}
else {
document.fmreg.txtBillAddress1.value=""
document.fmreg.txtBillAddress2.value=""
document.fmreg.txtBillTown.value=""
document.fmreg.txtBillCounty.value=""
document.fmreg.txtBillPostCode.value=""
}
}
//-->
this goes in your Javascript section for the page, or an external file if you
so wish.
Then for your form
<input name="SameBilling" type="CheckBox" class="textbox" id="SameBilling"
onClick="MM_callJS('copytext()')" value="1" >
my organisation address is the same as my delivery address
obviously this is set up for my form so you would need to change the field
names.
Originally posted by: Gubbins
hi i am in the middle of revamping my registration pages and i am trying to
create a form that if a check box is clicked the billing address info is used
and the delivery address is set automatically? Anyone have any ideas? i am
lost here!!!! Gubs
CarlGrint Guest
-
Gubbins #3
Re: Setting Billing Address to Delivery
thanks for that i take it that i change frmreg to the name of my form? and the firld name to replace mine?
If i am right about what i said i will try it later when i get!! ta!!
G
Gubbins Guest
-
Gubbins #4
Re: Setting Billing Address to Delivery
thanks it worked a trest! much appreciated for the help!!
Gubs
Gubbins Guest



Reply With Quote

