getgrav / getgrav/grav-plugin-form
How to avoid default captcha alert?
- Dominant language
- PHP
- Stars
- 64
- Forks
- 80
- Avg merge
- 10h 13m
- Merged PRs (30d)
- 9
Description
Hello!
I use ajax form sending and just added captcha to my form.
If captcha isn't checked, I see double messages, one in alert and the same in my ajax pop-up.
I mean this thing:
https://github.com/getgrav/grav-plugin-form/blob/develop/templates/forms/fields/captcha/captcha.html.twig#L21-L26
How to disable it?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with templates/forms/fields/captcha/captcha.html.twig at lines 21-26, then inspect how the AJAX form displays validation messages. Confirm that an unchecked captcha currently produces both the browser alert and the AJAX pop-up, and define done as preventing the duplicate alert while retaining the captcha error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100