• Hi,

    Just looking to call a rest API passing in some of the form details, after the form has been submitted? Not finding the extact location of where to place this code. If anybody can help it would be appreciated.

    Basically, when the email is sent the site owner, I also want to be able to call a Rest API URl.

    Thanks.

    J

    https://wordpress.org/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Thread Starter longieirl

    (@longieirl)

    include/mail.php seems to be doing the job! I have it creating a test account now via the rest API call.

    Next question is how to obtain if the value set by a selection box ie. validate if user selected Yes/No? I have the form submitting the checkbox value, i can see the value yes/no in the email sent to the ower of the site but I need to take it out of the values being sent to the method

    public static function send( $template, $name = '' )

Viewing 1 replies (of 1 total)
  • The topic ‘Rest Call after form submit’ is closed to new replies.