By cashwilliams on
I'm trying to make a module that has a multi-step (multistep) form. I installed the captcha module, but it appears on every step of the form. Is there any way to make it show only on the first page?
I'm trying to make a module that has a multi-step (multistep) form. I installed the captcha module, but it appears on every step of the form. Is there any way to make it show only on the first page?
Comments
Use hook_form_alter()
Use hook_form alter with css or js to hide or eliminate the captcha from the steps you don't want to see it.
settings for captcha
IIRC there is an option in captcja to not bother a user with a new captcha on either the same page or ever again for one session. there also is an admin function for adding captchas where there are none, Perhaps it also can remove captchas. If not do it the otherway around, remove captchas all around and add manually.
Or do what the other guy suggested.
Paul K Egell-Johnsen
https://www.drupal.org
https://www.drupal.org/project/webform/issues/980394
Thank You,
Shashwat Purav