I created differents conditions on a list selection field. It works on my contact form. But, if I return to the administration page of the conditions, the conditions are cleared and the first value from my list selection will appear in all conditions.

Thank you for your help.

Members fund testing for the Drupal project. Drupal Association Learn more


quicksketch’s picture

Priority: Major » Normal
Status: Active » Fixed
1.87 KB

Thanks I've confirmed this problem. I've committed this patch to the 4.x branch which should solve the problem. The functionality of the conditionals is all working fine, but the JS on the conditionals page is reverting the select list default value.

quicksketch’s picture

Title: Conditions on a selection list field » Conditions on a selection list field are reverted when editing
Upchuk’s picture

Thank you quicksketch!

I changed the .js according to the patch and it works!



kumkum29’s picture

It's ok !

Thank you quicksketch !
Is the patch going to be included in the alpha-3 version?


quicksketch’s picture

Yes I've already pushed the change, so it will be in the next release of 4.x.

Status: Fixed » Closed (fixed)

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