Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7580157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:50:47+00:00 2026-05-30T17:50:47+00:00

My contact form is not working and I cant find the bug at all.

  • 0

My contact form is not working and I cant find the bug at all.

I have contact-us.php and sendmail.php and custom.js

Contact-us.php, has an include call to sendmail.php.

Also being honest with you I have included this script located at js/jquery.min.js but not sure if its related.

The contact form is working at http://www.completeoffice.co.uk/contact.php

but not at:

The contact form is located: dev.madhousecreative.co.uk/contact-us.php.

Youll see when you click send it does nothing. It doesnt send the email or say thank you. Its meant to send the email and give a message saying thank you etc.

Edit:

After suggestions in the answers i changed the name values in the input fields and the contact form and it now sends the email to my email address from the contact form, however, it will only send the email if all the fields are inputted correctly, i.e. numbers in the phone number field, correct email address etc. Which means its validating the form. if you dont input details correctly, it just doesnt send the email and refreshes the page, and nothing else happens. its meant to give details of errors of input to inform the user.

Also, if the email sends, the page just refreshes also, its not meant to do that, its just meant to give a thank you message as you can see at the bottom of the php code above.

so the email is sending if inputted right, and its validating but not outputting any messages to the user and is refreshing the page instead.

EDIT 2: AFTER COMMENTS I ADDED OTHER SCRIPTS CHANGED LINES In HEAD SECTION. DOESNT REFRESH ANYMORE. READ COMMENTS FOR FULL UPDATE

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T17:50:49+00:00Added an answer on May 30, 2026 at 5:50 pm

    You forgot to include jQuery sources. Firebug gives error jQuery is not defined.

    EDIT

    Instead of

    <script type="text/javascript" src="custom.js"></script>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    

    write

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script type="text/javascript" src="custom.js"></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a contact form made with php on my website. The problem is
I'm working on a PHP contact form, but I can't get it to work.
I am working on a contact form that is not posting my multiple selection
Ok I have our contact form fully working, and processing correctly. I have two
Hi all i have a contact form and captcha is there. i want keep
I'm working on a Wordpress theme that has a Jquery animated contact form in
I had this simple modal contact form working fine but must have broke it
I'm building a simple contact form for a website. It does not connect to
I have a contact form on my website so users can send me an
I have a contact form which asks users for their name, email address and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.