Contact form not working

Home Forums Timessquare Site Template Contact form not working

This topic contains 7 replies, has 2 voices, and was last updated by  miltone 9 years, 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4442

    miltone
    Participant

    Hi, the contact form is not working. When you hit the submit button it does nothing. It is happening in my version as well as in the sample you have at envato. The demo does not submit either. Thanks.

    #4451

    ab-themes
    Keymaster

    Well it’s just html input fields. On their own they won’t do anything. You need to set up a php file that will take your input, compose the mail, and (provided your server is set up for sending and receiving email) send it.

    Look here on how to do that: http://www.templatemonster.com/help/how-create-contact-form-html.html

    #4488

    miltone
    Participant

    Thank you for your reply; However, the template is advertised as having a “working contact form” and it has a sendmail.php (where we are supposed to enter our email) and our google key for the captcha. There is also a custom.js file that submits the form via ajax and points to sendmail.php. When I say it is “not working” I mean that the form does not event submit (refreshes the page, etc.). It does not even validate the fields (I am not even filling the fields). I remember when I went to purchase the template, the form in the demo gave a message that the fields were empty. Now is not even doing that. What changed?

    #4514

    ab-themes
    Keymaster

    Check if you have filled the action in form in index.html file.

    #4622

    miltone
    Participant

    It is filled. It is pointing to index.php

    #4623

    miltone
    Participant

    And I must add that it is running on PHP in linux server on a shared hosting account.

    #4650

    ab-themes
    Keymaster

    We can’t see exactly what’s wrong because we don’t have access to your code.
    Did you set recaptchalib.php file properly https://code.google.com/p/recaptcha/wiki/HowToSetUpRecaptcha

    If this doesn’t help you please provide us with your username and password in private content so we can inspect it.

    #4653

    miltone
    Participant

    YOu were right. I have entered the PUBLIC recaptcha key instead of the PRIVATE recaptcha key in sendmail.php!

    Thanks for the pointer. Everything is working now. NICE TEMPLATE!

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Contact form not working’ is closed to new replies.