Solved

Acrobat PDF Radio buttons value changes do something

Posted on 2011-03-14
4
371 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The ability to edit PDF documents can be useful, however it may not be a straight forward process. Many non-technical people don't realise that a PDF document is basically an image rather than a text file, even if it contains nothing but text. If…
This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now