<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Almost Finished: Plz Help With Calculation/Checkbox And Hidden Fields</title>
    <link>https://forums.adobe.com/community/acrobat/forms?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Fri, 07 Nov 2014 10:26:51 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-07T10:26:51Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Almost Finished: Plz Help With Calculation/Checkbox And Hidden Fields</title>
      <link>https://forums.adobe.com/message/6908430?tstart=0#6908430</link>
      <description>&lt;!-- [DocumentBodyStart:dbdc3c9a-8428-4f3c-832d-9c631ba560da] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;That type of thing usually means the field calculation order is not correct, so just set it to what makes sense.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:dbdc3c9a-8428-4f3c-832d-9c631ba560da] --&gt;&lt;img src='/beacon?t=1415923106779' /&gt;</description>
      <pubDate>Fri, 07 Nov 2014 10:26:51 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6908430?tstart=0#6908430</guid>
      <dc:date>2014-11-07T10:26:51Z</dc:date>
      <clearspace:dateToText>6 days 14 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Almost Finished: Plz Help With Calculation/Checkbox And Hidden Fields</title>
      <link>https://forums.adobe.com/message/6908235?tstart=0#6908235</link>
      <description>&lt;!-- [DocumentBodyStart:4bd4e9f3-185b-4ea0-b756-577036408523] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi George, good eye in catching my spelling error -- thanks very much!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The Total box works now, but in a bit of a strange way -- it seems to be one Checkbox behind. It shows $20 right off the bat which is what I expected to see because the first Checkbox line is read only and cannot be deselected. However, when I select the second Checkbox (BMMC for $20), the Total box does not update until the &lt;strong&gt;next Checkbox is selected&lt;/strong&gt;, and so forth. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can this be corrected?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Also, I wonder if I made things unnecessarily complicated by using hidden fields, etc. Maybe I should've just had the 4 Checkboxes (plus the donation amount box), and left the dollar amounts ($20, $20, and $45) as plain text...&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4bd4e9f3-185b-4ea0-b756-577036408523] --&gt;</description>
      <pubDate>Fri, 07 Nov 2014 08:51:19 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6908235?tstart=0#6908235</guid>
      <dc:date>2014-11-07T08:51:19Z</dc:date>
      <clearspace:dateToText>6 days 15 hours ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Almost Finished: Plz Help With Calculation/Checkbox And Hidden Fields</title>
      <link>https://forums.adobe.com/message/6908127?tstart=0#6908127</link>
      <description>&lt;!-- [DocumentBodyStart:19cb5f01-e1ec-4920-84d0-73086cdda4c3] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;The field name is "Donation Amount", not "Donatin Amount", and the resulting error does show up in the JavaScript console. I recommend that you enable the following preference: Edit &amp;gt; Preferences &amp;gt; JavaScript &amp;gt; Show console on errors and messages&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;so that you notice errors when they happen.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:19cb5f01-e1ec-4920-84d0-73086cdda4c3] --&gt;</description>
      <pubDate>Fri, 07 Nov 2014 08:34:25 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6908127?tstart=0#6908127</guid>
      <dc:date>2014-11-07T08:34:25Z</dc:date>
      <clearspace:dateToText>6 days 15 hours ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Almost Finished: Plz Help With Calculation/Checkbox And Hidden Fields</title>
      <link>https://forums.adobe.com/message/6908077?tstart=0#6908077</link>
      <description>&lt;!-- [DocumentBodyStart:a04e4cc6-6e62-40c0-9678-f4da3af0127c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;No errors. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.dropbox.com/s/rdq0cirkzc60mfw/BMMC%20ROAE%20Registration%202.pdf?dl=0" rel="nofollow"&gt;Here's the updated file&lt;/a&gt; if you'd like to have a look.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a04e4cc6-6e62-40c0-9678-f4da3af0127c] --&gt;</description>
      <pubDate>Fri, 07 Nov 2014 08:28:10 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6908077?tstart=0#6908077</guid>
      <dc:date>2014-11-07T08:28:10Z</dc:date>
      <clearspace:dateToText>6 days 16 hours ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Almost Finished: Plz Help With Calculation/Checkbox And Hidden Fields</title>
      <link>https://forums.adobe.com/message/6908118?tstart=0#6908118</link>
      <description>&lt;!-- [DocumentBodyStart:7328bea9-d9da-48a5-89e4-8beb4aa41fac] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Seems fine to me... Are there any errors in the JS console?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;On Fri, Nov 7, 2014 at 8:38 AM, sgdfxfslkcmz &amp;lt;&lt;/span&gt;&lt;a class="jive-link-email-small" href="mailto:forums_noreply@adobe.com"&gt;forums_noreply@adobe.com&lt;/a&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7328bea9-d9da-48a5-89e4-8beb4aa41fac] --&gt;</description>
      <pubDate>Fri, 07 Nov 2014 08:17:54 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6908118?tstart=0#6908118</guid>
      <dc:date>2014-11-07T08:17:54Z</dc:date>
      <clearspace:dateToText>6 days 16 hours ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Almost Finished: Plz Help With Calculation/Checkbox And Hidden Fields</title>
      <link>https://forums.adobe.com/message/6907991?tstart=0#6907991</link>
      <description>&lt;!-- [DocumentBodyStart:ad0b206a-17bf-4f28-9b32-b2108fd02ddf] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Gilad,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you very much for taking the time to help -- the Checkboxes now work the way I hoped they would!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;However, I can't get the Total box to work. This is what I have in the Calculation script properties:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;var total = 0;&amp;nbsp; &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;if (this.getField("ROAE Fun Ride").display==display.visible) total+=Number(this.getField("ROAE Fun Ride").value);&amp;nbsp; &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;if (this.getField("2015 BMMC Membership").display==display.visible) total+=Number(this.getField("2015 BMMC Membership").value);&amp;nbsp; &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;if (this.getField("2015 BCORMA Membership").display==display.visible) total+=Number(this.getField("2015 BCORMA Membership").value);&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;if (this.getField("Donatin Amount").display==display.visible) total+=Number(this.getField("Donatin Amount").value);&amp;nbsp; &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;event.value = total;&lt;/strong&gt;&amp;nbsp; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Have I made a mistake somewhere?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ad0b206a-17bf-4f28-9b32-b2108fd02ddf] --&gt;</description>
      <pubDate>Fri, 07 Nov 2014 07:38:14 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6907991?tstart=0#6907991</guid>
      <dc:date>2014-11-07T07:38:14Z</dc:date>
      <clearspace:dateToText>6 days 16 hours ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Almost Finished: Plz Help With Calculation/Checkbox And Hidden Fields</title>
      <link>https://forums.adobe.com/message/6904611?tstart=0#6904611</link>
      <description>&lt;!-- [DocumentBodyStart:d9b2aa03-f72c-438f-84bd-52436e755b1a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;1. Yes, you can use something like this as the check-box's MouseUp event:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:744f47e8-b4cc-4560-8a35-4606abd9921f][excluded]--&gt;&lt;pre class="javascript" name="code"&gt;
if (event.target.value=="Off") this.getField("Field1").display = display.hidden;
else this.getField("Field1").display = display.visible;
&lt;/pre&gt;&lt;!--[CodeBlockEnd:744f47e8-b4cc-4560-8a35-4606abd9921f]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Yes, but only if the calculation is done with a script, not with the built-in simplified calculation options in Acrobat.&lt;/p&gt;&lt;p&gt;A simple example: conditionally adding the values of 3 fields, if they're visible.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:4adce09a-a638-4050-8b84-40ab620988c7][excluded]--&gt;&lt;pre class="javascript" name="code"&gt;
var total = 0;
if (this.getField("Field1").display==display.visible) total+=Number(this.getField("Field1").value);
if (this.getField("Field2").display==display.visible) total+=Number(this.getField("Field2").value);
if (this.getField("Field3").display==display.visible) total+=Number(this.getField("Field3").value);
event.value = total;
&lt;/pre&gt;&lt;!--[CodeBlockEnd:4adce09a-a638-4050-8b84-40ab620988c7]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d9b2aa03-f72c-438f-84bd-52436e755b1a] --&gt;</description>
      <pubDate>Thu, 06 Nov 2014 09:26:58 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6904611?tstart=0#6904611</guid>
      <dc:date>2014-11-06T09:26:58Z</dc:date>
      <clearspace:dateToText>1 week 15 hours ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Almost Finished: Plz Help With Calculation/Checkbox And Hidden Fields</title>
      <link>https://forums.adobe.com/message/6904437?tstart=0#6904437</link>
      <description>&lt;!-- [DocumentBodyStart:5b7bc37f-e88b-44d0-903d-2d7ee31741ba] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;This Interactive simple document was made with InDesign, then brought into Acrobat XI Pro via the Form wizard.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Is there any way for a Checkbox to show/hide another field? I have tried using the Actions tab in the Checkbox properties but simply cannot get the field to show/hide when the Checkbox is selected/deselected.&lt;/li&gt;&lt;li&gt;Is there any way to have a field that uses simple calculation (addition) to &lt;strong&gt;ignore fields if they are hidden&lt;/strong&gt;? I am trying to get the Total field to add the amounts from the 4 Checkboxes (the first line is required, hence the pre-selected Checkbox and read only field).&lt;/li&gt;&lt;/ul&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Basically, I need the Checkbox to show or hide another field (which is a dollar amount), and then the Total field to add those amounts but to ignore any field if it is hidden (Checkbox deselected).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here's a link to the file for those that have the time for a closer look: &lt;a class="jive-link-external-small" href="https://www.dropbox.com/s/nkekrlecbef6e84/BMMC%20ROAE%20Registration.pdf?dl=0" rel="nofollow"&gt;Dropbox - BMMC ROAE Registration.pdf&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am stuck at this point and do not know how to fix this. Any help offered would be greatly appreciated.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5b7bc37f-e88b-44d0-903d-2d7ee31741ba] --&gt;</description>
      <pubDate>Thu, 06 Nov 2014 07:24:34 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6904437?tstart=0#6904437</guid>
      <dc:date>2014-11-06T07:24:34Z</dc:date>
      <clearspace:dateToText>1 week 17 hours ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

