• Resolved danielgruppen

    (@danielgruppen)


    The contact form 7 is not working on smartphones. If someone tries to fill in the fields, it’s not working…

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all other plugins.

    I just discovered that it’s not working for me either.

    After tapping the send button the revolving arrow icon shows but the form never gets sent.

    It’s running fine in the desktop version.

    I had the same problem. There is a solution.

    in functions.php (of course in child-theme) you have to add:

    add_filter( ‘wpcf7_load_js’, ‘__return_false’ );

    IT WORKS! AWESOME! (Y) (Y) (Y)

    Thank you @ygoor !!!

    @ygoor where in the functions.php do you add it?

    @podlife Right after “add_action” for your child theme scripts. Or at the end. Doesn’t matter really

    • This reply was modified 6 years, 9 months ago by superninchen.

    IT might also be failing on mobile because iPhone is on the list of banned words and is sent for spam verification as a browser identification string. (see https://www.ads-software.com/support/topic/not-sending-from-mobile-because-of-iphone-in-your-list-of-banned-words/)

    I did tried add_filter( ‘wpcf7_load_js’, ‘__return_false’ ); anyway in function.php but not working…

    Yesterday not working, anyway today it is working fine. may be have to clear cache.

    I have the same problem, neverending spinning arrows on smartphones (bots Android and iOS) when clicking on send button. In desktop works well.

    I have discovered that the problem happens when a “file” control exists in the form.

    Adding the filter to the functions.php fixes the problem, but because of disabling AJAX/JS the form reload on each submit, and the loaded images in file controls are lost every time.

    I hope the developer will fix this problem with “file” controls in ajax enabled mode.

    Thanks for this marvelous plugin!

    Hello,

    I have the same problem. Contact forms that have file inputs do not work on mobile. You click the button to submit the form and the loader spins infinitely… The same contact forms work good on desktop.

    Does anyone have a proper solution without disabling AJAX?

    Thanks,
    Justinas Dimsta

    I’ve the same issue on mobile.. I use Enfold Theme but the add_filter( ‘wpcf7_load_js’, ‘__return_false’ ); in function.php does not work..

    Found a solution with Enfold Theme.. I’ve create a copy of the contact form without the “Send File” control and make it visible only from mobile screen and hiding the mai contact form that remains visible only from desktops and in that way it works..

    The solution proposed by @takayukister is stupid because in the form works from desktop it means that there are no conflicts with theme or plugins..

    t2

    (@tribesquared)

    If you are pasting in the code workaround from above, take care that you might end up with the wrong type of quote marks. Check your code editor when you paste in or simply type in the code by hand to be sure.

    add_filter( ‘wpcf7_load_js’, ‘__return_false’ );

    However, can confirm it does “fix” the issue in my instance, though the page now reloads itself, which is a shame as the success prompt is then too low down by default. We added a redirection plugin to send the visitor to a thank you page on form submission.

    As the others above have said, this seems to happen when a file upload field is added to a form (if removed, the form is fine) and only on mobile, as the same form works ok on desktop.

    I noticed this issue too recently. I have been able to *temporarily* fix the issue by disabling ajax/js but this is not an actual fix because the form reloads on submit which isn’t ideal. Plugin author needs to find out why there’s a js/ajax conflict on mobile devices when the file upload field is present. This topic should not be marked as resolved yet.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Contact Form 7 not working on mobile’ is closed to new replies.