<?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 Passing value from main form to url in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-main-form-to-url/m-p/857224#M25026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;am trying to pass a parameter form&amp;nbsp; the main form to another form as link. it works well when you set a value&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;concat('&amp;lt;a href="arcgis-survey123://?itemID=ec998f5e1d984bc5bb139c6e85040e7f&amp;amp;field:province=Basrah"&amp;gt;237 Daily&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Report&amp;lt;/a&amp;gt;')&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Now I want to replace Basrah with the value entered in the main form&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;concat('&amp;lt;a href="arcgis-survey123://?itemID=ec998f5e1d984bc5bb139c6e85040e7f&amp;amp;field:province={Province}"&amp;gt;237 Daily Report&amp;lt;/a&amp;gt;')&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;The proble it fills in province a text {Province} without getting the value in {Province}&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Find attached the excel sheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2019 21:59:20 GMT</pubDate>
    <dc:creator>OussamaMerhi</dc:creator>
    <dc:date>2019-07-03T21:59:20Z</dc:date>
    <item>
      <title>Passing value from main form to url</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-main-form-to-url/m-p/857224#M25026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;am trying to pass a parameter form&amp;nbsp; the main form to another form as link. it works well when you set a value&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;concat('&amp;lt;a href="arcgis-survey123://?itemID=ec998f5e1d984bc5bb139c6e85040e7f&amp;amp;field:province=Basrah"&amp;gt;237 Daily&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Report&amp;lt;/a&amp;gt;')&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Now I want to replace Basrah with the value entered in the main form&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;concat('&amp;lt;a href="arcgis-survey123://?itemID=ec998f5e1d984bc5bb139c6e85040e7f&amp;amp;field:province={Province}"&amp;gt;237 Daily Report&amp;lt;/a&amp;gt;')&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;The proble it fills in province a text {Province} without getting the value in {Province}&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Find attached the excel sheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 21:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-main-form-to-url/m-p/857224#M25026</guid>
      <dc:creator>OussamaMerhi</dc:creator>
      <dc:date>2019-07-03T21:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Passing value from main form to url</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-main-form-to-url/m-p/857225#M25027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/328404"&gt;Oussama Merhi&lt;/A&gt;‌ I have done this recently (with the help of a fantastic blog &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2018/06/08/html-links-for-survey123-to-just-about-anything-work-in-progress"&gt;https://community.esri.com/groups/survey123/blog/2018/06/08/html-links-for-survey123-to-just-about-anything-work-in-progress&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did it in a two step process as suggested in the blog, first create the URL, then create the http hyperlink&lt;/P&gt;&lt;P&gt;concat("arcgis-survey123://?itemID=ec998f5e1d984bc5bb139c6e85040e7f&amp;amp;field:province=",${Province})&lt;/P&gt;&lt;P&gt;concat('&amp;lt;a href="',${Survey123URL},'"&amp;gt;237 Daily Report&amp;lt;/a&amp;gt;')&lt;/P&gt;&lt;P&gt;Once tested and working I made the first field type hidden&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can parse more than one parameter quite easily with this method, for example&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;concat("arcgis-survey123://?itemID=ec998f5e1d984bc5bb139c6e85040e7f&amp;amp;field:province=",${Province},"&amp;amp;field:village=",${Village})&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 20:40:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-main-form-to-url/m-p/857225#M25027</guid>
      <dc:creator>EmmaDuncan1</dc:creator>
      <dc:date>2019-07-04T20:40:21Z</dc:date>
    </item>
  </channel>
</rss>

