<?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: Quote marks in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/quote-marks/m-p/816946#M14866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petronila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to 'escape' the quotation mark by using a \" in place of " :&lt;/P&gt;&lt;P&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 10pt;"&gt;${hose_connection_size | selected:"1_1_2\""} 1 1/2"&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Nov 2019 19:12:35 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2019-11-12T19:12:35Z</dc:date>
    <item>
      <title>Quote marks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/quote-marks/m-p/816945#M14865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I knew I shouldn't have included the quote mark in my answers, but I did. And now I'm regretting it. Here's my conundrum:&lt;/P&gt;&lt;P&gt;In a Survey123 survey, I can about hose connection size. The options for the question are:&lt;/P&gt;&lt;P&gt;1 1/2" (for one and a half inches)&lt;/P&gt;&lt;P&gt;2 1/2"&lt;/P&gt;&lt;P&gt;4 1/2"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The choice of answers recorded are:&lt;/P&gt;&lt;P&gt;1_1_2"&lt;/P&gt;&lt;P&gt;2_1_2"&lt;/P&gt;&lt;P&gt;4_1_4"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They all have that trailing quote. To be honest, if I had noticed it before publishing, I would have deleted the quote mark, but I didn't.&lt;/P&gt;&lt;P&gt;Anyway, now when I try to export a feature report, the answer for that question doesn't export.&lt;/P&gt;&lt;P&gt;At the moment, the way I have it in my Word document is like this:&lt;/P&gt;&lt;TABLE style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: dotted windowtext 1.0pt; padding: 5.75pt 5.75pt 5.75pt 5.75pt;"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Hose connection size?&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: dotted windowtext 1.0pt; border-left: none; padding: 5.75pt 5.75pt 5.75pt 5.75pt;"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="font-size: 10.0pt; "&gt;${hose_connection_size | selected:"1_1_2"} 1 1/2"&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="font-size: 10.0pt; "&gt;${hose_connection_size | selected:"2_1_2"} 2 1/2"&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="font-size: 10.0pt; "&gt;${hose_connection_size | selected:"4_1_2"} 4 1/2"&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="font-size: 10.0pt; "&gt;${hose_connection_size_other}&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This doesn't return anything (obviously, because of the extra quote). But when I add a quote mark at the end like this:&lt;/P&gt;&lt;P&gt;${hose_connection_size | selected: "1_1_2""} 1 1/2"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this when I upload the word template:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #bc7610; background-color: #fff1dd;"&gt;Error: Failed to parse &lt;/SPAN&gt;&lt;EM style="color: #bc7610; background-color: #fff1dd;"&gt;${hose_connection_size | selected:"1_1_2"”}&lt;/EM&gt;&lt;SPAN style="color: #bc7610; background-color: #fff1dd;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, that's not working. Does anyone know how to get around this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance... &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 18:11:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/quote-marks/m-p/816945#M14865</guid>
      <dc:creator>PetronilaMandeno</dc:creator>
      <dc:date>2019-11-05T18:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Quote marks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/quote-marks/m-p/816946#M14866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petronila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to 'escape' the quotation mark by using a \" in place of " :&lt;/P&gt;&lt;P&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 10pt;"&gt;${hose_connection_size | selected:"1_1_2\""} 1 1/2"&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2019 19:12:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/quote-marks/m-p/816946#M14866</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-11-12T19:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Quote marks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/quote-marks/m-p/816947#M14867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a work around, I already changed the template so that the report returned just the answer. That worked, but I couldn't have the little check box format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next time we change the template, I'll try using the forward slash. Thanks for the tip!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 22:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/quote-marks/m-p/816947#M14867</guid>
      <dc:creator>PetronilaMandeno</dc:creator>
      <dc:date>2019-11-13T22:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Quote marks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/quote-marks/m-p/1056154#M34467</link>
      <description>&lt;P&gt;Hi I have lat/longs written in DMS but without the special characters ie.&amp;nbsp; "40 18 12.12345 N"&lt;/P&gt;&lt;P&gt;I want to have a survey123 question that's hidden that will add in the special characters so it looks like this, "40° 18' 12.12345" N"&lt;/P&gt;&lt;P&gt;I was planning on using the concat function combined with the substr function to pull certain parts then add in the characters.&amp;nbsp; I ran into a problem trying to add the single quote (').&amp;nbsp; I couldn't get it recognize the single quote.&lt;/P&gt;&lt;P&gt;This is what I had below.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;concat((subtra(${DMSLat},0,2})), '°',(subtra(${DMSLat},3,5)), ''',(subtra(${DMSLat},6,12)),'" N')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So ultimately my questions is: A. How to do I add a single quote to an answer and B. Is my script correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Katie&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 11:47:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/quote-marks/m-p/1056154#M34467</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-05-10T11:47:48Z</dc:date>
    </item>
  </channel>
</rss>

