Solved

Acrobat PDF Radio buttons value changes do something

Posted on 2011-03-14
4
373 Views
Last Modified: 2012-08-14
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
0
Comment
Question by:WEBDCS
  • 2
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 35160323
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
 

Author Comment

by:WEBDCS
ID: 35160516
That is excatly what I did. Forgot about this question want to close, oh well you get easy points.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 35160531
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
 

Author Comment

by:WEBDCS
ID: 35160648
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (http://www.experts-exchange.com/Programming/Installation/Q_28396542.html)…
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question