Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIST OF BUGS - in ajax mode - xhr_submit: true #605

Open
Maofree opened this issue Dec 13, 2024 · 0 comments
Open

LIST OF BUGS - in ajax mode - xhr_submit: true #605

Maofree opened this issue Dec 13, 2024 · 0 comments

Comments

@Maofree
Copy link

Maofree commented Dec 13, 2024

Hi

I open this topic to report the errors I found with this plugin in ajax mode

plugin version is v7.4.2
Grav v1.7.48 - Admin v1.10.48
php 8.3

since September I've been trying the "form" module solution on all the pages of the site, with xhr_submit: true
I only use this solution with one site, otherwise I use the call to action with redirect to the contact page without using xhr_submit: true and here everything works fine, even with google and cloudflare protections.

today I noticed that the xhr_submit: true mode presents an error even without protections but only from mobile, it returns an error with the type Type error ....
instead from PC I've never encountered it

I had another person try it who is far away from me and from his cell phone he had the same error

so I repeat
I set xhr_submit: true
from mobile I go to the homepage and fill in the form fields, at the first attempt it gives an error, then if I press the send button again it no longer returns errors.
I tried 5 more times and it always worked fine
Then I asked the company employee to try with her cell phone and on the first attempt she had the same error, then she tried again and the following times it worked fine

cache_enable: false
and before trying I cleaned the cache on the admin side
then I must point out that honeypot and basic-captcha do not protect against Russian spam, they are passed without problems.

the google recaptcha solution works with xhr_submit: true but after giving a positive message of successful submission, it reloads the page and goes to a blank page with the submission message

the cloudflare turnstile solution, from a PC works without problems, but from mobile, today I saw that it returns an incorrect captcha error

in the end now I am forced to put back the past site made with wordpress that I would really like to get rid of forever.

Grav is a great system, but the "form" plugin has many problems, and is not up to the rest of the system, this report of mine is to help you improve Grav

other problems of this plugin are:
it reports the data of the captcha in the form, the basic one reports the number entered by the customer
it reports the technical data of the attached files, things that are not necessary for those who receive the emails
the plugin if inserted in other pages of the site, should be able to have a system to be able to integrate it in the twig files of the theme without having to repeat the insertion of the form for each page of the site, or at least in addition to this solution, there should be another that allows integration into the theme in a massive way
in ajax mode there are too many errors

the error that I found today from mobile, the one where it shows the error Type error ... not always appearing, becomes complicated to solve, and the fact that without changing data, then on the second attempt it gives correct sending and from PC it does not present errors, it remains difficult for me to go and correct it and analyze the problem better

bye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant