dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: Check box/radio button controls image opacity and text field

  1. #1
    Join Date
    Jul 2014
    Posts
    3

    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.

  2. #2
    Join Date
    Oct 2013
    Posts
    648
    You may be better off asking your question(s) on the Adobe Acrobat forums:
    https://forums.adobe.com/community/a...obat_scripting

    Here's a tutorial on using JavaScript in Acrobat:
    https://forums.adobe.com/docs/DOC-1814

  3. #3
    Join Date
    Jul 2014
    Posts
    3
    Thanks Kevin I will try that instead

  4. #4
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,595
    CSS and Transitions may help.
    If your post falls off the page, bump it. ...
    Please remember to wrap any code you have in forum tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  5. #5
    Join Date
    Oct 2013
    Posts
    648
    Quote Originally Posted by \\.\ View Post
    CSS and Transitions may help.
    From a completely ignorant standpoint:
    Can those be used in Acrobat?

  6. #6
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,595
    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.
    If your post falls off the page, bump it. ...
    Please remember to wrap any code you have in forum tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles