1
I have a form and inside it a Recaptcha, originally from Google.
<form method="post" id="form-ligamos">
        <label>
            <input class="fields text" type="text" name="empresa" value="<?php echo $_POST['empresa']?>" placeholder="Digite o nome da sua empresa">
        </label>            
        <div class="captchaFix">
            <div class="g-recaptcha" data-sitekey="SECRET"></div>
        </div>
        <input class="btn-submit btn-submit-call" type="submit" name="fale" value="Solicitar ligação">
        <input class="btn-submit btn-submit-callFixIphone" type="submit" name="fale" value="Me Ligue">
    </form>
He’s inside the div captchaFix code-compliant. How do I make it validate whether or not the user clicked on it before the user goes to Submit?
Possible duplicate of How to validate Google reCaptcha / noCaptcha in PHP?
– Lucas de Carvalho
@Lucascarvalho I believe they are different questions. He wants to know if the guy solved before sending to PHP.
– Hiago Souza
@Lucascarvalho my question is a little different.
– Felipe Viero Goulart