Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with Form Submissions [TMZ-121] #222

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

nicoladj77
Copy link
Contributor

No description provided.

@nicoladj77 nicoladj77 marked this pull request as ready for review March 3, 2025 18:36
@nicoladj77 nicoladj77 requested a review from nuritsha March 3, 2025 18:36
@@ -19,6 +20,40 @@ export default class FormsModule extends elementorModules.editor.utils.Module {

elementor.addControlView( 'Fields_map', FieldsMapControl );
elementor.addControlView( 'form-fields-repeater', FieldsRepeaterControl );

elementorPromotionsData.collect_submit = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nuritsha this is not the best implementation ever, but I have not found a way to filter the data in the promotions. module.
In my opinion we would need to add a filter here ( https://github.com/elementor/elementor/blob/main/modules/promotions/promotion-data.php#L18 ) and do this in PHP, but didn't want to create a dependency.
Of course image and url need to be confirmed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant