<?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: Adobe Forms - Subform Hide its Fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668094#M1867816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that is the case , you need to modify the code if you go for Java script also .&lt;/P&gt;&lt;P&gt;The advantage of having table is you dont have to add the code 100 times ( as you would have to do now ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put the code inside the loop and logic will be applied to all the fields / rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I understood your issue correctly that function will come back tomorrow saying he wants to hide the field if value is so and so . (like we are hiding it now if value is blank ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Manik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2014 23:06:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-10-16T23:06:57Z</dc:date>
    <item>
      <title>Adobe Forms - Subform Hide its Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668090#M1867812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed an adobe form which has a subform that contains more than 100 fields. &lt;/P&gt;&lt;P&gt;My requirement is to hide all initial fields, in other words, only display those fields that has value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm able to do this using the follow javascript at event "initializate" of respective field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(this.rawValue == null){&amp;nbsp; this.presence = "hidden"; }&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is like I said, I have more than 100 fields.&lt;/P&gt;&lt;P&gt;Before I code it in each field, I would like to know if is there any way to do this once in the subform that replays to all fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not find any solution in the internet so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate any reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Vinicius Ostan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 13:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668090#M1867812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-16T13:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adobe Forms - Subform Hide its Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668091#M1867813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are other ways but they would also involve same stuff as you are doing now with Java script .&lt;/P&gt;&lt;P&gt;There is one very sophisticated way but will take more time as described below : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to declare a table . Put all the fields with value in the internal table .&lt;/P&gt;&lt;P&gt;Pass this Internal table to the form and display. Make sure you make the sub form as flowed . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Manik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 17:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668091#M1867813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-16T17:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adobe Forms - Subform Hide its Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668092#M1867814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manik, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are telling to create an internal table and pass as parameter to adobe forms, right?&lt;/P&gt;&lt;P&gt;If yes, there is a problem, because almost all of those fields are editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My biggest problem is that I'm sure that the functional will request to&amp;nbsp; modify the logic above (i.e. do not display when something else happens), so I'll have to modify this logic a lot of times for each field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I'll wait a bit for someone else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Vinicius Ostan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 17:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668092#M1867814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-16T17:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adobe Forms - Subform Hide its Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668093#M1867815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinicius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perhaps you can try to loop through all fields in the very beginning, but I never done that and I'm not sure if this will end in more trouble than doing the coding thing you already know about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't work, I'm pretty sure there is no other option than coding in all fields. You sound like you need each field seperate on the form, so I think there is no solution for you.&lt;/P&gt;&lt;P&gt;Sorry&lt;SPAN __jive_emoticon_name="plain" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1063/images/emoticons/plain.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 21:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668093#M1867815</guid>
      <dc:creator>Florian</dc:creator>
      <dc:date>2014-10-16T21:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adobe Forms - Subform Hide its Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668094#M1867816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that is the case , you need to modify the code if you go for Java script also .&lt;/P&gt;&lt;P&gt;The advantage of having table is you dont have to add the code 100 times ( as you would have to do now ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put the code inside the loop and logic will be applied to all the fields / rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I understood your issue correctly that function will come back tomorrow saying he wants to hide the field if value is so and so . (like we are hiding it now if value is blank ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Manik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 23:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668094#M1867816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-16T23:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adobe Forms - Subform Hide its Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668095#M1867817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manik, I understand what you mean, &lt;/P&gt;&lt;P&gt;Create a table that contains just one row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try this, as soon as possible will post result here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Vinicius Ostan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 12:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668095#M1867817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-17T12:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adobe Forms - Subform Hide its Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668096#M1867818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Until now, I did not find any suitable solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the easier way is selecting all fields then copying and pasting the javascript code in each one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll keep this topic open if anyone finds a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Vinicius Ostan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 11:14:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adobe-forms-subform-hide-its-fields/m-p/10668096#M1867818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-20T11:14:27Z</dc:date>
    </item>
  </channel>
</rss>

