<?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 Creating a maintenance summary note from calculated field in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-maintenance-summary-note-from/m-p/718587#M556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a detailed and formatted maintenance summary dynamically from user input. So far, I have got the function to work, but it will only take the first TRUE if statement. Ideally, everything with a rating &amp;gt; 1 would be appended to the "Maintenance Summary" with the format shown below (Name: {Rating} 'new line indented' Comment: {Comment}). I'm doing this using one hidden field for the calculation (type: &lt;EM&gt;calculate&lt;/EM&gt;) and one field for the Maintenance Summary (type: &lt;EM&gt;note&lt;/EM&gt;; label:&amp;nbsp;&lt;EM&gt;&amp;lt;font color = "red"&amp;gt;&amp;lt;b&amp;gt;&amp;lt;center&amp;gt;Maintenance Summary&amp;lt;/center&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;p&amp;gt;${Maintenance_Calc}&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the calculation in the calculated field is as follows &lt;EM&gt;(only for two fields at the moment for testing; it will be used on around 200 fields if I can get it to work..)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;if(${IB_IZ_IO_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Inlet Zone - Inlet obstruction: &amp;lt;/b&amp;gt;' + ${IB_IZ_IO_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;u&amp;gt;Comment:&amp;lt;/u&amp;gt; ' + ${IB_IZ_IO_Comm} + '&amp;lt;/blockquote&amp;gt;','') or if(${IB_IZ_EBSS_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Inlet Zone - Erosion, bare spots, &amp;amp; sedimentation: &amp;lt;/b&amp;gt;' + ${IB_IZ_EBSS_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;u&amp;gt;Comment:&amp;lt;/u&amp;gt; ' + ${IB_IZ_EBSS_Comm} + '&amp;lt;/blockquote&amp;gt;','')&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any and all help is greatly appreciated!!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/489478_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/489494_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/489495_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2020 19:52:44 GMT</pubDate>
    <dc:creator>BryanO_Reilly</dc:creator>
    <dc:date>2020-04-21T19:52:44Z</dc:date>
    <item>
      <title>Creating a maintenance summary note from calculated field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-maintenance-summary-note-from/m-p/718587#M556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a detailed and formatted maintenance summary dynamically from user input. So far, I have got the function to work, but it will only take the first TRUE if statement. Ideally, everything with a rating &amp;gt; 1 would be appended to the "Maintenance Summary" with the format shown below (Name: {Rating} 'new line indented' Comment: {Comment}). I'm doing this using one hidden field for the calculation (type: &lt;EM&gt;calculate&lt;/EM&gt;) and one field for the Maintenance Summary (type: &lt;EM&gt;note&lt;/EM&gt;; label:&amp;nbsp;&lt;EM&gt;&amp;lt;font color = "red"&amp;gt;&amp;lt;b&amp;gt;&amp;lt;center&amp;gt;Maintenance Summary&amp;lt;/center&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;p&amp;gt;${Maintenance_Calc}&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the calculation in the calculated field is as follows &lt;EM&gt;(only for two fields at the moment for testing; it will be used on around 200 fields if I can get it to work..)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;if(${IB_IZ_IO_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Inlet Zone - Inlet obstruction: &amp;lt;/b&amp;gt;' + ${IB_IZ_IO_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;u&amp;gt;Comment:&amp;lt;/u&amp;gt; ' + ${IB_IZ_IO_Comm} + '&amp;lt;/blockquote&amp;gt;','') or if(${IB_IZ_EBSS_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Inlet Zone - Erosion, bare spots, &amp;amp; sedimentation: &amp;lt;/b&amp;gt;' + ${IB_IZ_EBSS_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;u&amp;gt;Comment:&amp;lt;/u&amp;gt; ' + ${IB_IZ_EBSS_Comm} + '&amp;lt;/blockquote&amp;gt;','')&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any and all help is greatly appreciated!!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/489478_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/489494_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/489495_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 19:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-maintenance-summary-note-from/m-p/718587#M556</guid>
      <dc:creator>BryanO_Reilly</dc:creator>
      <dc:date>2020-04-21T19:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a maintenance summary note from calculated field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-maintenance-summary-note-from/m-p/718588#M557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it to work as I intended.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modified Calculation Code below. The Key was to make them self contained if statements and use the &lt;STRONG&gt;"+"&amp;nbsp;&lt;/STRONG&gt;symbol to combine them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(${IB_IZ_IO_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Inlet Zone - Inlet obstruction: &amp;lt;/b&amp;gt;' + ${IB_IZ_IO_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;Comment:&amp;lt;/i&amp;gt; ' + ${IB_IZ_IO_Comm} + '&amp;lt;/blockquote&amp;gt;&amp;lt;p&amp;gt;&lt;STRONG&gt;','') +&lt;/STRONG&gt; if(${IB_IZ_EBSS_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Inlet Zone - Erosion, bare spots, &amp;amp; sedimentation: &amp;lt;/b&amp;gt;' + ${IB_IZ_EBSS_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;Comment:&amp;lt;/i&amp;gt; ' + ${IB_IZ_EBSS_Comm} + '&amp;lt;/blockquote&amp;gt;&amp;lt;p&amp;gt;'&lt;STRONG&gt;,'') +&lt;/STRONG&gt;if(${IB_IZ_PT_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Inlet Zone - Pretreatment: &amp;lt;/b&amp;gt;' + ${IB_IZ_PT_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;Comment:&amp;lt;/i&amp;gt; ' + ${IB_IZ_PT_Comm} + '&amp;lt;/blockquote&amp;gt;&amp;lt;p&amp;gt;','') +if(${IB_IZ_SI_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Inlet Zone - Structural Integrity: &amp;lt;/b&amp;gt;' + ${IB_IZ_SI_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;Comment:&amp;lt;/i&amp;gt; ' + ${IB_IZ_SI_Comm} + '&amp;lt;/blockquote&amp;gt;&amp;lt;p&amp;gt;'&lt;STRONG&gt;,'') +if&lt;/STRONG&gt;(${IB_PZ_SA_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Perimeter Zone - Surface area: &amp;lt;/b&amp;gt;' + ${IB_PZ_SA_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;Comment:&amp;lt;/i&amp;gt; ' + ${IB_PZ_SA_Comm} + '&amp;lt;/blockquote&amp;gt;&amp;lt;p&amp;gt;'&lt;STRONG&gt;,'') +if&lt;/STRONG&gt;(${IB_PZ_SSE_Rat}&amp;gt;1,'&amp;lt;b&amp;gt;Perimeter Zone - Side slope erosion: &amp;lt;/b&amp;gt;' + ${IB_PZ_SSE_Rat} + '&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;Comment:&amp;lt;/i&amp;gt; ' + ${IB_PZ_SSE_Comm} + '&amp;lt;/blockquote&amp;gt;&amp;lt;p&amp;gt;','')&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/489509_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 21:26:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-maintenance-summary-note-from/m-p/718588#M557</guid>
      <dc:creator>BryanO_Reilly</dc:creator>
      <dc:date>2020-04-21T21:26:20Z</dc:date>
    </item>
  </channel>
</rss>

