Closed (works as designed)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Jun 2017 at 12:54 UTC
Updated:
28 Jun 2017 at 10:42 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
jrockowitz commentedNot possible because conditional logic is all client-side and does not disable the CAPTCHA element.
Comment #3
camdarley commented@jrockowitz Sorry to re-open this and I understand your point, but the goal here isn't to disable the captcha, but only to toggle visible/invisible states.
Waptcha element would still be present in html, only hidden with css/javascript until user fill another field.
Comment #4
jrockowitz commentedThe form won't submit if the CAPTCHA element is hidden, which will be very confusing for most users.
You can work around this, by adding a custom #states property to your CAPTCHA element, which will enable the 'Conditional Logic' UI
Comment #5
camdarley commentedPerfect, it works! I wasn't aware of this...
Many thanks!