• Resolved rafaelglima86

    (@rafaelglima86)


    Hello,

    I used twig forms to enable recaptcha according to the documentation link: https://docs.alexacrm.com/integration-cds/custom-forms/

    However the feature does not work.

    The information in the recaptcha settings (site key and secret key) is correct.

    The code is similar to the one below:

    [msdyncrm_twig]
    {% form entity=”lead” mode=”create” required=[“lastname”, “emailaddress1”, “mobilephone”, “description”] recaptcha=”true” %}

    <form method=”POST”><center><input name=”firstname” required=”” type=”text” placeholder=”* Nome” />
    <input name=”lastname” required=”” type=”text” placeholder=”* Sobrenome” />
    <input name=”emailaddress1″ required=”” type=”email” placeholder=”* E-mail” />
    <input name=”mobilephone” type=”tel” placeholder=”* Celular” />
    <textarea name=”description” required=”” rows=”4″ placeholder=”* Mensagem”></textarea>

    <recaptcha>

    <button class=”btn-backup” type=”submit”>Enviar</button></center><input name=”subject” type=”hidden” value=”Contato Site” />
    <input name=”leadsourcecode” type=”hidden” value=”8″ />
    <input name=”_key” type=”hidden” value=”{{form.key}}” /></form>{% endform %}
    [/msdyncrm_twig]

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author alexacrm

    (@alexacrm)

    @rafaelglima86 recaptcha attribute is not applicable to twig forms, unfortunately. You’d have to verify your recaptcha yourself. Let me find the correct way to hook it up.

Viewing 1 replies (of 1 total)
  • The topic ‘reCaptcha not working’ is closed to new replies.