/    Sign up×
Community /Pin to ProfileBookmark

Check box/radio button controls image opacity and text field

This Javascript is a little over my head and I would really appreciate some help

This is for Adobe Acrobat pro x, I am creating a form. I need the javascript to control this function. If I need to change to radio buttons that is also fine

If “yes” check box is checked then “no” checkbox unchecks and a text field appears called “comments” and an image called “comments image1” goes from 0% opacity to 100% opacity.

If the “no” check box is checked then the “yes” checkbox unchecks and the text field disappears and the image changes to 0% opacity.

Thanks in advance.

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@Kevin2Jul 10.2014 — You may be better off asking your question(s) on the Adobe Acrobat forums:

https://forums.adobe.com/community/acrobat/acrobat_scripting

Here's a tutorial on using JavaScript in Acrobat:

https://forums.adobe.com/docs/DOC-1814
Copy linkTweet thisAlerts:
@FanwoodauthorJul 10.2014 — Thanks Kevin I will try that instead
Copy linkTweet thisAlerts:
@rootJul 11.2014 — CSS and Transitions may help.
Copy linkTweet thisAlerts:
@Kevin2Jul 11.2014 — CSS and Transitions may help.[/QUOTE]

From a completely ignorant standpoint:

Can those be used in Acrobat?
Copy linkTweet thisAlerts:
@rootJul 12.2014 — Depends, does the manual say that you can use CSS, HTML?

I am just starting on a project where I have a PDF and I need to use Javascript and I also need to be able to position and style things in a PDF document, som of it relating to using CSS controlled by the server response.

So I guess that I am going to find out.
×

Success!

Help @Fanwood spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...