Google reCAPTCHA
Google reCAPTCHA is a free captcha service from Google. JoomElection can add it to the guest voting form, to slow down scripted vote-stuffing. It is used only in the two email modes of Guest voting.
JoomElection uses whatever captcha plugin is set as Joomla's Default Captcha. It has no captcha settings of its own.
1. Get the keys
- Open the reCAPTCHA admin console of Google and sign in with a Google account.
- Register your site with reCAPTCHA v2: the "I'm not a robot" checkbox, or the invisible badge.
- Add your domain.
- Copy the Site Key and the Secret Key.
2. Set up the Joomla plugin
Joomla 4 and 5 ship CAPTCHA - reCAPTCHA (checkbox) and CAPTCHA - Invisible reCAPTCHA. On Joomla 6, check System > Manage > Plugins for them; if they are not there, install a reCAPTCHA captcha plugin first.
- Open System > Manage > Plugins and search for
captcha. - Open the reCAPTCHA plugin that matches your keys.
- Paste the Site Key and the Secret Key.
- Set Status to Enabled and save.
3. Make it the default captcha
- Open System > Global Configuration, tab Site.
- Set Default Captcha to the reCAPTCHA plugin.
- Save.
4. Turn it on for an election
- Edit the election and open the Guest Voting tab.
- Set Guest voting to One vote per email address (not verified) or One vote per verified email address (recommended).
- Set Require a security check to Yes.
- Save.
The guest form on the election page now shows the captcha. A guest who does not solve it sees "The security check did not pass. Please try again."
Limits in 6.14.0
- If Require a security check is on but no Default Captcha is set, every guest is refused. The form says no captcha plugin is enabled.
- Joomla 6.1's own CAPTCHA - Proof of Work plugin does not work with JoomElection 6.14.0: every guest is refused. Use reCAPTCHA or turn the security check off.
- The captcha is not used in the device mode, and never for logged-in members.
- reCAPTCHA loads a script from Google in the visitor's browser. Mention it in your privacy policy and cookie notice.