<?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 Unexpected behaviour: Text formatting for choice labels in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-behaviour-text-formatting-for-choice/m-p/1334623#M52115</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;While taking a feedback survey for Esri support, I really liked the style used for the likert scale as each choice had a corresponding background colour for it:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_1-1696351377234.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82209i9F5C038F7ED6649D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_1-1696351377234.png" alt="Vinzafy_1-1696351377234.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_2-1696351389553.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82210iDFBD7211CB007E7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_2-1696351389553.png" alt="Vinzafy_2-1696351389553.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried recreating this in S123 connect by adding style tags (thanks Ismael for the &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-quick-guide-to/ba-p/1101322" target="_self"&gt;fantastic blog post&lt;/A&gt;) to the label column in the choices worksheet, but to no avail.&lt;/P&gt;&lt;P&gt;Example label is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div style="background:#fc9b9d"&amp;gt;Not Satisfied At All&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though that same tag would work in the label column of the survey worksheet, I was stumped as to why it wasn't working for choice labels in S123 connect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_3-1696352065112.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82211i72D19FEE9439B855/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_3-1696352065112.png" alt="Vinzafy_3-1696352065112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried different methods of using older formats of HTML tags, but none would work.&lt;/P&gt;&lt;P&gt;From my experience, I know some things work in S123 connect but do not work in webforms. I didn't think the opposite would be true, but wanted to experiment.&lt;/P&gt;&lt;P&gt;After publishing the survey and opening the webform version of it, voila - it worked!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_4-1696352178480.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82212i19C6C9033E4DCD61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_4-1696352178480.png" alt="Vinzafy_4-1696352178480.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I was curious if it was just a S123 connect thing so I tried opening the same survey in the S123 app. No colours there.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_5-1696352224079.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82213i0122CF1D4785861B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_5-1696352224079.png" alt="Vinzafy_5-1696352224079.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Summary&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In summary, it seems as though text formatting tags for choice labels work in webforms, but &lt;EM&gt;&lt;STRONG&gt;not&lt;/STRONG&gt; &lt;/EM&gt;in S123 connect/app. Usually the reverse is true, but this is the first case I've experienced this behaviour.&lt;/P&gt;&lt;P&gt;Though this is more of an observation than a question, I guess the question to be posed is the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is it expected behaviour that HTML text formatting tags set to labels on the choices worksheet &lt;U&gt;do not&lt;/U&gt; function in S123 connect/app but &lt;U&gt;do&lt;/U&gt; function in webforms?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks as always.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 17:05:53 GMT</pubDate>
    <dc:creator>Vinzafy</dc:creator>
    <dc:date>2023-10-03T17:05:53Z</dc:date>
    <item>
      <title>Unexpected behaviour: Text formatting for choice labels</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-behaviour-text-formatting-for-choice/m-p/1334623#M52115</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;While taking a feedback survey for Esri support, I really liked the style used for the likert scale as each choice had a corresponding background colour for it:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_1-1696351377234.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82209i9F5C038F7ED6649D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_1-1696351377234.png" alt="Vinzafy_1-1696351377234.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_2-1696351389553.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82210iDFBD7211CB007E7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_2-1696351389553.png" alt="Vinzafy_2-1696351389553.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried recreating this in S123 connect by adding style tags (thanks Ismael for the &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-quick-guide-to/ba-p/1101322" target="_self"&gt;fantastic blog post&lt;/A&gt;) to the label column in the choices worksheet, but to no avail.&lt;/P&gt;&lt;P&gt;Example label is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div style="background:#fc9b9d"&amp;gt;Not Satisfied At All&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though that same tag would work in the label column of the survey worksheet, I was stumped as to why it wasn't working for choice labels in S123 connect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_3-1696352065112.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82211i72D19FEE9439B855/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_3-1696352065112.png" alt="Vinzafy_3-1696352065112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried different methods of using older formats of HTML tags, but none would work.&lt;/P&gt;&lt;P&gt;From my experience, I know some things work in S123 connect but do not work in webforms. I didn't think the opposite would be true, but wanted to experiment.&lt;/P&gt;&lt;P&gt;After publishing the survey and opening the webform version of it, voila - it worked!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_4-1696352178480.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82212i19C6C9033E4DCD61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_4-1696352178480.png" alt="Vinzafy_4-1696352178480.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I was curious if it was just a S123 connect thing so I tried opening the same survey in the S123 app. No colours there.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinzafy_5-1696352224079.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82213i0122CF1D4785861B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinzafy_5-1696352224079.png" alt="Vinzafy_5-1696352224079.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Summary&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In summary, it seems as though text formatting tags for choice labels work in webforms, but &lt;EM&gt;&lt;STRONG&gt;not&lt;/STRONG&gt; &lt;/EM&gt;in S123 connect/app. Usually the reverse is true, but this is the first case I've experienced this behaviour.&lt;/P&gt;&lt;P&gt;Though this is more of an observation than a question, I guess the question to be posed is the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is it expected behaviour that HTML text formatting tags set to labels on the choices worksheet &lt;U&gt;do not&lt;/U&gt; function in S123 connect/app but &lt;U&gt;do&lt;/U&gt; function in webforms?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks as always.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 17:05:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-behaviour-text-formatting-for-choice/m-p/1334623#M52115</guid>
      <dc:creator>Vinzafy</dc:creator>
      <dc:date>2023-10-03T17:05:53Z</dc:date>
    </item>
  </channel>
</rss>

