Is it possible to use the status of a checkbox to change the fillcolor of a numeric field?

I have read through most all of the threads, but found none pertaining to my specific question.  I would like to change the fillcolor of a numeric field based upon the status (on/off) of a checkbox located on a different page.  In other words, if the checkbox is checked I want the numeric field to be yellow with a solid (thin) black border.  I have tried:
If (CheckBox1.rawValue="1")
{this.fillcolor="R,G,B";} else
{this.fillcolor="250,250,250"};
I haven't gotten the correct RGB values yet for the color I am using, that is why the script has "R,G,B"
I am pretty new at javascript and have been learning a lot from the forums, but I just can't seem to figure this one out.  Any help would be greatly appreciated.  Thanks

Give this a go...
// form1.page1.cb::click - (JavaScript, client)
if (this.rawValue == 1) {
  xfa.resolveNode("form1.page1.nf.ui.#numericEdit.border.fill.color").value = "255,255,0";
  form1.page1.nf.border.edge.color.value = "0,0,0";
else {
  xfa.resolveNode("form1.page1.nf.ui.#numericEdit.border.fill.color").value = "255,255,255";
  form1.page1.nf.border.edge.color.value = "255,255,255";
Don't forget to make your form a dynamic form.
Steve

Similar Messages

  • There's a huge blank white screen below the status bar, that covers half of the screen in 3.6

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    When I opened Firefox there is a big blank screen below the status bar covering up half of the screen. It only happens on 3.6 version of Firefox
    == This happened
    ==
    Every time Firefox opened
    == Few Days Ago
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name Firefox
    Version 3.6.7
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Stylish 1.0.9 true {46551EC9-40F0-4e47-8E18-8E5CF550CFB8}
    Cooliris 1.12.0.36949 true [email protected]
    FoxTab 1.3 true
    WOT 20100503 true
    ImTranslator 3.3.3 true {9AA46F4F-4DC7-4c06-97AF-5035170634FE}
    Are You Watching This?! 2.5 true [email protected]
    SearchPreview 4.6 true
    qtl 14.3 true [email protected]
    DVDVideoSoft Menu 1.0.1 true
    NEW Glasser by SzymekPL 2.2.0.3.7 true [email protected]
    foof 1.2.8 true [email protected]
    Java Console 6.0.20 true
    Full Screen Homestar Runner 2.9 true
    Flash Game Maximizer 1.3.6 true {258735dc-6743-4805-95fc-f95941fffdad}
    MultiMediaWebRecorder 0.397 true [email protected]
    Download Statusbar 0.9.7 true
    Extended Statusbar 1.5.4 true
    NoScript 1.10 false {73a6fe31-595d-460b-a920-fcc0f8843232}
    WebSitePulse Transaction Recorder 1.4 false [email protected]
    Smart Bookmarks Bar 1.4.3 true [email protected]
    Xmarks 3.7.8 true [email protected]
    Gmail Watcher 1.10 true gmailwatcher@sonthakit
    Yahoo! Mail Watcher 1.10 true yahoomailwatcher@sonthakit
    Dr.Web anti-virus link checker 1.0.21 true {6614d11d-d21d-b211-ae23-815234e1ebb5}
    FIFA Online Web Launcher 1.1 false [email protected]
    ReminderFox 1.9.8.2 false
    1-Click YouTube Video Downloader 1.4 true [email protected]
    OurWorld.com Toolbar 2.7.0.14 true {80f6f9bf-9fd1-4f41-9ddf-6dd070f4f62f}
    Yahoo! Toolbar 2.1.1.20091029021655 false {635abd67-4fe9-1b23-4f01-e679fa7484c1}
    Yoono 7.3.6 false
    Form History Control 1.2.6 true [email protected]
    Boost for Facebook 10.0.2 false {47624dda-b77e-4feb-820a-e4f077d5d4ca}
    Fireclam 0.6.5 false
    Viral Threat Level 0.54 false [email protected]
    Ghostery 2.2.1 true [email protected]
    FootieFox 2.1.10 false {9fb7d178-155a-4318-9173-1a8eaaea7fe4}
    Puzzle 0.4.3 true [email protected]
    Tab Mix Plus 0.3.8.4 true
    FastestFox 4.1.5 true [email protected]
    AniWeather 0.7.4 true {4176DFF4-4698-11DE-BEEB-45DA55D89593}
    Get Styles 1.0.22 true {6236BA26-C117-4007-928C-DE0716C7FA80}
    Usage Stat 1.0.2 true {6236BA26-C117-4007-928C-DE0716C7FA96}
    FBFan 1.0.1 true {6236BA26-C117-4007-928C-DE0716C7FA99}
    Better YouTube 0.4.3 true [email protected]
    Show my Password 2.0 true
    LastPass 1.69.1 true [email protected]
    Favicon Picker 3 0.5 true {446c03e0-2c35-11db-a98b-0800200c9a67}
    Glassy Urlbar 0.5.2 true tgrsc@glassyUrlbar
    RSS Ticker 3.2.2 true {1f91cde0-c040-11da-a94d-0800200c9a66}
    iMacros for Firefox 6.7.0.1 true {81BF1D23-5F17-408D-AC6B-BD6DF7CAF670}
    Amplify 3.0.0 true {8f5ce3f8-1735-4680-b15e-108f2f50e8ba}
    Tidy Favorites Online 6.23 true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind true
    accessibility.typeaheadfind.flashBar 0
    browser.history_expire_days.mirror 180
    browser.link.open_newwindow.restriction 0
    browser.places.importBookmarksHTML false
    browser.places.smartBookmarksVersion 2
    browser.startup.homepage http://www.google.com/
    browser.startup.homepage_override.mstone rv:1.9.2.7
    browser.tabs.insertRelatedAfterCurrent false
    browser.tabs.warnOnClose false
    extensions.lastAppVersion 3.6.7
    keyword.URL http://search.conduit.com/ResultsExt.aspx?ctid=CT2383985&q=
    network.cookie.prefsMigrated true
    places.history.expiration.transient_current_max_pages 32166
    places.last_vacuum 1278789082
    privacy.clearOnShutdown.cookies false
    privacy.clearOnShutdown.downloads false
    privacy.clearOnShutdown.sessions false
    privacy.cpd.cookies false
    privacy.cpd.downloads false
    privacy.cpd.extensions-tabmix false
    privacy.cpd.history false
    privacy.cpd.sessions false
    privacy.sanitize.migrateFx3Prefs true
    privacy.sanitize.timeSpan 0
    security.warn_viewing_mixed false
    == Firefox version
    ==
    3.6.7
    == Operating system
    ==
    Windows 7
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7
    == Plugins installed
    ==
    *-Cooliris embedded in a tab
    *Office Plugin for Netscape Navigator
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.3"
    *Default Plug-in
    *Provides additional functionality on Facebook. See our web site for details.
    *Game Loader Plugin for Power Challenge Games
    *Unity Player 2.6.1f3
    *BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
    *Pando Web Plugin
    *Shockwave Flash 10.1 r53
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *GEPlugin
    *Yahoo Application State Plugin version 1.0.0.7
    *Google Update
    *Version 0.9.17, copyright 2008-2010 Veetle Inchttp://www.veetle.com/
    *Version 0.9.17, Copyright 2006-2009 Veetle Inchttp://www.veetle.com/
    *Version 0.9.17, copyright 2006-2010 Veetle Inchttp://www.veetle.com/
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers

    I have v. 3.6.8. It will display blank white pages at some site and not at others. I use safe mode and the access is reversed... what used to open doesn't and what didn't does. . .
    Is anyone trying to fix this problem - or are users just left to chasing their tails on this issue?
    Just curious ... in order to help me decide to wait for help or move on to something else...
    Until that time ... Earl J.

  • When creating a custom SearchPlugin, is it possible to add more code such as uppercase conversion of the SearchText and IF statements that change the URL depending on what is typed?

    When creating a custom SearchPlugin, is it possible to add more code such as uppercase conversion of the searchTerms and IF statements that change the URL depending on the searchTerms? Every time I try to add something firefox doesn't want to add it as a search plugin. I need to create a more powerful search tool for personal use.

    I've found some external software applications that will do it, so that leads me to believe its not possible within ID CC.

  • Why is the number "1" when setting up the dial fat thickness did not change the font? Is it possible to adjust the font in the thick klavioture typing?

    Why is the number "1" when setting up the dial fat thickness did not change the font? Is it possible to adjust the font in the thick klavioture typing?

    paulcb wrote:
    Using the Bold Text Accessibility option does make the keypad numbers a little bolder.
    Yep - I was only looking at Text Size.
    But still, not sure what the deal is. The "1" is just as readable as any other number on the keyboard regardless.

  • The status bar not going while download the app.

    The status bar not going while download the app.
    I'm bought the bento from App Store, I finished the payment, but the status bar appeared but doesn't show any progress. Strange!!

    I dont want to Display the popup, I want to Display in Status Bar as a Error Message.
    Like this .
    If I put  message type 'E' its Displaying popup message , MESSAGE ' Duplicate Condition Types Are Not Possible.' TYPE 'E'.
    If I Put messge type 'I' its Displaying in Status Bar .
    Regards,
    Prathap
    Edited by: giri prathap on Sep 13, 2011 12:35 PM

  • Whenever I try to download a new application, my parent's apple id shows up instead of mine which is on my computer. My mom doesn't want to put down her credit card information because I use gift cards. How do I change the ID on my ipod to my apple ID?

    Whenever I try to download a new application, my parent's apple id shows up instead of mine which is on my computer. My mom doesn't want to put down her credit card information because I use gift cards. How do I change the ID on my ipod to my apple ID?

    thank you so much lllaass. im an idiot for not finding that out.

  • No question, I just wanna say thanks to the person who discovered how to change the correct dns to use FaceTime. The 8.8.8.8. Really work. Genius. Thanks again.

    No question, I just wanna say thanks to the person who discovered how to change the correct dns to use FaceTime. The 8.8.8.8. Really work. Genius. Thanks again.

    solved

  • When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Micro

    When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Microsoft Word 2007 to open these documents?
    == This happened ==
    Every time Firefox opened
    == about a few weeks ago - I had tried to open some docuuments saved on a mac, my PC (which runs Windows 7), used word pad to open these, and this seems to have changed the default settings somehow.

    See this:
    [http://support.mozilla.com/en-US/kb/Managing+file+types]

  • Hello! i am using ipad n i am not able to connect to itunes store.Whenever i open itunes it syas "cannot connect to itunes store".i tried resetting the network settings n also tried changing the dat and time settings as mentioned but it still doesnt work!

    hello! i am using ipad n i am not able to connect to itunes store.Whenever i open itunes it syas "cannot connect to itunes store".i tried resetting the network settings n also tried changing the dat and time settings as mentioned but it still doesnt work!please help!

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Can we use IDOC_INPUT_ Message type for creating and changing the document

    Hi,
    I have a requirement to create or change the requisition data.
    Can I use IDOC_INPUT_PREQCR01 function module for both the purpose.
    OR shall I go for custom function module by using BAPI function modules to create or change the data.
    Please help me in this regarding.
    Answers will be rewarded.
    Thank you.
    Eswar

    Hello Eswar
    You could use the IDoc processing function module if you had the data already available in the IDoc specific format (which is unlikely). This would mean you are receiving the IDoc data from another SAP system.
    Instead, check the BAPI explorer (transaction BAPI) if you can find an appropriate BAPI.
    Regards,
      Uwe

  • TS3999 When using iCloud Calendar, I am unable to change the color of my work calendar. I have successfully followed the instructions to reset the colors of other calendars as desired. However, this one calendar always defaults to purple.  Help!

    When using iCloud Calendar, I am unable to change the color of my work calendar. I have successfully followed the instructions to reset the colors of other calendars as desired. However, this one calendar always defaults to purple.  Help!

    File>New Calendar to create a new calendar (Groups are for grouping calendars and I should ignore them). When you've created the calendar, control-click on it in the sidebar and choose 'Get Info' There you can select a colour. You can have as many calendars as you like. When you create a new event you can select the calendar it belongs to, and hence the colour it has.

  • Hi , I cant use the music bar in the control center I can only change the volume but I cant skip tracks or pause the song or play it. anyone knows the solution or the reason please?

    Hi , I cant use the music bar in the control center I can only change the volume but I cant skip tracks or pause the song or play it. anyone knows the solution or the reason please?

    That's normal.
    Use the Touch ID to unlock passcode.
    http://help.apple.com/iphone/7/#/iph672384a0b

  • We bought a used Ipod Touch from a private party.  We can download music when it's hooked up to the computer but can't download any games or songs by using the wifi.  How can we change the password so we can do this?

    We bought a used Ipod Touch from a private party.  We can download music when it's hooked up to the computer but can't download any games or songs by using the wifi.  How can we change the password so we can do this?

    You should restore the the iPod to totally erase the iPod and add your own media to the iPod.
    Connect the iPod to your computer and restore to factory settings/new iPod via iTunes.
    iTunes: Backing up, updating, and restoring iOS software

  • TS4002 when I was assigned my ".me accounts.... I used the name of the company that I worked for. Then I received a iCloud account.  The problem is I want to change the two original names but can't because they're greyed out.  Is there anything I can do?

    When I was assigned my ".me accounts I used the name of the company that I worked for. Then I received a iCloud account.  The problem is I want to change the two original names but can't because they're greyed out.  Is there anything I can do?
    Thanks in advance,
    Majormidi

    http://discussions.apple.com/thread.jspa?messageID=3366422
    Odd, the link works for me.
    -mj
    [email protected]

  • I want to make a grid. Apple said Pages will do the job. I need to change the grid to 1 in. x 1 1/2 in. squares. What tutorial can I use to show me how to do this?

    I want to make a grid. Apple said Pages will do the job. I need to change the grid to 1 in. x 1 1/2 in. squares. What tutorial can I use to show me how to do this?

    A calendar is not difficult nor does it take long once you know where the dates fall.
    Start with a basic month template table.
    1. Click on the table icon on the Toolbar to create a basic table for one month
    2. Click on the resultant table > Inspector > Table > Headers & Footers > 2nd button > 1
    3. Inspector > Table > Body Rows: 6 > Body Columns: 7
    4. Inspector > Metrics > Size > Width: 7 cm/in > Height: 7 cm/in
    You can drag resize the whole month to your liking afterwards
    5. Select the entire header row > Inspector > Table > Edit Rows & Columns > Merge Cells > Type in a month
    6. Type Mon in first cell & Tue in 2nd cell of of 2nd row > Select both cells and drag the white dot in the bottom right corner sideways to fill the cells with the days
    7. Do the same with the dates in the cells below
    8. You can fill the spare dates at the beginning and end of the month if you like and maybe change them to a paler grey.
    9. Style and position the text as you like it.
    10. If you don't want to see the grid or want different strokes, colors etc:
    Inspector > Table > Cell Borders/Cell Backgrounds etc
    When you have the first month looking the way you want, option drag out copies sideways to make the rest of the months.
    Peter

Maybe you are looking for

  • Automatic Ken burns and framing in iPhoto and Screen saver

    I am generating a slideshow from iPhoto. When I have framed the photos properly I am checking my slideshow as a screen saver. Automatic Ken Burns options and framing are ok. Now I try to generate a slideshow directly in iPhoto, and the framing is com

  • Need to reload Pro10 on my computer

    I need to reload Pro10 on my computer. I am paying for it monthly.

  • Extract metadata from selected files in bridge

    I used to use extensis portfolio to quickly export metadata from selected files to create print worksheets. I could customize which metadata would be displayed. For instance: Thumbnail title pixels file type date created and modified height and width

  • I cannot get on my email exchange using firefox, and it has been working until today.

    My company uses a owa.postoffice.net exchange, and we are supposed to use internet explorer, or firefox. I have a Mac, so I use firefox, and it has been working fine for the past 90 days, and today, I go to the exchange, type in my password and user

  • Dragging case structure to include objects

    Hi, This might be a very noob question. I have made a case structure with a lot of code inside it. And I also have a lot of objects/code outside it, so that the outputs from the code inside the case structure go to the ones outside it. Now I want to