I've added a captcha to an Entityform form successfully but what happens is that the captcha widget is being inserted within a field that is designed to accept multiple values.

My understanding is that it sees the form within the form and adds the widget when the form ends which is logical somehow but in this case it's not really where it needs to be (I also may be totally wrong, you tell me)

I'm adding a screenshot to illustrate the situation.

Any ideas how I can fix this?

TYIA,
n

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nixar created an issue. See original summary.

Jagaimo’s picture

I have the same issue

nixar’s picture

In order to do that I had to remove the captcha from the captcha settings and instead added it manually using hook_form_alter()

RKopacz’s picture

I am having this same issue. Has there been a solution provided? Maybe in the dev version? Seems as though one should be able to do this through config, not resort to hook_form_alter

brettwilson’s picture

I am also having a related captcha placement issue on a D7 site entityform. Captcha is being placed inside a long text form field and this field is hidden for anonymous users (internal use only field) thus captcha is not being displayed for anonymous users when it should be. Updated from 7.x-1.3 to the 1.5 version and issue is still occurring.

UPDATE: I tried the dev branch and my specific issue was resolved after I cleared the captcha placement cache on the captcha config page.

Chris Matthews’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Status: Active » Closed (works as designed)