- Issue created by @bolemanyi.attila
- πΊπ¦Ukraine dench0
Check your form markup to see if you have an element like on the screenshot.
- ππΊHungary bolemanyi.attila
#2
Unfortunately, this part is totally missing :-(
You can see here: https://comega7.hu/hu/kapcsolat - πΊπ¦Ukraine dench0
as I see it's a webform.
Did you add captcha element to the webform and choose the configured reCAPTCHA v3 action?
- ππΊHungary bolemanyi.attila
Okay, the Captcha element was missing, I added it, but as I see, there is no changes :-(
- πΊπ¦Ukraine dench0
1. did you try to clear the cache?
2. Please show your captcha webform element configuration.
3. Are you using the custom template for this form? - ππΊHungary bolemanyi.attila
1. Yes, I did.
2. Attached
3. As I see, the theme use custom twig template. Should I add captcha element there?I think this is the custom twig file's (webform--contact_style_2.html.twig) content:
{{ element.elements.name }}
{{ element.elements.email }}
{{ element.elements.message }}
{{ element.elements.actions }}{{ element.form_token }}
{{ element.form_build_id }}
{{ element.form_id }} - ππΊHungary bolemanyi.attila
Now the code is:
<form {{ attributes }}> {{ element.elements.name }} {{ element.elements.email }} {{ element.elements.message }} {{ element.elements.actions }} {{ element.elements.captcha }} <div> {{ element.form_token }} {{ element.form_build_id }} {{ element.form_id }} </div> </form>
It seems that is is working now. Thank you very much!!!
- Status changed to Closed: works as designed
11 months ago 7:14am 23 January 2024