seasketch / next

A modernization version of the SeaSketch platform, released in 2022.
https://seasketch.org
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Skip Logic Not Working #726

Open wmcclin opened 3 months ago

wmcclin commented 3 months ago

I want to apply some skip logic, typical of an OUS, asking if people want to be contacted during the map review process. If so, I want to collect their email and phone number. See https://www.seasketch.org/ampiccms/survey-editor/382/logic

However, when taking the practice survey and I answer "no", the user is still prompted to enter their email address and phone number, questions I wish to skip.

Screenshot 2024-03-26 at 12 30 53 PM

In the past, I could simply override this problem by simply making the default go to the Save Screen. But, doing that breaks the logic.

Screenshot 2024-03-26 at 12 34 40 PM
wmcclin commented 3 months ago

"Solved" this issue by switching the switch logic so that (a) if a user answers "no" to the question (would you like to be a part of the map review process), then they go to the save screen, and (b) if the user answers "yes" to the same question, they go to the question "what is your email address?" In other words, I just flipped the logic. Either way should work but only this one actually does.

Screenshot 2024-03-27 at 11 39 16 AM