Recaptcha V2 Checkbox can't be placed manually within form builder #1564
Replies: 7 comments 3 replies
-
Is there anything that can be done to customise the placement of the reCAPTCHA? |
Beta Was this translation helpful? Give feedback.
-
Sorry, but currently it isn't possible to alter the position of captchas. We will, however, think of a solution that would let you change their positions. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply @gustavs-gutmanis, appreciate you adding it to the list to explore a solution. |
Beta Was this translation helpful? Give feedback.
-
This will be available in Freeform 5.7+ (available by end of October 2024). I'll update this with a link to the docs for setting it up, etc. 🙂 |
Beta Was this translation helpful? Give feedback.
-
This is now available in Freeform 5.7.0 🙂 In your formatting template, simply place |
Beta Was this translation helpful? Give feedback.
-
Thanks for the update @kjmartens 👍 |
Beta Was this translation helpful? Give feedback.
-
For the custom submit button placement we can pass along a class attribute to the tag to implement some styling customisations. @kjmartens is it possible to do the same for this {{ form.renderCaptchas({
class: 'mt-5'
}) }} but that didn't do anything. I also couldn't see any mention of this option in the docs here |
Beta Was this translation helpful? Give feedback.
-
What happened?
In Freeform V4 we could specifically place where this type of Recaptcha appeared within the form.
In V5 this appears to always be automatically rendered right before the closing form tag
{{ form.renderClosingTag }}
or</form>
.The overview section of the docs here states that it would be rendered before the submit button, but if I'm using some custom implementation of the submit button to render it elsewhere in the form other that it's default position before the closing form tag, then the reCAPTCHA checkbox doesn't render above it, but instead still above the closing tag.
Either, the automated placement of the reCAPTCHA needs to stick above the submit button, wherever it is placed, manually as above or with its automatic placement at the very end of the form, or there needs to be a way to manually place the checkbox elsewhere which could be:
If I'm missing another option that already exists to place it I'm all ears.
Looking forward to hearing your thoughts.
Errors and Stack Trace (if available)
No response
How can we reproduce this?
Freeform Edition
Pro
Freeform Version
5.5.9
Craft Version
4.12.0
When did this issue start?
No response
Previous Freeform Version
No response
Beta Was this translation helpful? Give feedback.
All reactions