View Single Post
Join Date: Nov 2008
Posts: 8
Reputation: trinityavatar is an unknown quantity at this point 
Solved Threads: 0
trinityavatar trinityavatar is offline Offline
Newbie Poster

Re: Return value based upon visibility of form field?

 
0
  #6
Nov 19th, 2008
Hey! I figured it out!

Here's what I came up with for the "No" Checkbox on the Acrobat Form:

var CollectionTotal = this.getField("CollectionTotal")
function resetField(name,value)
{
CollectionTotal.value = value;}

if (event.target.value == "No")
{
CollectionTotal.hidden = true
&& resetField('CollectionTotal','0.0')
}
else {
CollectionTotal.hidden = false
}
Thanks for your time and effort!!

Best,
TrinityAvatar
Reply With Quote