HTML Help with submit button

johnmck

New Member
Joined
Nov 27, 2006
Messages
43
Maybe not the right place to post this but i'm looking for a code that would work on a site where I have a submit button that does nothing.

I need it to, when pressed, send the information on the page by email to myself but I just don't know how? Any ideas?
 
Hmm. I can't find anything specific that would answer the question at hand but depending on what you are using this for (i.e. how important/professional it is), "we" may want to re-think how to approach the form.

Some of the most common questions our mentor community is asked relate to Email Forms, aka Mailto Forms. These are HTML pages that include a form in which the site visitor can enter some information and send it via email to the intended recipient. There are several common uses for this type of form. They are often used as a feedback mechanism, whereby a visitor can send comments or suggestions about the site back to the webmaster. They are also used as a mechanism to capture data and send it off to a recipient at a remote location, bypassing the need for a database in or near the system where the site is being hosted. Webmasters come up with plenty of creative ways of using these forms, but increasingly over recent months, are also coming up against some problems.

The distinguishing characteristic of an email form is found in its "ACTION" statement in the <FORM> tag...

In the example on that page we see this "ACTION" statement:

<FORM METHOD="POST" ACTION="mailto:your email address">

The "ACTION" in this example is a "mailto:" with an email address. It is this which defines this form as an email form.

The problem arises because modern browsers, IE6 + and equivalent, no longer support email forms! The effect of this is that the visitor fills out the form and clicks the submit button and their email client program is invoked showing a blank email with the specified address in the "To" field. All information entered on the form appears to have been ignored. Essentially, these browsers are treating the email form as if it was a simple "Mailto" email link
http://www.htmlgoodies.com/tutorials/forms/article.php/3479081

This page suggests using Perl or Frontpage--neither of which I have any experience with.

My searching did turn up options of using PHP or javascript as well. Judging by the results I've had searching, I would say there is no definitive way to do this with straight HTML. There are loads of sites out there with help for this stuff, though. These two threads on the subject seem like the would be worth a read:
http://groups.google.com/group/micr...read/thread/7a7791f3b6623913/5c9371312d3c4504
http://groups.google.com/group/macr...read/thread/b828469fc19ad132/7d4258923fa32ac3
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,225,267
Messages
6,183,950
Members
453,198
Latest member
VB6 Programming

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top