Add support for elementor atomic forms - #173
Open
despokd wants to merge 1 commit into
Open
Conversation
merlinfuchs
self-requested a review
July 30, 2026 18:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, I saw the integration supports only Elementor Pro Forms instead of also the new atomic froms of Elementor v4.
Sadly Elementor only have a native integration for Askiment, which works without a Captcha field, and sends only fields from there atomic form fields.
Then they support there own ReCaptcha integration at Atomic Forms this, will be hopefully easier to implement, without a MutationObserver.
This integration registers an atomic widget "Friendly Captcha" to drag into forms. It uses a similar logic as the Elementor form field integration. There are TODO comments implemented to revisit this code when Elementor finally uses its native ReCaptcha integration also for atomic forms.
Thank you very much.
AI Summary
This pull request introduces a new FriendlyCaptcha widget for Elementor's Atomic Widgets system, improving integration and spam protection for forms. The main changes are the addition of a custom atomic widget class, a Twig template for editor compatibility, and the necessary registration logic.
Elementor Atomic Widget Integration:
Elementor_Friendlycaptcha_Atomic_Widgetimplementing a FriendlyCaptcha atomic widget, including rendering logic, spam checking, and proper interaction with Elementor's form system.Editor Compatibility and UI:
atomic-widget.html.twigto render a placeholder in the Elementor editor, preventing issues caused by rendering the live widget in the editor environment.These changes ensure that FriendlyCaptcha can be used seamlessly as an atomic widget in Elementor forms, with proper spam protection and editor compatibility.