-
-
Save kjohnson/5457d25b234add009f415320d051c990 to your computer and use it in GitHub Desktop.
<?php | |
add_action( 'ninja_forms_after_submission', 'my_ninja_forms_after_submission' ); | |
function my_ninja_forms_after_submission( $form_data ){ | |
// Do stuff. | |
} |
@BogusException and @kyle, I am having the same issue. Please help.
Thank you,
Joe
I'm having the same problem.
In my case, I try to redirect to another page after_submission hook, with the form value params from the server side, because if i use redirect with key-value params doesnt have any security.
Please help
This is because the action is misleading.
The action is called at the end during the AJAX submission request.
So everything you echo will be in the returning answer and will probably break it.
@kyle I have same exact problem. I tried executing a function using this hook that doesn't return anything, some the button just stay on processing condition. When I check the network request I can still see thank you message in there http://take.ms/UdJed
Kyle,
Ninja forms stays "Processing" during this function's running... I've tried all kinds of "return" statements, but nothing works...
I'm adding data to another database table, but how can I signal calling function that this one is done OK?