<?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 the main form to the url in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-the-main-form-to-the-url/m-p/788040#M7611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I 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&gt;&lt;/P&gt;&lt;P&gt;concat('&amp;lt;a href="arcgis-survey123://?itemID=ec998f5e1d984bc5bb139c6e85040e7f&amp;amp;field:province=Basrah"&amp;gt;237 Daily&lt;/P&gt;&lt;P&gt;Report&amp;lt;/a&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to replace Basrah with the value entered in the main form&lt;/P&gt;&lt;P&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&gt;&lt;/P&gt;&lt;P&gt;The proble it fills in province a text {Province} without getting the value in {Province}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2019 21:55:00 GMT</pubDate>
    <dc:creator>OussamaMerhi</dc:creator>
    <dc:date>2019-07-03T21:55:00Z</dc:date>
    <item>
      <title>Passing value from the main form to the url</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-the-main-form-to-the-url/m-p/788040#M7611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I 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&gt;&lt;/P&gt;&lt;P&gt;concat('&amp;lt;a href="arcgis-survey123://?itemID=ec998f5e1d984bc5bb139c6e85040e7f&amp;amp;field:province=Basrah"&amp;gt;237 Daily&lt;/P&gt;&lt;P&gt;Report&amp;lt;/a&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to replace Basrah with the value entered in the main form&lt;/P&gt;&lt;P&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&gt;&lt;/P&gt;&lt;P&gt;The proble it fills in province a text {Province} without getting the value in {Province}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 21:55:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-the-main-form-to-the-url/m-p/788040#M7611</guid>
      <dc:creator>OussamaMerhi</dc:creator>
      <dc:date>2019-07-03T21:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Passing value from the main form to the url</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-the-main-form-to-the-url/m-p/788041#M7612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oussama&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're almost there! Please try something like this (note the commas and single quotes):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&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;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With&amp;nbsp;concat() the values to concatenate must be separated by commas. The concat() function is described here:&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also to reference another question in a calculation, use the ${question_name} syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, please let me know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 02:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-from-the-main-form-to-the-url/m-p/788041#M7612</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-07-09T02:37:02Z</dc:date>
    </item>
  </channel>
</rss>

