#62018 Raven form run a php function after submit

Landing Forums JupiterX WordPress Theme Raven form run a php function after submit

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Elias Thanos

    Hi

    How can I use ajax in Raven form to run a php functions after Submit?

    I need to send a replay message to my form subscriber after submitting the form.

    I have tried the following code in child’s them scripts.js but is not working

    (function( $ ) {
    $(document).ready(function() {

    $( “form” ).submit(function( event ) {
    var frm_name = ‘test’;
    var frm_email = ‘[email protected]’;
    alert( frm_name );

    $.post(ajax_obj.url,{
    _ajax_nonce: ajax_obj.nonce,
    action: “sss_evt_form_action”,
    event_frm: frm_name,
    event_email: frm_email
    });
    });

    });
    })(jQuery);

     

    Thanks a lot

    Elias

    Nodari Support Team

    Hello Elias

    Thank you for asking an interesting question, however, such questions like this are outside of the normal support frames, this question definitely requires a different approach than answering on normal support questions, please take my apologies but you have to find a freelancer to solve such challenges, you can also use Hire Us button in the menu to contact the appropriate team to achieve your goal

    Have a nice week Elias

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login