Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 1640

action not worked for save form entry to other database table

$
0
0

Replies: 0

// This hook fires before the fields are set
add_action( ‘forminator_custom_form_submit_before_set_fields’, ‘debug_forminator_before_set_fields’, 10, 2 );
function debug_forminator_before_set_fields( $entry, $form_id) {
error_log( “Before set fields triggered for entry ID: ” . $entry->entry_id . ” for form ID: ” . $form_id );
}

// This hook fires after submission is handled
add_action( ‘forminator_form_after_handle_submit’, ‘debug_forminator_after_submit’, 10, 2 );
function debug_forminator_after_submit( $entry_id, $form_id ) {
error_log( “Forminator after handle submit triggered for entry ID: ” . $entry_id . ” for form ID: ” . $form_id );
}

I need to save form entry to custom database table after successs submit. But above hook not worked. Please hep me.


Viewing all articles
Browse latest Browse all 1640

Latest Images

Trending Articles



Latest Images