Results 1 to 3 of 3

Thread: Problems with getting the send button to work with a form. (MAILTO used)

  1. #1
    Join Date
    Jul 2012
    Vantaa, Finland

    Problems with getting the send button to work with a form. (MAILTO used)

    I have created a form and am having problems with sending the completed form. When I press the send button it opens my email account.

    The code i use is below;

    <div id="form-det">
    <form action="MAILTO:info@what-do-christians-believe.co.uk" method="post" enctype="text/plain">
    <legend >
    <b>Personal Information</b>
    Your Name:
    <input type="text" name="name" value="your_name" size="20">
    Your email address:
    <input type="text" name="mail" Value="your_email" size="25">
    <b>Your Comments</b>
    <p>Please tell us the reason why you want to contact us as accurately and as briefly as possible. </p>
    <p>Your comments are restricted to 20 lines of text.</p>
    <textarea rows="20" cols="80"></textarea>
    <p>Pressing the submit button will email your form to what-do-christians-believe.co.uk</p>
    <input type="submit" value="Send"/>
    <p> Pressing the reset button will delete all entered data.</p>
    <input type="reset" Value="Reset" />
    <p> If you require a copy of your comments please print this form by right clicking on your browser and selecting print.</p>

    What do I need to do to get it working properly.

    I also tried setting up captcha. I can't get that to work. Do you need captcha when there are other security devices around like cloud?

  2. #2
    Join Date
    Mar 2012
    <form action="MAILTO:info@what-do-christians-believe.co.uk" method="post" enctype="text/plain">

    That is what "mailto" does. It opens up your email account. Nothing to do with the form input. To convert form input into an email you need to use PHP or JavaScript. The easiest way may be to incorporate pre-written contact form code.

  3. #3
    Join Date
    May 2005
    Gold Coast (MS)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center