Select to view content in your preferred language

Restrict User Flow - Hide previous pages

180
1
Jump to solution
08-28-2025 08:12 AM
adimuro1
New Contributor

I am using survey123 connect to create an exam with multiple pages. I want to only allow the user to see one page at a time, I achieved this creating a "lock" of sorts and using calculation in the relevant field. However, nothing is stopping the user from selecting and unselecting the "continue to next page" question in order to toggle back and forth and answer questions. I need to permanently hide previous page once a user moves forward. I tried using the once() function, but it registers the blank as an answer and then never reveals the next page. I've tried many different calculations and methods. Should I be using a different field or a different function? Should there be one lock/key per page, or one that changes value for each page. Can I set the lock/key to be a certain value after each continue question?

0 Kudos
1 Solution

Accepted Solutions
Neal_t_k
Frequent Contributor

You  will probably want to use a combination of relevant and the body::esri:visible field;  when a section becomes not relevant it deletes all the answers.

https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-hidden-relevant-an...

Interesting workflow.

You could try something like the attached. 

The attached file uses relevancy to show subsequent pages and visble to hide pages from view once an answer is filled in on a subsequent page.  By using a lock question that is calculated using the once() function (I have it shown in the example but you can hide it in the final) you can permantly hide previous pages from view.   I think your misstep was using the continue to next page question as your lock. By having it a hidden calculate once question, there is no way to revert to not hidden after it is triggered.

View solution in original post

0 Kudos
1 Reply
Neal_t_k
Frequent Contributor

You  will probably want to use a combination of relevant and the body::esri:visible field;  when a section becomes not relevant it deletes all the answers.

https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-hidden-relevant-an...

Interesting workflow.

You could try something like the attached. 

The attached file uses relevancy to show subsequent pages and visble to hide pages from view once an answer is filled in on a subsequent page.  By using a lock question that is calculated using the once() function (I have it shown in the example but you can hide it in the final) you can permantly hide previous pages from view.   I think your misstep was using the continue to next page question as your lock. By having it a hidden calculate once question, there is no way to revert to not hidden after it is triggered.

0 Kudos