<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Random List - XLS Advanced Form in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780167#M5909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked great Marika!&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing, do I need to have the randomchoice text and number show up, I would rather just have the saftety tip show up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;LTK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2017 19:25:09 GMT</pubDate>
    <dc:creator>TimothyKing2</dc:creator>
    <dc:date>2017-11-13T19:25:09Z</dc:date>
    <item>
      <title>Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780158#M5900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am somewhat new to Surey123 and I'm beginning to create a new survey using the XLS advanced form.&lt;/P&gt;&lt;P&gt;In a nut shell I am creating a cleaning audit, the user will select which unit they are at then score rooms based on cleanliness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I am having trouble with being able to show a random sample of rooms to be checked. I know what rooms are in each unit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;BR /&gt;I enter Unit A, upon selecting Unit A on my survey the next 5 questions should be the rooms that are to be audited. Which should be randomly populated from the master list of rooms. i.e Room G1, Room 3.4, Room 5.6 etc&lt;/P&gt;&lt;P&gt;I'd appreciate any help in regards to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.esri.com/group/4077"&gt;Survey123 for ArcGIS&lt;/A&gt;survey123 app#&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 13:43:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780158#M5900</guid>
      <dc:creator>CraigMcIntyre1</dc:creator>
      <dc:date>2017-09-01T13:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780159#M5901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To better understand your use case, would you be able to share your current survey xls form? In the meantime here are a few initial questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are the room types for each unit type set up as choice lists, or are they set up as different fields?&lt;/P&gt;&lt;P&gt;Are the set of questions for each unit type and/or room type the same?&lt;/P&gt;&lt;P&gt;Are you planning to use repeats for the questions associated to rooms? Or are you just wanting&amp;nbsp;to hide questions based on relevance and the random selection of rooms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 01:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780159#M5901</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-05T01:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780160#M5902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've uploaded the file within the Survey123 community page.&lt;/P&gt;&lt;P&gt;As you'll hopefully see from the file, it is still very much a rough draft. The idea will eventually be that you select a school i.e Arkleston&lt;/P&gt;&lt;P&gt;Then the questions about scoring each room would be a random choice from the last list of rooms within Arkleston.&lt;/P&gt;&lt;P&gt;The questions will be the same for each unit, however the room types will be different. i.e Arkleston may have rooms called Room0.2, Room 3.4, Room 2.4&lt;/P&gt;&lt;P&gt;However other units may have rooms titled differently.&lt;/P&gt;&lt;P&gt;Hope this is of help!&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 14:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780160#M5902</guid>
      <dc:creator>CraigMcIntyre1</dc:creator>
      <dc:date>2017-09-06T14:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780161#M5903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig, I don't see the attached file. You can add it to this post using the Advanced Editor and attach file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 02:03:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780161#M5903</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-07T02:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780162#M5904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And just to try and understand further, do you want the questions to be random or the selection of the choice list in the questions to be random?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 02:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780162#M5904</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-07T02:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780163#M5905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The choice list of rooms per each unit is to be random.&lt;/P&gt;&lt;P&gt;Each unit will be asked the same question which will essentially be "How clean is this room?" - But the room the audit takes place in must be random.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've now attached the file within this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 08:02:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780163#M5905</guid>
      <dc:creator>CraigMcIntyre1</dc:creator>
      <dc:date>2017-09-07T08:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780164#M5906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the copy of your xls form. There is currently no "easy" way in Survey123 to randomize the selection of values from a choice list using text strings and populating other fields based on this random selection. However it is possible to randomly select a number between a range, as you have done in your xls form. We do have a feature enhancement logged for indexed repeats which may assist in using repeats in your survey to randomly select the values (rooms) used in the next repeat record, however there is currently no timeline on implementation of this feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice you do not have a room choice list for all the rooms in your xls form yet? Do you have that list and could you populate each room name with a number as the name, the label as the room name and then add a new column called school&amp;nbsp;and populate which which schools they belong to, to help filter the relevant list of rooms based on school selection from previous question. You then need to add a new field called Room Name to each of your Room Audit set of questions, and repeat it 5 times. If you then apply numbers to each it may be possible to use a hidden filed with random calculation or null esri field types (to be released in version 2.4) to do the&amp;nbsp;random number selection, then based on that number returned, select the number from the choice list from the school it applies to. You may need to include some if statements on each room question though to ensure the same room is not selected twice or more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 06:16:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780164#M5906</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-12T06:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780165#M5907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a somewhat similar question, wherein I have a choice list of 133 safety topics that I would like to show a random one each time the survey is taken.&amp;nbsp; It is more of a reminder to talk about a safety topic before beginning work.&amp;nbsp; It looks like this may now be available in 2.4 and I will have to look at the null esri field.&amp;nbsp; Any help would be appreciated!&amp;nbsp; Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Nov 2017 21:13:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780165#M5907</guid>
      <dc:creator>TimothyKing2</dc:creator>
      <dc:date>2017-11-12T21:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780166#M5908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did some exploration and although what Id like to be able to suggest is the ability to set a default value for a select_one question, something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/383358_pastedImage_1.png" style="width: 457px; height: 84px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this didn't work &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will explore the behavior of defaults and calculations some more, but in the meantime I was able to succeed with pulldata(). In the following example I moved the the random calculation into a calculate question, and instead of storing my list of values in the choices tab, I put them in a file called randomactivities.csv in the surveys media folder. This is what the .csv file looks like:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/383379_pastedImage_4.png" style="width: 193px; height: 160px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then back in my survey, in a text question I used pulldata() to return the id from the .csv file that matched the random number generated in the calculate question and displayed the corresponding action:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/383378_pastedImage_3.png" style="width: 620px; height: 106px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/383380_pastedImage_6.gif" style="width: 271px; height: 196px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Nov 2017 23:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780166#M5908</guid>
      <dc:creator>MarikaVertzonis</dc:creator>
      <dc:date>2017-11-12T23:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780167#M5909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked great Marika!&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing, do I need to have the randomchoice text and number show up, I would rather just have the saftety tip show up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;LTK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 19:25:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780167#M5909</guid>
      <dc:creator>TimothyKing2</dc:creator>
      <dc:date>2017-11-13T19:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780168#M5910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely not - that's just in the example to give visual confirmation that its working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 00:12:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780168#M5910</guid>
      <dc:creator>MarikaVertzonis</dc:creator>
      <dc:date>2017-11-14T00:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780169#M5911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your method on how to solve this would work! However, is it possible to take it even a step further. Ideally when I select a school the random 'activity' would only show those for that specific school.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have 50+ schools, meaning I would need to write 50+ lines in the 'relevant' column, dependent on what school was selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 14:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780169#M5911</guid>
      <dc:creator>CraigMcIntyre1</dc:creator>
      <dc:date>2018-02-19T14:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Random List - XLS Advanced Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780170#M5912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding the school choice leads you down the path of needing a cascading select ie: choose school and then from a reduced list of activities, choose an activity. If you haven't already tried the cascading select sample, do have a look at it. Saying that, I tried using a choice_filter on the question that does the pulldata from the csv (to limit the list to activities that are relevant to a school that was chosen in a previous question), but it doesn't work - nor is it really designed to. The choice_filter is really about limiting the list in a second select_one question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So does each school have a different list of random activities? Or can you arrange your information so you use the same list of random activities for each school? I think this would be the best way to do it. Or can you organize groups of lists? eg: schools 1,5,6,7 use list 1 and schools 2,3,4,8,9 use list 2? Then you could use the random choice generator as above, just apply it to different questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 23:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/random-list-xls-advanced-form/m-p/780170#M5912</guid>
      <dc:creator>MarikaVertzonis</dc:creator>
      <dc:date>2018-02-19T23:22:20Z</dc:date>
    </item>
  </channel>
</rss>

