Hi,
Contact form submit not working in some systems, could you please tell me how to solve this.
Please check this url: http://www.raaida.com/dev/contactus.php
Hi,
Contact form submit not working in some systems, could you please tell me how to solve this.
Please check this url: http://www.raaida.com/dev/contactus.php
Diagnostic checklist for . 's question about which systems fail is important, and 's request to post the HTML, any client-side JavaScript, and the PHP handler is necessary for a precise fix. The steps below separate client-side and server-side causes so the problem can be isolated quickly.
Client-side checks: open Developer Tools (Network and Console) and submit the form while watching the Network tab. If no request appears, a script is stopping the submit (onsubmit handler returning false or calling preventDefault — see Event.preventDefault). Confirm the form has a correct method and action, every input intended for the server has a name, the submit control is explicitly type="submit", and there are no nested forms. Temporarily disable JavaScript to see whether the native submit works. For AJAX, check for CORS or HTTP error responses.
Server-side checks: when a request reaches the server but the expected action (for example sending email) does not happen, log incoming data and errors and enable PHP error reporting. A minimal debug line is useful:
error_log(print_r($_POST, true)); Also check the return value of mail() and inspect the mail transfer agent logs; see the PHP mail() manual. Posting the full HTML form, the client-side JS, and the PHP handler in the thread will let responders point to the exact failing line.
Jump to Post— twiss 155What doesn't work exactly in what systems?
What doesn't work exactly in what systems?
post your code here
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.