<?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: Hiding subform in Adobe  Forms with JavaScript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318662#M1991063</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;if(TextField2.rawValue == null) &lt;/P&gt;&lt;P&gt;
{ 
   Table2.Row1.Subform2.presence = "hidden"; &lt;/P&gt;&lt;P&gt;
} &lt;/P&gt;&lt;P&gt;
else &lt;/P&gt;&lt;P&gt;
{&lt;/P&gt;&lt;P&gt; 
   Table2.Row1.Subform2.presence = "visible";&lt;/P&gt;&lt;P&gt; 
} &lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 11:31:16 GMT</pubDate>
    <dc:creator>former_member717457</dc:creator>
    <dc:date>2021-01-12T11:31:16Z</dc:date>
    <item>
      <title>Hiding subform in Adobe  Forms with JavaScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318660#M1991061</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;
  &lt;P&gt;I googled and read a lot of advice in other questions but I don't get my problem fixed:&lt;/P&gt;
  &lt;P&gt;Whether it's an invoice or a cancellation, the title of the document is meant to be different.&lt;/P&gt;
  &lt;P&gt;I got 2 subforms and depending on 2 criterias I wanted to show just one of them. Inside of each subform there is a different text to meant to be the title.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;data.Information.INFOFENSTER.TITLETEXT.INVOICE::initialize - (JavaScript, both)
if (this.LFAKS.rawValue != "" &amp;amp;&amp;amp; this.LFTYP.rawValue != "01")
{
this.presence = "visible";
}
else
{
this.presence = "hidden";
}
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;In the context I inserted the to variables as LFAKS and LFTYP into the folder "INVOICE" (which is in 2 other folders). My forms also got the right binding, I think.&lt;/P&gt;
  &lt;P&gt;Is something wrong with the coding or do you have other ideas?&lt;/P&gt;
  &lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 10:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318660#M1991061</guid>
      <dc:creator>former_member787016</dc:creator>
      <dc:date>2021-01-12T10:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding subform in Adobe  Forms with JavaScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318661#M1991062</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;alexity&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Try this.presence = "inactive" instead of "hidden".&lt;/P&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Tue, 12 Jan 2021 11:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318661#M1991062</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-01-12T11:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding subform in Adobe  Forms with JavaScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318662#M1991063</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;if(TextField2.rawValue == null) &lt;/P&gt;&lt;P&gt;
{ 
   Table2.Row1.Subform2.presence = "hidden"; &lt;/P&gt;&lt;P&gt;
} &lt;/P&gt;&lt;P&gt;
else &lt;/P&gt;&lt;P&gt;
{&lt;/P&gt;&lt;P&gt; 
   Table2.Row1.Subform2.presence = "visible";&lt;/P&gt;&lt;P&gt; 
} &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 11:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318662#M1991063</guid>
      <dc:creator>former_member717457</dc:creator>
      <dc:date>2021-01-12T11:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding subform in Adobe  Forms with JavaScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318663#M1991064</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;mateuszadamus&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;unfortunately it did'nt help...&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 12:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318663#M1991064</guid>
      <dc:creator>former_member787016</dc:creator>
      <dc:date>2021-01-12T12:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding subform in Adobe  Forms with JavaScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318664#M1991065</link>
      <description>&lt;P&gt;I don't want to hide table rows, so I don't know how that should work.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 12:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318664#M1991065</guid>
      <dc:creator>former_member787016</dc:creator>
      <dc:date>2021-01-12T12:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding subform in Adobe  Forms with JavaScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318665#M1991066</link>
      <description>&lt;P&gt;In this case please check your condition and/or the spot you're executing the script in.&lt;/P&gt;&lt;P&gt;I know for a fact that presence = "inactive" hides elements, I used it myself.&lt;/P&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Tue, 12 Jan 2021 12:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318665#M1991066</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-01-12T12:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding subform in Adobe  Forms with JavaScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318666#M1991067</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Pls go-through the following link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://experienceleaguecommunities.adobe.com/t5/adobe-livecycle-questions/adobe-form-subform-hide-visible-problem/qaq-p/234048"&gt;Adobe Form Subform Hide/Visible Problem - Adobe Experience League Community - 234048&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sathish Kumar Sidhaiyan&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 13:25:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subform-in-adobe-forms-with-javascript/m-p/12318666#M1991067</guid>
      <dc:creator>former_member717457</dc:creator>
      <dc:date>2021-01-12T13:25:00Z</dc:date>
    </item>
  </channel>
</rss>

