Acrobat PDF Radio buttons value changes do something

Hi all,
I got a PDF form that has a radio button group depending on which item is checked I need it to set focus and display a text field.

Is there a way I could do this in some global form changed event? So I check which field changed and do what I need to do. If so where do I put the code and maybe an example.

If not then what do you recommend which event to use? I was thinking onMouseUp but what happens if they use the keyboard to check the box? I used OnBlur but if check the box then check another box it still runs the code to show textbox, even though I check the value of group.  It seems the blur event happens before the value changes.

Any ideas?

Oh using Acrobat 9.

Thanks
WEBDCSAsked:
Who is Participating?
 
Karl Heinz KremerConnect With a Mentor Commented:
Even if you use the keyboard to change the value, the MouseUp event will still fire, so just put your script into that event.
0
 
WEBDCSAuthor Commented:
That is excatly what I did. Forgot about this question want to close, oh well you get easy points.
0
 
Karl Heinz KremerCommented:
OK, here is a freeby :)

You could also create a hidden field, and then use that to trigger all sorts of calculation events. In that field's custom calculation script you could get the value for the radio button group, and then trigger the appropriate action.
0
 
WEBDCSAuthor Commented:
Hmmm, very intersting. So I'm assuming that the calculation script fires everytime the form changes.  I will have to rememeber that for the next time. The pdf is pretty much finished.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.