Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jul 2005
    Posts
    352
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Arrow Form submitting Problem

    When you enter data into all three input fields and click submit it opens your email but doen't write any information into the body of the email. How can i fix this?

    Any help will be appreciated,
    Thanks in Advance,
    MW2005

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    
    <html>
    
    <head>
    <title>###### - Contact Us</title>
    <body onload="document.agreeform.reset()">
    
    <script type = "text/JavaScript" src = "validation.js">
    </script>
    <LINK href="form.css" rel="stylesheet" type="text/css">
    </style>
    
    </head>
    
    <body>
    <form name="agreeform" method="post" enctype="text/plain" action='mailto:########@#######.com'>
    
    <label for="name">First Name</label>
    <input type="text" name = "name" value=""/>
    <br />
    
    <label for="email">Email Address:</label>
    <input type="text" name="email" value=""  onChange="javascript:this.value=this.value.toLowerCase();"/>
    <br />
    
    <label for="query">Message</label>
    <textarea name="query"></textarea>
    <br />
    
    &nbsp;&nbsp;&nbsp;<input type="submit" value="Submit!" id="submitbutton"/>
    
    </form>
    
    </body>
    </html>
    Last edited by mw2005; 08-14-2005 at 01:02 PM.

  • #2
    New Coder
    Join Date
    Aug 2005
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post

    This won't work even if you did the right coding, you shouldn't do it anyway. IE doesn't insert content into e-mails. Many people use hotmail, gmail etc so it's hard for a browser to tell where to put the text. A direct form submittal would work.

  • #3
    Regular Coder
    Join Date
    Jul 2005
    Posts
    352
    Thanks
    1
    Thanked 0 Times in 0 Posts
    My server doesn't allow me to use any server-side scripts. Is there any way i can do it without opening the email client and without using any server-side languages?

    Thanks in Advance,
    MW2005

  • #4
    Registered User
    Join Date
    Oct 2004
    Posts
    592
    Thanks
    0
    Thanked 1 Time in 1 Post
    If you're in such situation , the code like the following one will best suit your need, I think

    eg.
    Code:
    <a href="mailto:contact@CF.net, contact1@CF.net?subject=Mailto Test Subject text&cc=contact3@CF.net&bcc=contact4@CF.net&body=Test mailto body message">Test Mailto Link</a>

  • #5
    Regular Coder
    Join Date
    Jul 2005
    Posts
    352
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks for that but i would prefer using a form, is there any way you can fix the form that i made using HTML?

    Thanks in Advance
    MW2005


  •  

    Posting Permissions

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