<?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: Creating clickable read-only URL in Survey123 form in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-clickable-read-only-url-in-survey123-form/m-p/1176567#M42879</link>
    <description>&lt;P&gt;Thank you for that help - I was not quite doing it this way. I was trying to set up one field for my link (&lt;EM&gt;which is type=text, but appearance=calculation and then a concat statement in the calculate column to generate the URL from a base URL and then 3 different fields in the form&lt;/EM&gt;) and then a note which has the &lt;EM&gt;&lt;STRONG&gt;a href&lt;/STRONG&gt;&lt;/EM&gt; in the "label" column. Adding an intermediate calculate question for 'mylink' with your example above worked perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My quotes were also a bit different from what you've shown, so seeing the second example was very helpful.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the help!&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2022 18:51:26 GMT</pubDate>
    <dc:creator>erica_poisson</dc:creator>
    <dc:date>2022-05-23T18:51:26Z</dc:date>
    <item>
      <title>Creating clickable read-only URL in Survey123 form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-clickable-read-only-url-in-survey123-form/m-p/1176405#M42874</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was reading &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/what-s-new-in-arcgis-survey123-december-2021/bc-p/1175177" target="_blank" rel="noopener"&gt;this blog post&lt;/A&gt; on the December 2021 update and was hoping for some clarification on this bug, which was marked as resolved in the post:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;BUG-000130873 The Survey123 web application does not honor HTML tag formatting set on surveys published from Survey123 Connect.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;I have a Survey123 form, which I am designing in the latest version of Connect. The URL I am creating works perfectly in Connect when I test, but as soon as the form is published the web form (which I have embedded in a Dashboard) does not work. Please see details below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am having some issues with an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;a href&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;statement working properly. It works perfectly in the field app and Connect (latest version downloaded today). Here is what I see in my form within a Dashboard; the blacked out portion is a read-only URL to SharePoint, while the hyperlink is in a 'note' and should say "View Project Files" and bring the user to the SharePoint location from above:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_tefft_0-1653314414990.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41947i5E1897C328326FE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_0-1653314414990.png" alt="erica_tefft_0-1653314414990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The URL is completely different than what is specified; it goes here instead:&amp;nbsp;&lt;A href="https://survey123.arcgis.com/share/v3.14/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://survey123.arcgis.com/share/v3.14/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have tried the a href statement with a : and = after 'target' and get the same result. Here is the XLSForm:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_tefft_1-1653314414995.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41946iA3C6EF97DC8FD84D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_tefft_1-1653314414995.png" alt="erica_tefft_1-1653314414995.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this expected behavior? Any advice would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 14:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-clickable-read-only-url-in-survey123-form/m-p/1176405#M42874</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2022-05-23T14:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating clickable read-only URL in Survey123 form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-clickable-read-only-url-in-survey123-form/m-p/1176520#M42878</link>
      <description>&lt;P&gt;Hi Erica. The mobile and web apps sanitize HTML tags differently. This is why you see your links working in one but not the other. The mobile app is much more strict.&lt;/P&gt;&lt;P&gt;There should be no issues with fixed links. For example, this will work in both the web and mobile apps:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_0-1653326735609.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41963i75216870B2CAACF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1653326735609.png" alt="IsmaelChivite_0-1653326735609.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Problems arise when you make your link dynamic. For example, here I am inserting a variable in the link using data from a question in the form. This syntax works in the mobile app, but not in the web app&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_1-1653326840345.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41964i64C358DF61DF6F2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_1-1653326840345.png" alt="IsmaelChivite_1-1653326840345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The trick is to create the complete HTML tag in a calculate question, and then bring that into your note label. For example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_2-1653327062181.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41965i04BF2FAF284553A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_2-1653327062181.png" alt="IsmaelChivite_2-1653327062181.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the calculation in plain text for clarity. Putting the quotes of the right type in the right place can be tricky. I typically make the calculate question a text question&amp;nbsp; for debugging, and when it is good to go I turn it into a calculate with esriFieldType set to null.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;concat('&amp;lt;a href="https://www.esri.com/',${sublink},'"&amp;gt;My link with sublink&amp;lt;/a&amp;gt;')

concat('&amp;lt;a href="https://www.esri.com/',${sublink},'" target="_blank"&amp;gt;My link with sublink&amp;lt;/a&amp;gt;')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 17:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-clickable-read-only-url-in-survey123-form/m-p/1176520#M42878</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2022-05-23T17:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating clickable read-only URL in Survey123 form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-clickable-read-only-url-in-survey123-form/m-p/1176567#M42879</link>
      <description>&lt;P&gt;Thank you for that help - I was not quite doing it this way. I was trying to set up one field for my link (&lt;EM&gt;which is type=text, but appearance=calculation and then a concat statement in the calculate column to generate the URL from a base URL and then 3 different fields in the form&lt;/EM&gt;) and then a note which has the &lt;EM&gt;&lt;STRONG&gt;a href&lt;/STRONG&gt;&lt;/EM&gt; in the "label" column. Adding an intermediate calculate question for 'mylink' with your example above worked perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My quotes were also a bit different from what you've shown, so seeing the second example was very helpful.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the help!&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 18:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-clickable-read-only-url-in-survey123-form/m-p/1176567#M42879</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2022-05-23T18:51:26Z</dc:date>
    </item>
  </channel>
</rss>

