Change the color of the checkbox when enabled/disabled

How can I do this using the Action tab in the properties of the check box in Acrobat 7.0 (NOT DESIGNER)?

I added the boxes to the. PDF tool box (Text Only-No).

I am filling the Green box when selected, and yellow when not selected ACTION > Mouse Up > run a JavaScript > Add and grasping javasript below without success:

If (this.rawValue == '1') {this.fillColor = "0,255,0' ;} else {this.fillColor = '255,255,0' ;}"}

Help, please!

If you're AcroForm and not LiveCycle Designer, not use you LiveCycle Designer FormCalc syntax or references of LiveCycle Designer.

With a single check box:

{if (Event.Target.isBoxChecked (0))}
event.target.fillColor = color.green;
} else {}
event.target.fillColor = color.yellow;
}

Tags: Acrobat

Similar Questions

  • How can I do to change the site when I open a new tab.

    Dear friends...
    I can't find information, how to change the site when I opened a second tab. Example: when I open Firefox my google home page and it's perfect, but when I opened a second tab, appears why yahoo as homepage? I want to change it and I can not find how do. Thank you

    The normal behavior is to open a blank tab, an add-on will be originally to show Yahoo. An add-on which has net gel assistant, if you have one you can uninstall it and it should go back to the opening of a blank tab.

    There are modules that allow you to specify what should open in a new tab, such as:

    Another way to open the home page in a new tab is in the Middle, click the home button in the navigation toolbar.

  • Customer Cisco VPN not prompt to change the password when the Radius ID is due has expired.

    Hello, I would like to know what is behind a Cisco VPN client software to the user PC invites not to change the password when their password ID RADIUS is expiring/expired. I would also like to know what is the solution to work around him. Thanks in advance.

    Hello

    The "password management" command is configured?

    For the password function - expires to work in conjunction with the ray, that's all you need on the SAA.

    Let me know.

    Thank you.

  • Hello, can we change the font when that we fill a form?

    Hello, can we change the font when that we fill a form?

    Hi Joel,

    You want to change the fonts of observations after completing the form or what? Because once you fill out the form completely, you can only make textual changes to the comments.

    Kind regards
    Rahul

  • Does not change the language when I change my preference-applications-Applanguage on creative cloud. No way to get around?

    Does not change the language when I change my preference-applications-Applanguage on creative cloud. No way to get around?
    It is important to Swedish to English in the case.


    Thank you!

    Please, try the following steps:

  • How can I change the scale when you use the measure tool

    How can I change the scale when you use the measure tool

    With the tool selected, right-click the document, and then select "rate of change of the scale.

  • Change the window when you click on checkbox.

    InDesign 3 (5.0)

    ScriptUI (Javascript) in the XP box.

    Try to get a window to show more control when you click on a checkbox and then hiding when it is not checked.

    I tried to create the additional controls to create and then hide them, but this is not of course redraw the window. I'd rather have the window redraw and the layout manager control the position of controls, because they are added or removed. Then I did not empty in my window spaces when the additional controls are not displayed.

    #target "inDesign - 5.0;

    #targetengine "session."

    main();

    main() {} function

    var myWindow is new window ('pallet', 'Signs');.

    myWindow.alignChildren = 'left ';

    buttonGroup var = myWindow.add ('group');

    var makeSignsButton = buttonGroup.add ('button', undefined, "Make signs");

    makeSignsButton.alignment = 'left ';

    var printGroup = myWindow.add ('panel', undefined, "Signs of impression");

    printGroup.orientation = "row";

    var advancedCheck = printGroup.add ('checkbox', undefined, "Advanced");

    allRadio var;

    var currWeekRadio;

    var nextWeekRadio;

    var printSignsButton = printGroup.add ('button', undefined, "Signs of impression");

    advancedCheck.onClick = function() {}

    If (advancedCheck.value == true) {}

    allRadio = printGroup.add ("radiobutton", undefined, "All");

    currWeekRadio = printGroup.add ("radiobutton", undefined, "Current of the week");

    nextWeekRadio = printGroup.add ("radiobutton", undefined, "Next week");

    }

    If (advancedCheck.value == false) {}

    printGroup.remove ("allRadio");

    printGroup.remove ("currWeekRadio");

    printGroup.remove ("nextWeekRadio");

    printGroup.remove ("advancedCheck");

    }

    } / / end "advancedCheck.onClick"

    makeSignsButton.onClick = function() {}

    var confirmWindow = confirm ("Do you want to make signs", "Confirm signs to");

    myWindow.close ();

    } / / end of makeSignsButton onClick event handler.

    printSignsButton.onClick = function() {}

    var printConfirm = confirm ("Do you want to print signs?", "Confirm print");

    If (printConfirm == false) {}

    return;

    }

    } / / end "printSigns" onClick callback

    myWindow.show ();

    } function //end 'hand '.

    Once you change the arrangement of windows, add myWindow.layout.layout (true)

    call the layout manager.

    Ariel

  • How can I change the status to "Enabled" to a button when a user of data changes in a field on a form?

    On my page of form, I have 3 buttons marked: commit, Undo, done respectively.  When the form opens, popuplated with the data, the validation buttons and cancellation are disabled (designed in this way in design mode).  When the user changes the data in any field, I would like the "Done" button become disabled and the validation buttons and cancellation become activated.   How can I 'say' Commit and Undo buttons become enabled on data changes?


    Once the data in the database, how can I say the validate and Cancel buttons to become disabled and the "Finished" button to become new activated?

    Thanks in advance.

    Create a Boolean variable can be bound to the form page say [Bindable] private var formChanged:Boolean = false;

    set this value to true in the events of changing one of the fields of the form input.

    State of active buttons can be linked to this Boolean property like this

    Once the data in the database, the value of the false formChanged

  • Make editable field when the checkbox is enabled, otherwise given value read-only

    I try to make a PDF form to fill out, and a document existing, using Acrobat Pro, which does the following:

    Form is designed to allow customer agrees to buy a personalized work of art.

    The work has a base price, ArtworkPrice. (The ArtworkPrice field is editable)

    The customer can choose to include a picture frame. (AddFrame 'Yes' box.)

    Choose 'Yes' to add a frame, adds an amount.  (The FramePrice field is editable only if AddFrame checkbox is enabled)

    Otherwise, leaving unchecked AddFrame fills the FramePrice field with a value of 0.00.

    The TotalPrice is calculated as the sum of the fields FramePrice and the ArtworkPrice. (The TotalPrice field is read-only)

    So... this part of the form looks essentially this:

    AddFrame? [] Yes

    ArtworkPrice _ $ + FramePrice $_ = TotalPrice $_

    The FramePrice field must be 0.00 (and not editable) at all times unless the AddFrame checkbox is selected.

    How can I do this?

    Add this code to the MouseUp of AddFrame event:

    If (this.getField("AddFrame").value == "Off") {}

    this.getField("FramePrice").value = 0;

    this.getField("FramePrice").readonly = true;

    } else {}

    this.getField("FramePrice").value = "";

    this.getField("FramePrice").readonly = false;

    }

  • Highlight / change the format when mouseover

    Hello

    I'm modifying the effects of a field or subform when the user makes a move of the mouse.  Using the mousEnter, I can make something disappear using the: this.presence = "hidden";

    But I can't do the following:

    this.fontColor = "red";

    this.borderColor = "yellow";

    I don't know there is something obvious that I'm missing.  Can someone help me find a solution?

    Hello

    For colors, LC Designer uses RGB, red, green, blue color space. See a post here which has links to some online tools such as Kuler: http://assure.ly/eF231M. This message looks like buttons, which if you look at the secondary image buttons, you see the script that changes the font color: http://assure.ly/eGGV6p.

    this.caption.font.fill.color.value = "255,20,20";
    

    Hope that helps,

    Niall

  • On Apple Watch, how to change the time when traveling to a different country, like London or Singapore?

    For Apple Watch, can someone please show me how to change the time on my watch when I travel to another country, like London or Singapore? Thank you.

    Hello

    When traveling to a different time zone, it is not necessary to manually change the time on Apple Watch.

    After turning off the flight on each of your iPhone and Apple Watch, the time on your watch can be updated automatically to reflect the local time.

    If it is not the case, try restarting your watch:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off.

    -To reactivate: press and hold the side button until you see the Apple logo.

  • Update and change the values when VI is running

    Hello everyone! I have a digital control slider and I want to be able to change and update the value when Vi is running. Can I use the property for this node?

    If it is a CONTROL (no), then it is for the user to set the value via mouse / keyboard.

    You can still set the value via the NŒUD of PROPERTY or the LOCAL VARIABLE for ALL controls.

    What difficulty do you observe?

  • How to change the settings when opening images

    When I open my photos in their specified folder the photos are not displayed until I click on them. How can I change the setting so I can see the image I am looking without having to click one by one?

    Here's a possibility... go to... Start ORB / Control Panel.
    Folder options / tab / files and folders / uncheck
    "Always show icons, never thumbnails" / apply / OK.

  • How can I change the scale when you measure the distance?

    When you measure a distance of 20 m on the pdr-drawing tool says 10 cm measurement. How can I change the scale? The notice said it's possible, but I don't know how I do

    Hi Bandreason,

    How to change you can visit this link: Adobe Acrobat x: change the measurement scale. ROCKY MOUNTAIN TRAINING blog document is for mac but option is the same.

    Kind regards

    Ajlan Huda.

  • It is posible to change the photo when it is published on fb side?

    Zrzut ekranu 2014-11-23 o 19.19.44.png

    Hi Zupa,

    It is possible to change the thumbnail image displayed when your site is shown on facebook.

    To do this, please use the 'Open Graph tags' that you add to theyour Web site (Page Properties-> metadata-> HTML for)) to describe the entity your page is for example:

    Learn more about the Open Graph tags to FB here (Starting Point 3) - t https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-conten

    There are also tools to make sure that you put the necessary tags correctly on your page as a tool for Facebook debugger here - http://developers.facebook.com/tools/debug

    Kind regards

    Rohit Nair

Maybe you are looking for

  • Measure calories burned when using drive

    Hello The question I have is will be your Apple Watch measure speed of combustion of different calories for the same distance at the same time, when to do using workout app as opposed to not use the app to drive? The reason for the question is that I

  • Convert 16-bit signed decimal

    Hello I need to convert integer to signed decimal value is 16 bytes. For example a xCC lower byte and the high xFF who in decimal-52. The string coming from the instrument is xFFCC. What can I use with Labview? LabVIEW 6.1 Windows XP

  • Toolkit ECU Measurement and Calibration does not run when I build an executable.

    I did a LabVIEW application that communicates with a target using CCP (with ECU Measurement and Calibration Toolkit). The source code of LabVIEW works OK, but when I create a .exe file, it does not work. I tried to copy the Toolkit ECU Measurement an

  • Problem with advertising

    Hello  I have a little problem with advertising. Let me explain.Since last night, when I lock and unlock my phone, a pop-up appears. Only when I turn on the Internet (wifi or data), when I have not Internet enabled, it does not work.When I click on t

  • HP photosmart 7450 problem during the installation of the driver

    I want to connect the camera HP photosmart 7450 with Compaq mini 110 (model: 110 c-1030SV). My operating system is Windows XP Professional Service Pack 3 32 bit. I downloaded the drivers. I unzipped the files, and I started the installation. But inst