<?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 Dynamically set group and note label, or hint contents in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamically-set-group-and-note-label-or-hint/m-p/768510#M3109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to set dynamically the label content for a Group or note, or even the hint contents?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an abbreviated version of my test survey. &amp;nbsp;The survey compiles and loads fine, but there is no content, i.e. there is just empty space, where the Group header and note should be.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/353013_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to use dynamic content in the&amp;nbsp;hint field,&amp;nbsp;i get some different&amp;nbsp;behavior depending on where (or if) a variable is used in the string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 May 2017 20:27:06 GMT</pubDate>
    <dc:creator>Trippetoe</dc:creator>
    <dc:date>2017-05-22T20:27:06Z</dc:date>
    <item>
      <title>Dynamically set group and note label, or hint contents</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamically-set-group-and-note-label-or-hint/m-p/768510#M3109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to set dynamically the label content for a Group or note, or even the hint contents?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an abbreviated version of my test survey. &amp;nbsp;The survey compiles and loads fine, but there is no content, i.e. there is just empty space, where the Group header and note should be.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/353013_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to use dynamic content in the&amp;nbsp;hint field,&amp;nbsp;i get some different&amp;nbsp;behavior depending on where (or if) a variable is used in the string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 20:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamically-set-group-and-note-label-or-hint/m-p/768510#M3109</guid>
      <dc:creator>Trippetoe</dc:creator>
      <dc:date>2017-05-22T20:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically set group and note label, or hint contents</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamically-set-group-and-note-label-or-hint/m-p/768511#M3110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe it is possible to&amp;nbsp;dynamically set&amp;nbsp;values in the label field just yet, but you can use a note&amp;nbsp;combined with a calculation&amp;nbsp;to dynamically display text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE width="833"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="font-size: 10.0pt; color: white; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: .5pt solid #9BBB59; background: #9BBB59;" width="66"&gt;type&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: white; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none; background: #9BBB59;" width="84"&gt;name&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: white; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none; background: #9BBB59;" width="114"&gt;label&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: white; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: .5pt solid #9BBB59; border-bottom: none; border-left: none; background: #9BBB59;" width="569"&gt;calculation&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: .5pt solid #9BBB59;"&gt;text&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;"&gt;someText&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;" width="114"&gt;Enter some text…&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: .5pt solid #9BBB59; border-bottom: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: .5pt solid #9BBB59;"&gt;decimal&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;"&gt;someNumber&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;" width="114"&gt;Enter a number…&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: .5pt solid #9BBB59; border-bottom: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: .5pt solid #9BBB59;"&gt;note&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;"&gt;note&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;" width="114"&gt;Summary&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: .5pt solid #9BBB59; border-bottom: none; border-left: none;"&gt;concat("This is your text:\n\n", ${someText}, "\n\nThis is your number…\n\n", ${someNumber})&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 07:43:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamically-set-group-and-note-label-or-hint/m-p/768511#M3110</guid>
      <dc:creator>MichaelKelly</dc:creator>
      <dc:date>2017-05-23T07:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically set group and note label, or hint contents</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamically-set-group-and-note-label-or-hint/m-p/768512#M3111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael.&lt;/P&gt;&lt;P&gt;I have been toying around with calculated note contents. It works OK. &amp;nbsp;The approach still requires (at least) two separate lines of screen space - one for the note Label and one for the note Contents. &amp;nbsp;I've been trying to preserve screen space by&amp;nbsp;having the note take up a single line, and i mostly convinced that that isn't possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a tangential note - any idea how to format the calculated text of a note's comments? I've tried adding the html formatting within the 'concat' function, but it seems to be ignored. For example, this has no impact on the color or size of the text:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;concat("&amp;lt;font color=blue size='small'&amp;gt;",${starttime},"00 - ", ${starttime}, "14&amp;lt;&amp;amp;#47;font&amp;gt;")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and inserted the concat function between the &amp;lt;font&amp;gt;&amp;lt;/font&amp;gt; tags forces a compile time error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 17:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamically-set-group-and-note-label-or-hint/m-p/768512#M3111</guid>
      <dc:creator>Trippetoe</dc:creator>
      <dc:date>2017-05-23T17:19:27Z</dc:date>
    </item>
  </channel>
</rss>

