-
Notifications
You must be signed in to change notification settings - Fork 0
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
Page is reloading and form is not sent #4
Comments
Which contact module is that? |
https://www.rsjoomla.com/joomla-extensions/joomla-contact-form.html
I use this one.
I then linked it to the module id via an article.
Loading directly into a yootheme page with a module position gives the same problem.
…________________________________
Van: SharkyKZ ***@***.***>
Verzonden: donderdag 11 april 2024 09:03
Aan: SharkyKZ/joomla-recaptcha-v3-plugin ***@***.***>
CC: webmasterab ***@***.***>; Author ***@***.***>
Onderwerp: Re: [SharkyKZ/joomla-recaptcha-v3-plugin] Page is reloading and form is not sent (Issue #4)
Which contact module is that?
—
Reply to this email directly, view it on GitHub<#4 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB5D7ZYAGF6MLJTH5R335QDY4YYVFAVCNFSM6AAAAABFZFAWAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBZGA2DQNZUHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I looked into this and there are two issues. One is a JavaScript conflict between the module and captcha plugin. This one I can fix by providing an option to run captcha on page load and not on form submit as it currently does. One thing to note about this is that captcha tokens expired in 2 minutes. So this isn't great for long forms. Second issue is that the module doesn't pass the captcha token to the plugin. This is something that will need to be fixed in the module itself so you'd have to ask the module developers about this. |
I will then report it to the module developer. It's strange because it works on a Joomla installation that has already contained the captacha since version 4. But that plugin is no longer available in Joomla 5. Hopefully it can be solved so that it can be used. I will keep you informed about the module and the ticket I submit there |
I experience the same issue with Contact Enhanced Pro.
This isn't really a solution. The plugin should take care of getting and validating the token when the form is submitted, but it is not responsible for submitting the form itself. That is the responsibility of the form/contact component. If this is not possible, the least it can do is to not submit the form if it is invalid (empty required fields, etc). |
I have a Yootheme template that contains a module for a contact form.
When I activate the plugin, it is neatly listed at the bottom of the site.
However, when I want to send in the form, it is checked whether everything has been completed.
But immediately afterwards the page is refreshed and everything has to be done again.
The form cannot be used if the plugin is enabled.
The text was updated successfully, but these errors were encountered: