Forums
This topic is locked
running total
Posted 27 Feb 2003 03:28:26
1
has voted
27 Feb 2003 03:28:26 james crellin posted:
I have a question about getting a total from the options that a customer has chosen. The nearest example i can show you is like the Dell site. You can customize your computer by selecting different options and then update the price. I would like to do something very simular to this and have the results of the page then emailed to me when they click on the submit button. Below is a link to the Dell site so you can see what i mean. I am using DWmx to build my site. I am not to familiar with using databases, so if that is needed then im sure iam going to ask more questions.configure.us.dell.com/dellstore/config.aspx?cs=19&oc=D825RS&m_1=DA8224H&m_18=ADA745P&m_116=40CDR2P&c=us&l=en&kc=6V699&s=dhs
Any help would be great.
-=- james
"The greatest thing the devil ever did was convince you he didn't exist." =- The Usual Suspects
Replies
Replied 05 Mar 2003 05:08:30
05 Mar 2003 05:08:30 Trey Wentz replied:
You can easily accomplish this with javascript to get the total. You will have to understand how to get the values out of the fields. (something like "var myVarName=document.forms(0).myfieldname.value" will do it)
To get the e-mail you will at least have to use a CGI form mailer. Your ISP should have one preinstalled if they have any preconfigured CGI's installed, or you could get an open source form mailer. I recommend this site for some decent basic cgi scripts nms-cgi.sourceforge.net/scripts.shtml
HTH,
-JustTrey
www.sitespins.com
"We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true."- Robert Wilensky
To get the e-mail you will at least have to use a CGI form mailer. Your ISP should have one preinstalled if they have any preconfigured CGI's installed, or you could get an open source form mailer. I recommend this site for some decent basic cgi scripts nms-cgi.sourceforge.net/scripts.shtml
HTH,
-JustTrey
www.sitespins.com
"We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true."- Robert Wilensky