Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Help with th form submit button

Posted on 2004-10-21
Medium Priority
Last Modified: 2010-04-06
Hi, Hope someone can help.

I am currently developing a website......I am having trouble with submitting the forms details to the requested email address.  This is an example of  code I am using:

<form name="form1" method="post" action="mailto:emailaddress@msn.com" enctype="text/plain">
<td width="237"><font size="2" face="Arial">Enter First Name:</font></td>
<td width="322"><font face="Arial">
<input type="text" name="first name">
<input name="submit" type="submit"  value="Send">
 <input type="reset" name="Submit2" value="Erase">

Why is this code not working properly.

When I click submit....I get a message box saying form is being submitted using email.  Submitting this form will reveal your email address to recepient and another message box when I click on the previous message box saying ' A program is trying to automatically send email on your behalf. Do you want to allow this'.

Is there a way of getting around not showing these message boxes.........or is there a better way I can send the information on the form.

Hope someone can help Thanks
Question by:dthomas31uk
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 53

Accepted Solution

COBOLdinosaur earned 1500 total points
ID: 12374655
Those are normal security warning intended to let the user know what is going on because they expose themselves when they submit information that way.  The mailto:protocaol, is about the worse way in the world to do forms submission.  The right way to do handle forms is with server side scripts that process the form.  If you do not have server side scriping that you can access then mailto is an anternative, but the security warnings are part of it and we should all be glad they are there.


Author Comment

ID: 12375872
Got you so when I get a web host sorted out for the website.  How do I sort out server side scripting????
LVL 53

Expert Comment

ID: 12375931
Many host with server side scripting support, have a lot of standard scripting for forms handling they may do what you need or is easily customized.  Then you just change the action on the form to th name of the server side script and then it can put the information in a database, or email it to you, or both.


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question