Checkbox Radio buttons selection to Text
Hi all,
I hate doing this because I know, at its core, this is easy...but, I'm crash-learning Adobe/Javascript after developing basic interactivity in VB for a document that now is getting transferred to a pdf, and thus losing its VBA'ness. But, enough whining, and onto the issue:
I got two sets of two checkboxes (which, could - and probably should - be radio buttons grouped as two groups of two), lets say Group 1 contains Checkboxes A and B, and Group 2 contains C and D...they are named CBA, CBB, CBC, and CBD respectively.
I also got a text box that needs to be populated with different text based on the four possible combinations of selections that could be made amongst the CB's. The text box is named "Text2". So essentially, I need a script to replace the text in Text 2 based on the checked or unchecked (or radio'd) nature of the combinations:
CBA-CBC
CBA-CBD
CBB-CBC
CBB-CBD
Any assistance you can provide in putting this code into Acrobat - would be appreciated.
Thanks, in advance
BN
