ground-android icon indicating copy to clipboard operation
ground-android copied to clipboard

Conditional tasks not working properly

Open rfontanarosa opened this issue 4 months ago • 7 comments

see here: https://openforis.support/questions/4317/ground-app-conditional-questions-not-working-after-latest-update#gsc.tab=0

Since the latest Ground app update, conditional questions in forms are no longer working properly. All questions now display regardless of previous answers, ignoring the configured conditions. This was working fine before the update.

rfontanarosa avatar Sep 02 '25 13:09 rfontanarosa

In this survey https://ground.openforis.org/en/survey/5VyuQgcRwmYC431im3rd/edit/job/BE7wDS1qktUqYm93MJ5l a follow-up conditional question with only "Text" as answer type works fine, however, another follow-up conditional question with "Select multiple" answer type does not work (shows up either way, whether the conditional is fulfilled or not).

jo-spek avatar Sep 22 '25 10:09 jo-spek

https://github.com/user-attachments/assets/cc19e5d1-876a-4ff4-b006-36f746d2a3cf

@jo-spek Can we add a screen recording for the use case you are mentioning?

Added a sample video I tested on dummay survey.

anandwana001 avatar Sep 22 '25 11:09 anandwana001

https://github.com/user-attachments/assets/74c5afb7-7903-4fbc-b6d5-60e4c0789478

jo-spek avatar Sep 22 '25 11:09 jo-spek

Image

Question in Spanish is whether people have a disability of some kind --> Yes or No (Si / No) No matter what you click in the survey, you will be asked which disability in the next step.

jo-spek avatar Sep 22 '25 11:09 jo-spek

@anandwana001 we can't close this issue. the problem is very complicated to reproduce and it happens with the current master and the version available on google play.

I've cloned the survey here and it seems that the problem persists: Test 2 - Información de campo Corpoteva (ZmBHT2p2wfv6tYaaspAL). This survey is in production.

At this point, doesn't matter what you answer, the next question, even if it's conditional, is shown by the app.

Image

I've checked into the database and it seems than everything is fine and correct:

Image Image

rfontanarosa avatar Oct 29 '25 14:10 rfontanarosa

this issue is probably related to this one: #3293

i'm going to test it to see if the problem is fixed.

rfontanarosa avatar Nov 11 '25 12:11 rfontanarosa

the bug is still there. see the video. the survey is in production, its id is ZmBHT2p2wfv6tYaaspAL.

https://github.com/user-attachments/assets/ba635fc9-0fb8-4b09-aeb7-3404667e5543

rfontanarosa avatar Nov 11 '25 12:11 rfontanarosa