Firstly Dan thanks for maintaining the great webform module. I have used it a fair bit and am still learning the possibilities. I have got stuck with this issue on a webform that I am building for registering a pet license with an organisation. Essentially, a user has the option to register one, two or three animals in the same form. I created three different fieldsets for each of the pets. Each have their own fields which are quite similar. We would like a user to choose how many pets they want to register. If they choose one then only one then one fieldset should show, two then fieldset one and two should show, three then fieldset one,two and three should show. However, when I go to set this up with the conditionals I get the error More than one conditional hides or shows component "Animal Two".
Is this a bug or would it require me to change the format of the form? If I need to change it can you offer any advice as the current process already seems logical to me but does not work with webform.
I am using the latest version of select or other and webform 7.x-4.12.
I also looked at this old issue which I commented on two weeks ago. I then read that it is best to open a new issue if the problem or query persists.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1.png | 29.61 KB | saurabh.dhariwal |
| pet-registration-form.png | 100.21 KB | sohal khatwani |
Comments
Comment #2
saurabh.dhariwal commentedIn this issue while applying same condtion on same field twice then it gives the error so i found one solution for condition, see the attached screenshot.
Hope it helps you.
Thanks!
Comment #3
danchadwick commentedRestructure your conditionals so that each component is shown/hidden in only one rule.