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.
1. Create a conditional
2. When changing conditional field (select box), a javascript error is thrown.
Uncaught TypeError: Cannot call method 'match' of undefined webform.js?mv8hfy:116
3. Error found on this line http://pastebin.com/SrZZ1m1f.
Also, fields are visible by default even when they should be hidden first.
Conditional is supposed to only show certain text boxes if the select box equals a specific value.
Comments
Comment #1
quicksketchThis is likely caused by theming on your site. Is there a class "webform-component" on the parent DIV elements around each form element? Without that class, Webform will be unable to show/hide components using same-page conditionals. The error indicates that this parent class was not found, so you get the resulting error.
Comment #2
quicksketchClosing after lack of activity.