Select to view content in your preferred language

Delete a Blank Page in a Repeat-Type Question

147
2
Jump to solution
a month ago
Reuben
by
Regular Contributor

hi ArcGIS Survey 123 User,

I've created a Survey in ArcGIS Survey 123 connect and found that each time a user submitted his/her record, blank pages were created in the Repeat=Type Question sections (even if not filled). 

Question: Is it possible to delete the empty pages either in the ArcGIS Survey 123 app or ArcGIS Survey 123 web-page? 

 

thanks

0 Kudos
1 Solution

Accepted Solutions
abureaux
MVP Frequent Contributor

Without seeing the set-up, it's hard to know what's going on. But here are two common solutions:

  1. Add a <select_one yes_no> to your survey and make it required. Make the [label] something along the lines of "Do you want to add X"
  2. When the user selects "Yes", the repeat question can be dynamically shown. Use either the [relevant] or [body::esri:visible] columns with something like selected(${my_select_one},'yes') for the logic.
  3. Make the repeat [required] = "yes".

Or,

  1. Add a repeat to your survey. Ensure the repeat is [required] = "no" (i.e., you do not want the repeat to be required).
  2. Set [appearance] for the repeat to <minimal>
  3. Ensure at least one question within the repeat is set to [required] = "yes"

View solution in original post

0 Kudos
2 Replies
LaurenceTait
Frequent Contributor

Wht do you mean by a "Repeat-Type Question". A repeat? A repeated question? A question in a repeat?

0 Kudos
abureaux
MVP Frequent Contributor

Without seeing the set-up, it's hard to know what's going on. But here are two common solutions:

  1. Add a <select_one yes_no> to your survey and make it required. Make the [label] something along the lines of "Do you want to add X"
  2. When the user selects "Yes", the repeat question can be dynamically shown. Use either the [relevant] or [body::esri:visible] columns with something like selected(${my_select_one},'yes') for the logic.
  3. Make the repeat [required] = "yes".

Or,

  1. Add a repeat to your survey. Ensure the repeat is [required] = "no" (i.e., you do not want the repeat to be required).
  2. Set [appearance] for the repeat to <minimal>
  3. Ensure at least one question within the repeat is set to [required] = "yes"
0 Kudos