Forum Moderators: open
I can get the calculations to work, but when it comes time for the customer to submit the information, it comes up empty when I get the form email.
The first url has an excel spreadsheet component which I have been unable to locate just how to retrieve the information after input.
The second url, I inserted a JavaScript form-which works great, but again, I am not able to retrieve the information after input.
HELP!
http://www.apm4parts.com/PO.htm
http://www.apm4parts.com/scripted_order_form.htm
On to your topic. The real problem is that you are using Front Page with all it's weird coding and bots.
For instance, this is taken from your Order Form page:
<HEAD>
</TABLE></FORM>
<TITLE>Scripted Order Form</TITLE>
Those close table and close form tags are floating up there, wreaking havoc in browsers and functionality. And there is no </HEAD> tag to be found. Those types of errors will cost dearly in usability. In some browsers it just won't work.
If all you want is a way to get the form information to you through e-mail, there are many easier solutions available, all of which involve some type of server side scripting. You posted to the Microsoft board. Do you know if your web host is using IIS as the webserver? If so, you'll want to investigate ASP and something called ASPmail or CDONTS. This is the most effective way to get form contents mailed to you.
Check back after you looked into those topics above, and we can help you write a much cleaner page which will work for you.
Good luck!
First you need to find out what's running on the server. My guess would be NT 4 or 5 with IIS at least IIS 4 but I would ask your system administrator anyway. It sounds like you are attempting to send the information submitted in a form via email. ASP, JSP, and PHP all support this functionality.
I would change the action attribute of the form tag to point to another process page. ASP and JSP will pull the information submitted to the page from the Request object. PHP will implicitly make the information available as variables. All you need to do is to format the body of the email with the posted information and send the order.
Here's a good ASP Example, just ignore the mail component. You will probably want to use the CDOs framework for simplicity:
[flicks.com ]
More on Collaboration Data Objects:
Here's an example in form processing in PHP:
Here's the mail for PHP:
JSP is a little more complicated but if your up for it, here's an example of the form processing:
I couldn't find an email example in JSP that didn't have you building a tag library but here's an example anyway:
Hope this helps.