Contact us form issue in packers and movers website!

2 replies
  • WEB DESIGN
  • |
Hi,
Here is a website I have developed for a packers and movers business. Here is the website details- Cloud Packers - http://www.cloudpackers.com/
In this particular website, I have added one contact us form in the mid of the website and another one is in the menu section. The menu section contacts us form is working but with the same PHP script, the body section form is not working.
How can we solve the issue?
Domain is registered with hostindia - https://www.hostindia.net/domains.php

Thanks
#contact #form #issue #movers #packers #website
  • Profile picture of the author noah.whitmore
    It's very tough to troubleshoot a PHP script from the outside because we cannot access your actual PHP code. But, we can see the HTML, so maybe the problem is there...

    First off, I'm not sure which two forms you're talking about. I only see one form on the front page of your site. When you say 'another in the menu section' are you talking about the 'Contact Us' link in the menu? The one that takes you to Contact details of Cloud packers and movers bangalore

    Each form usually has a script that it sends the form data to. This is usually stored in the 'action' property of the HTML <form> tag.

    I can't tell from your original post which form is not working so I have troubleshooting suggestions for both. I can see that the form on your homepage has uses action="contact_mail.php" which seems to sending the form information to a PHP script stored at http://www.cloudpackers.com/contact_mail.php - do you have the script right at that URL??

    If the script is not actually at that URL, you might need to change what is in the 'action' property. For example, if the script is really in the location http://www.cloudpackers.com/forms/contact_mail.php then you would need to use action="forms/contact_mail.php" to make sure that the form is sending the form data to the correct PHP script and allowing it to run. If the form on your home page is not working, I would take a look to make sure it's pointing at the right PHP script.


    On the 'Contact Us' page, your form uses action="#contactform_main" which doesn't actually seem to point to an actual PHP script. Usually, the action will point to something that ends in .php to denote a PHP script that handles the form data. If this is the form that isn't working, perhaps this form actually needs to use the same action as the homepage form (action="contact_mail.php").

    Hope that is at least a start.
    Signature
    No Pitch For The Moment - Just A Nice Hello.
    So... 'Hello'
    Feel free to PM me if you have any questions about my posts. I'd like to hear from you!
    {{ DiscussionBoard.errors[11168493].message }}
    • Profile picture of the author debupramanik
      Thanks for your information, In actual my hosting blacklisted my email so this issue appears. I am working for the same hopefully everything will be okay.
      {{ DiscussionBoard.errors[11172677].message }}

Trending Topics