WEBDCS
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
ASKER
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.
ASKER