There is a popup feedback plugin, in the form in which an action has already been assigned (sending form fields to email)
<div class="callback-form {$inline_container}">{$label}{$description}<form id="send" class="clearfix callback-form-container" action="{$form_action}" method="POST"> //inputs <button id="" data-sitekey="" ...></button></from></div> Screwed to the form of recaptcha, I had to change the action with
$form_action = get_site_url() . '/?form_action=email'; on
$form_action = get_site_url() . '/captcha.php'; reaptcha code
<?php require '1.php'; $recaptcha = $_POST['g-recaptcha-response']; $object = new Recaptcha(); $response = $object->verifyResponse($recaptcha); if(isset($response['success']) and $response['success'] != true) { exit("An Error Occured and Error code is :".$response['error-codes']); }else { } Now, when you submit the form, naturally, /captcha.php opens with the text "Correct Recaptcha", this is where it ends, the email does not go away
How can I make the form go after checking the captcha, without redirection to captcha.php
Help me please.