SportyOne
KPCKevin Powell - Community
•Created by SportyOne on 5/7/2024 in #front-end
Problem with contact form on mobile devices
Hello everyone, I hope you can help me, I'm almost desperate.
My problem is the following. I created a contact form and validated it with JavaScript (client side) and with php (server side). I have also integrated a phpmailer and a success message or error message and a reCaptcha. The for,ulnar works perfectly on the desktop. It sends, it outputs the message, it redirects back to the page and then also deletes the input fields.
It just doesn't do some of the things on mobile devices. It sends the message, but it doesn't update the page or return to it, nor does it give a success message, nor does it clear the fields. These errors are only resolved when I manually reload the page itself. But that shouldn't be the case.
Can anyone help? I don't know exactly where the error is. If the code is needed I can send it.
Hope you can help me .
Thanks in advance
LG Sporty One
13 replies