I recently updated from Webforms 7.x-3.24 to 7.x-4.11 and I have a problem with the conditionals using select options. When I try to save a conditonal it resets from 'select - is' to 'time - is at'.

What I am doing:
1. Create select options field A with two options: 0|yes and 1|no.
2. Create a text area field B
3. I create a conditional entry with 'IF Field A is 0' then 'Field B is shown'
4. Save
5. The entry now reads 'IF Field A is at 0'

I also tried using the value rather than the key as condition with 'is yes', but that doesn't work either.

I am not using any additional webform related modules save Options Elements for the UI. I used to use Select or Other but I disabled the module and uninstalled it before testing.

Comments

Kiwa created an issue. See original summary.

DanChadwick’s picture

Category: Bug report » Support request
Status: Active » Fixed

This is symptomatic of a javascript error on the page, probably unrelated to webform. Using a browser debugger and look at the console for a message.

Also, ensure that you never used the "webform conditional" module with this file, or that if you did you completely uninstalled it. Just disabling it is not sufficient.

Post back with more information if you still need help.

Kiwa’s picture

Was indeed a JS Problem.

While the console showed no error, I had JQuery 1.7 running for administration pages (which works for my other modules), but seems to fail for the webforms backend. Although on the frontend it runs with Jquery 1.10 without issues. Downgraded to 1.5 for administration pages and now it works.

I guess I never noticed with my 3.24 version because there was no/less jquery used in the old conditionals setup.

I am sorry for the wrong alarm - and thanks for the help :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.