This might be a bit of a simple question, but all my searches are bringing up Acrobat answers.
Is it possible (and if so, how) to use a check box to hide and/or show an image field?
In the end I'll need the various check-boxes to hide not only specific image fields, but also multiple text fields. Checkbox options were not a problem in Acrobat (in fact were very simple) but Acrobat lacks the ability to add image fields. However if I'm totally wrong and via some method other than, oh lets say black magic, I can start shoving image fields into Acrobat that would circumvent the checkbox problem I'm having with Livecycle.
LiveCycle ES 8.2
Acrobat 9 Pro
Set this.presence="hidden" using Javascript in the docready for all fields you want to hide when the pdf loads.
Then in the change event for the Checkbox using FormCalc use something like this:
if ($.rawValue == 1) then
Image.presence = "visible"
TextField1.presence="visible"
TextField2.presence="hidden"
TextField3.presence="visible"
else
Image.presence = "hidden"
TextField1.presence="hidden"
TextField2.presence="visible"
TextField3.presence="hidden"
endif
In my test form i have three text fields, a checkbox and an Image Field. When the form loads only the checkbox and TextField2 are visible. When the box is checked, the image and TextFields 1 and 3 appear.