Page 1 of 1

Conditions Conundrum

Posted: Thu Apr 09, 2026 6:04 am
by AliGW
I was having fun playing with this last night!

I am trying to create an online entry form where the user enters a number (between 1 and 4) in the spinner and the correct number of image entry sections will appear.

The page is set to show one at the outset, but despite the settings I have in the spinner's conditions section, if I increase the number to 2 or above, all three of the other image sections appear. If the number is 2, there should be two, and so on.

Someone please tell me what I am doing wrong here! :P

https://www.alisongwright.me.uk/EICC/AGW/
https://get.hidrive.com/i/dAE9cuo3

Thank you!

Re: Conditions Conundrum

Posted: Thu Apr 09, 2026 9:14 am
by Pablo
What you’re trying to do isn’t possible with a spinner. You’ll need a select element here, since the user needs to choose from multiple options.

Here's an example:
https://www.wysiwygwebbuilder.com/suppo ... itions.zip

Re: Conditions Conundrum

Posted: Thu Apr 09, 2026 9:38 am
by AliGW
Lovely - thanks.

Re: Conditions Conundrum

Posted: Thu Apr 09, 2026 9:59 am
by AliGW
Interestingly, if I use the RESET button to reset the form, the drop-down resets to 1, but other image sections remain visible. There may or may not be a solution for this.

Re: Conditions Conundrum

Posted: Thu Apr 09, 2026 11:01 am
by AliGW
The other issue, that I had not anticipated, is that any required fields that are hidden will prevent submission of the form.

I had hoped that any hidden part of the form would be ignored on submission.

Back to the drawing board!

Re: Conditions Conundrum

Posted: Thu Apr 09, 2026 1:28 pm
by Pablo
If the select is part of the form then it will reset, if it's not part of the form then this should not happen.

Otherwise , you will need to trigger a 'select' manually after the reset, because the script is not aware of external resets.
I had hoped that any hidden part of the form would be ignored on submission.
I think that only applies when the object itself is hidden not it's parent container is hidden.

Re: Conditions Conundrum

Posted: Thu Apr 09, 2026 1:32 pm
by AliGW
I am not sure I understand our answer, Pablo.

As in the file you kindly provided, the number selector is part of the form and correctly resets on submission. What would be nice is to have all but the Image One section disappear when the form is reset as well, as they would if I changed the selector back from a 2 to a 1, for example.
I think that only applies when the object itself is hidden not it's parent container is hidden.
Ah, OK - well, I can live with that!

Re: Conditions Conundrum

Posted: Thu Apr 09, 2026 5:29 pm
by Pablo
I'm sorry there is no standard solution for this. This will require a custom script.
The conditions logic is not called on a form reset.

Re: Conditions Conundrum

Posted: Thu Apr 09, 2026 5:31 pm
by AliGW
OK, not to worry.