Solved

Acrobat PDF Radio buttons value changes do something

Posted on 2011-03-14
4
377 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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:/…
Inserting page numbers in Portable Document Files not only enhances manageability but also makes them look professional. With numbered pages, the file appears more organized and it becomes easier to search for a particular page. The size and the vol…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

628 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