Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Acrobat PDF Radio buttons value changes do something

Posted on 2011-03-14
4
Medium Priority
?
380 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

886 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