Need help fixing a contact form please

by 5 replies
6
I am re-designing my website and I uploaded the new design and my contact form is not working. Any help would be appreciatted.

UnlimitedTVPCSite
#programming #contact #fixing #form
  • What program are you using to design your website?
    Have you used the code from your previous design to put in your new design or have you started afresh?
    This is your form code:
    <form action="mailto:unlimitedtvonpc@gmail.com" enctype="text/plain" method="post"> <p>Name: <input name="Name" type="text" id="Name" size="40"></p> <p>Email: <input name="E-mail" type="text" id="E-mail" size="40"></p> <p>Comment:</p> <p><textarea name="Comment" cols="55" rows="5" id="Comment"></textarea></p> <p><input type="submit" name="Submit" value="Submit"></p> </form>

    Maybe someone with more knowledge of XHTML might see what is wrong.
    Otherwise it looks as if it should work.
  • When i hit submit it is not working, i click on submit and it doesnt do anything. I'm not sure if my code is broken.
  • It's not working because the action is using a mailto command, which doesn't work with forms.

    What you need to do is change this:

    Code:
    <form action="mailto:unlimitedtvonpc@gmail.com" enctype="text/plain" method="post">
    to:

    Code:
    <form action="sendmail.php" enctype="text/plain" method="post">
    Then create a file called sendmail.php which will process the form values and actually send the email.
  • Are you using Wordpress? If so, just download a new contact form plugin and try that instead.
    • [1] reply
    • try coffee cup web form builder its flash based and quite easy to use

      Just another note your site seems to be all to the right of the screen in chrome?

Next Topics on Trending Feed