Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a form and a set of check boxes asking if the person filling out the form is a member: yes or no.
If no, my boss wants it so some special disclaimer type text becomes visible. If yes, no special action needs to happen.
I have no idea if this is possible with webform or how to make it happen. Any suggestions?
Becky
Comments
Comment #1
luco CreditAttribution: luco commentedhi Becky,
there's these issues going: #330740: "Other" option in select lists for text entry and #254728: Conditional fields. see if they match what you're trying to accomplish.
cheers,
Luciano
Comment #2
quicksketchIt's possible, but Webform won't provide this functionality. You'll need to add your own JavaScript to the page to show/hide a div based on the state of the checkbox.
Comment #3
beckyjohnson CreditAttribution: beckyjohnson commentedI think I found a way to fix this through js by reading the threads you posted. Thanks!
Becky
Comment #4
quicksketchFantastic, if you can post the URLs of some of those threads, that might help future searchers. Thanks!