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

quicksketch’s picture

Category: Bug report » Support request
Priority: Major » Normal
Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

This 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.

quicksketch’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing after lack of activity.