Ask a Question related to ASP Database, Design and Development.
-
Darren Woodbrey #1
ASP VBSCRIPT
I have a form with ship to customer and bill to customer fields. Both of
these are required fields. I want to put a check box in the form and if the
check box is checked then the value of the ship to customer is loaded into
the bill to customer. I need this to happen before the form is submitted.
can I do this with ASP?
The person fills in the ship to customer and if the bill to customer is the
same then they just check the box and the same value is automatically
entered. If they are different then he just types the bill to customer in.
Thanks!
Darren
Darren Woodbrey Guest
-
ASP/VBScript - if then or else
I'm developing a site using ASP/VBScript and I'm trying to populate a table with data contain within a recordset using the repeat region... which is... -
VBScript
I'am running window server 2000 and MS frontpage on my computer. I created ASP page with the frontpage editor. The asp code are not running when I... -
VBScript and ASP
Can I copy code from a .ASP page into a .VBS file and execute it? I need to run code in an ASP page in a daily event on the server. Thanks! ... -
ASP.NET and vbscript
Browser security settings may be hampering your attempts. To get it to work, the setting you'll most likely need to adjust can be found on the... -
VBScript to ASP
I have an ASP page, on the Window_OnLoad event I use VbScript to popup an Inputbox to accept a value from the user and put it into a string called... -
Evertjan. #2
Re: ASP VBSCRIPT
Darren Woodbrey wrote on 28 jun 2004 in
microsoft.public.inetserver.asp.db:
> I have a form with ship to customer and bill to customer fields.
> Both of these are required fields. I want to put a check box in the
> form and if the check box is checked then the value of the ship to
> customer is loaded into the bill to customer. I need this to happen
> before the form is submitted.No.> can I do this with ASP?
ASP is serverside, so you have to submit to have ASP running.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. Guest
-
Bullschmidt #3
Re: ASP VBSCRIPT
JavaScript:
function jsCopyBillFieldsToShipFields() {
// This function is triggered by button's onclick.
// Dim var.
var frm;
// Form.
frm = document.frmMain
// Set form fld.
frm.ShipName.value = frm.DistribName.value;
frm.ShipContactName.value = frm.Contact1Name.value;
frm.ShipAddress1.value = frm.DistAddress1.value;
frm.ShipAddress2.value = frm.DistAddress2.value;
frm.ShipCity.value = frm.DistCity.value;
frm.ShipState.value = frm.DistState.value;
frm.ShipZipCode.value = frm.DistZipCode.value;
frm.ShipPhone.value = frm.DistPhone.value;
frm.ShipFax.value = frm.DistFax.value;
}
Best regards,
J. Paul Schmidt, Freelance ASP Web Designer
[url]http://www.Bullschmidt.com[/url]
ASP Designer Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Devdex [url]http://www.devdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Bullschmidt Guest



Reply With Quote

