<?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: Survey123, somewhere between if then and cascading selects? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819603#M15453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still Blind&lt;/P&gt;&lt;P&gt;Changed them all to Class, including the csv filename and the csv header, but left the label the same.&lt;/P&gt;&lt;P&gt;No change&lt;/P&gt;&lt;P&gt;I have a feeling the issue is with the pulldata, I don't think it's placing any value for {Class1} and there's nothing for the note to report. I completely removed the or_other from the name selection, including the hidden row and there was no change, so I don't think the or_other is a factor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current CSV on top, Coices tab, Survey Tab, then 123 Connect on the bottom.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/461620_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/461627_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/461624_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/461626_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Oct 2019 19:23:01 GMT</pubDate>
    <dc:creator>BRYANHERRON</dc:creator>
    <dc:date>2019-10-10T19:23:01Z</dc:date>
    <item>
      <title>Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819594#M15444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am setting up Survey123 forms for our field guys, one of the questions is the Employee Name, which leads to what their Classification is. Originally I just had 2 text type fields for them to type in the info. Now I am trying to provide them a list to select their name from which I have accomplished with the type &lt;EM&gt;&lt;STRONG&gt;select_one Employee or_other &lt;/STRONG&gt;&lt;/EM&gt;on the Survey tab and in the following row a &lt;EM&gt;&lt;STRONG&gt;Hidden&lt;/STRONG&gt;&lt;/EM&gt; Type and &lt;STRONG&gt;&lt;EM&gt;EmployeeCollated&lt;/EM&gt;&lt;/STRONG&gt; Name and the Employee list in the choices tab.&amp;nbsp; That works fine, they can select their name and when there is a new employee that hasn't been added to the form yet, they can type in their name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI: I am exporting this all to a word document form of the old paper document they are currently filling out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee A, B &amp;amp; C classifications are Tech-1 Employee D&amp;amp;E are Tech-2 and so on. So what I am trying to accomplish is to populate the "Classification" question based on the input of the Employee name. One thought was to use a series of if then statements. I assume in the relevant column. I don't completely understand how the if/then statements work, but if they do, the concept I envision is:&lt;/P&gt;&lt;P&gt;Row 10 if(${Employee}='other', ${Employee_other}, {go to the next if/then?}) How do you go to the next if/then on false?&lt;/P&gt;&lt;P&gt;Row 11 if(${Employee}='a', ${Tech-1}, {go to the next if/then statement?})&lt;/P&gt;&lt;P&gt;Row 12 if(${Employee}='b', ${Tech-1}, {go to the next if/then statement?})&lt;/P&gt;&lt;P&gt;Row 13 if(${Employee}='c', ${Tech-1}, {go to the next if/then statement?})&lt;/P&gt;&lt;P&gt;Row 14 if(${Employee}='d', ${Tech-2}, {go to the next if/then statement?})&lt;/P&gt;&lt;P&gt;and so on until all the classifications are met. Can you group Employee a,b,c into one if/then?&lt;/P&gt;&lt;P&gt;If the if/then is not the solution then maybe some manipulation of the cascading selects to just populate the classification instead of offering another selection and still allowing user input if ${Employee}='other'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm relatively new to this, any help would be appreciated?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 20:23:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819594#M15444</guid>
      <dc:creator>BRYANHERRON</dc:creator>
      <dc:date>2019-10-09T20:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819595#M15445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We I have done these I find it easier to just have a lookup csv then use pulldata to get the values. Then no need to write out these long if statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 21:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819595#M15445</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-10-09T21:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819596#M15446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the idea Doug. I've never used a lookup csv. I'll do some research, but in the meantime, can you give me a short rundown on how that works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 12:49:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819596#M15446</guid>
      <dc:creator>BRYANHERRON</dc:creator>
      <dc:date>2019-10-10T12:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819597#M15447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a csv that has your lookup value and return value.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/461577_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you just query the csv in a calculation with a lookup value field, the columns to use (the csv can have lots of columns), and the column to return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pulldata('TransectCodes', 'TransectLetter', 'TransectNum', ${TransectNum})&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CSV name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return column&amp;nbsp; &amp;nbsp; lookup column&amp;nbsp; &amp;nbsp;field with the lookup value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me I am using the&amp;nbsp;once(count(${RepeatCount})) trick to figure out which repeat I am on - then I lookup the letter for that repeat.&amp;nbsp; So 1 is A, 2 is B, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours may be something like&lt;/P&gt;&lt;P&gt;a&amp;nbsp; tech1&lt;/P&gt;&lt;P&gt;b&amp;nbsp; tech2&lt;/P&gt;&lt;P&gt;c&amp;nbsp; tech1&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This also makes big lists way faster to load.&amp;nbsp; I ma up to 6,000 so far.&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;&lt;A href="https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-data"&gt;https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-data&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 13:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819597#M15447</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-10-10T13:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819598#M15448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was hoping you hadn't checked my reply yet so I could have edited it. The first tutorial video I found explained this as well. A lot easier than I expected. Thank you for the explanation. Now on to the next unknown! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;We'll see how the "or_other" part of the Employee name question affects the pulldata. Will it still open a text box to enter the classification manually when the user types in an unknown employee name? I hope it does and there's no additional trigger needed to get the text box to open for input. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 14:09:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819598#M15448</guid>
      <dc:creator>BRYANHERRON</dc:creator>
      <dc:date>2019-10-10T14:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819599#M15449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just thought it was easy, can't figure out the error. &lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/461583_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I've tried several things, but keep getting this similar message.I don't see any typos, I've changed the last call from Employee1 to Employee1Collated, Classification1 and several other things. I don't see any bad syntax. Idonno&lt;/P&gt;&lt;P&gt;Here's a view of the Employee_Classification.csv&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/461584_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Here's the form with the empty columns hidden. See rows 132-135.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="119" src="https://community.esri.com/legacyfs/online/461589_pastedImage_4.png" width="792" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819599#M15449</guid>
      <dc:creator>BRYANHERRON</dc:creator>
      <dc:date>2019-10-10T15:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819600#M15450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a extra ' right before ${Employee1} in your pulldata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:28:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819600#M15450</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-10-10T15:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819601#M15451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, at 53 I need, but do not have...... glasses.&lt;/P&gt;&lt;P&gt;So any guess as to why row 135 is not placing the actual Classification after the label?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/461590_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 16:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819601#M15451</guid>
      <dc:creator>BRYANHERRON</dc:creator>
      <dc:date>2019-10-10T16:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819602#M15452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are using a few different spellings for Classification.&amp;nbsp; Look at your csv column name.&amp;nbsp; Has Classisfication&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 18:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819602#M15452</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-10-10T18:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819603#M15453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still Blind&lt;/P&gt;&lt;P&gt;Changed them all to Class, including the csv filename and the csv header, but left the label the same.&lt;/P&gt;&lt;P&gt;No change&lt;/P&gt;&lt;P&gt;I have a feeling the issue is with the pulldata, I don't think it's placing any value for {Class1} and there's nothing for the note to report. I completely removed the or_other from the name selection, including the hidden row and there was no change, so I don't think the or_other is a factor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current CSV on top, Coices tab, Survey Tab, then 123 Connect on the bottom.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/461620_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/461627_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/461624_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/461626_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 19:23:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819603#M15453</guid>
      <dc:creator>BRYANHERRON</dc:creator>
      <dc:date>2019-10-10T19:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819604#M15454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is that EmployeeCollated1 has the name value not the label.&amp;nbsp; Your csv has the label so there is a mismatch.&lt;/P&gt;&lt;P&gt;When testing it is best to use note instead of hidden so you can see this kinda stuff.&amp;nbsp; &amp;nbsp;So change to note and see but this is prob it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the spaces from the employee names in the csv.&amp;nbsp; You could also add a space to the name part which is kinda ok and kinda not.&amp;nbsp; (it will work but complains).&amp;nbsp; There is also a way to get the label instead of the name- see this page&amp;nbsp;&lt;A href="https://community.esri.com/groups/survey123/blog/2018/12/02/survey123-tricks-of-the-trade-xlsform-functions-for-lists"&gt;https://community.esri.com/groups/survey123/blog/2018/12/02/survey123-tricks-of-the-trade-xlsform-functions-for-lists&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 20:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819604#M15454</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-10-10T20:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819605#M15455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm gonna change my name to Edison, cuz I'm approaching 10,000 ways to make it not work. Brain is mush, I'm done for the day. I'll hit it again in the morning. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 20:28:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819605#M15455</guid>
      <dc:creator>BRYANHERRON</dc:creator>
      <dc:date>2019-10-10T20:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, somewhere between if then and cascading selects?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819606#M15456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved! This was accomplished via the relevant column.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/461690_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/461691_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 15:56:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-somewhere-between-if-then-and-cascading/m-p/819606#M15456</guid>
      <dc:creator>BRYANHERRON</dc:creator>
      <dc:date>2019-10-11T15:56:11Z</dc:date>
    </item>
  </channel>
</rss>

