Neos/formbuilder - invisible recaptcha?

I just started using Neos as CMS and reading all the docs but i am more the “learning by doing”-guy :sweat_smile:

I’m building a complex form thanks to neos/formbuilder but need to add the invisible recaptcha and i dont know how i can add this markup with fusion and/or yaml.

Do you have some hints? I tried some ways but dont get this to work and i only found a package for neos/form.

It needs following markup inside <form>

<div class="g-recaptcha"
    data-sitekey="$sitekey"
    data-callback="savetoken"
    data-size="invisible">
</div>

I hope you can help me :innocent:

Hi @shuffgy :slight_smile:

I don’t know much about invisible captcha, so can you tell me: Is it going to be on only one page (final) or how does it work?

You can create your own field elements and have it as a element that you add when you build the form similar to how the pakcage you link to is doing it.

  1. Create a Settings.yaml with a formElement definition
  2. Create the HTML output with the DOM you need
  3. I think that will be it for you