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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Contact form not submitting info

    Hi there.

    I have downloaded a contact form which i have appear on my website. When I click the 'send' button nothing happens- it doesn't submit or go through to thank you page. The form does work in someway as when you try to submit without all 'required' info it flags it up. I think i must be missing something. Please can somebody see if they can tell by the code? Thanks

    Code:
    <script language="javascript">var sa_email_id = '11881-7f253';var sa_sent_text = 'Thank you for contacting us. We will get back to you soon.';</script>
    <script language="javascript" src="http://s1.smartaddon.com/sa_htmlform.js"></script>
    <div id="sa_contactdiv">
    <form name=sa_htmlform style="margin:0px" onsubmit="return sa_contactform()">
    <table>
    <tr><td>First Name: <span style="color:#D70000">*</span><br><input type="text" name="firstname" required="true" /></td></tr>
    <tr><td>Second Name: <span style="color:#D70000">*</span><br><input type="text" name="secondname" required="true" /></td></tr>
    <tr><td>E-mail Address: <span style="color:#D70000">*</span><br><input type="text" name="email" required="true" /></td></tr>
    <tr><td>Upload CV:<br><input type="file" name="selectedfile" /></td></tr>
    <tr><td>Subject:<br><input type="text" name="subject" /></td></tr>
    <tr><td>Message: <span style="color:#D70000">*</span><br><textarea name="message" cols="42" rows="9" required="true"></textarea></td></tr>
    <tr><td><input type="submit" value="Send Message" style="font-weight:bold"></td></tr>
    </table>
    </form><div style="padding-top:10px"></div></div></input></br></input></br></input></br></input></br></input></br></input></br>

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    You need some sort of server-side script (using PHP, Perl, ASP, etc) to process the HTML form and send it out. Do you have some scripting that you're not showing us?


  •  

    Posting Permissions

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