Allow to store custom fields by custom Action on Ajax Handler #21556
jacktaffa
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe.
Sometimes I have forms with custom actions. these actions fetch some data from other databases example...
A customer insert his country and is state and I route him to a specific retailer which matches with the form parameters.. so I'd like to save some retailer parameters (email, name, etc..) to this form submission... so I can extract csv with this datas.
In the elementor submission log I'd like to see which retailer the program has been choosen for the customer query.
Describe the solution you'd like
in the /wp-content/plugins/elementor-pro/modules/forms/classes/ajax-handler.php:187
add this code
$record = apply_filters( 'elementor_pro/forms/record/actions_after', $record, $this );before /wp-content/plugins/elementor-pro/modules/forms/classes/ajax-handler.php:188
$activity_log = $module->get_component( 'activity_log' ); if ( $activity_log ) { $activity_log->run( $record, $this ); }Describe alternatives you've considered
No response
Additional context
No response
All reactions