<?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: cursor position when jumping from field to field in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/cursor-position-when-jumping-from-field-to-field/m-p/796152#M9532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From my experience, you don't have to do:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(${field}!=NULL,...)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You can simply write:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(${field},...)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2019 15:21:18 GMT</pubDate>
    <dc:creator>NicolasRoger</dc:creator>
    <dc:date>2019-02-01T15:21:18Z</dc:date>
    <item>
      <title>cursor position when jumping from field to field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/cursor-position-when-jumping-from-field-to-field/m-p/796149#M9529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a long list of integer fields (25 fields) from where I want to calculate the total in the end. I have put all as default=0 to make sure that no "NULL" value is disabling my calculation. When I now use the "tab" to jump from field to field the cursor is placed after the default 0 so the user always has either to go manually before the zero or has to delete the zero before starting to type his own value. I would prefer to have the whole default value selected when reaching the field so it would automatically be overwritten when I start typing. Is there a way to do that? Or is there a different way to make sure I can use the field for my calculations? I was just thinking of using if(${field}!=NULL,...) but that would mean I have to do a 25times nested "if...", right? There must be an easier way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2019 13:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/cursor-position-when-jumping-from-field-to-field/m-p/796149#M9529</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2019-01-20T13:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: cursor position when jumping from field to field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/cursor-position-when-jumping-from-field-to-field/m-p/796150#M9530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This suggestion originally&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/message/816298-re-calculations-on-an-unknown-number-of-fields?commentID=816298#comment-816298" title="https://community.esri.com/message/816298-re-calculations-on-an-unknown-number-of-fields?commentID=816298#comment-816298"&gt;posted here&lt;/A&gt;&amp;nbsp;by &lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌ might be what you're after:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;- if you have a few calculations, you can use the coalesce() function to provide an alternative value if a question is not answered (null) - coalesce(${q1}, 0) will return the value in q1 when present, 0 otherwise&lt;/P&gt;&lt;P&gt;- an alternate formula to coalesce would be: if(string-length(${q1}) = 0, 0, ${q1})&lt;/P&gt;&lt;P&gt;- If you have a large number of calculations, you can add a calculate question after each measurement to store the coalesce or if/string-length function (likely making the bind:esri:fieldType null to not add fields to the table) and use the calculate questions' values instead.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two other (less elegant) options, using your default 0:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;User could simply enter more digits immediately after the zero - the leading zero will be ignored.&lt;/LI&gt;&lt;LI&gt;Experiment with different appearance options. The 'spinner' appearance could be handy for questions accepting small numbers (say &amp;lt; 10). The 'calculator' appearance overwrites the default on entry (however, the other calculator functions it presents could cause confusion).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2019 01:29:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/cursor-position-when-jumping-from-field-to-field/m-p/796150#M9530</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-01-21T01:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: cursor position when jumping from field to field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/cursor-position-when-jumping-from-field-to-field/m-p/796151#M9531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot! I think I will test with the calculator appearance and hear what our enumerators think about it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2019 08:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/cursor-position-when-jumping-from-field-to-field/m-p/796151#M9531</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2019-01-21T08:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: cursor position when jumping from field to field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/cursor-position-when-jumping-from-field-to-field/m-p/796152#M9532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From my experience, you don't have to do:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(${field}!=NULL,...)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You can simply write:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(${field},...)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 15:21:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/cursor-position-when-jumping-from-field-to-field/m-p/796152#M9532</guid>
      <dc:creator>NicolasRoger</dc:creator>
      <dc:date>2019-02-01T15:21:18Z</dc:date>
    </item>
  </channel>
</rss>

