Need script to hide and view checkboxes

Hello, basically I have two checkboxes that are names "In good order" and "Not in good order." What I want to do is if the checkbox for "In good order" is checked then "Not in good order" disappears and vice versa.  I managed to write the script for that however I also need "Not in good order" to reappear if "In good order" is unchecked just in case the client checked the wrong box they can still see the other option and check it.  How do I do that?  Please help!  Thanks!

Try like this..
Place two check boxes and put the below code in CheckBox1 Click event.
if(CheckBox1.rawValue ==1)
CheckBox2.presence = "hidden";
else
CheckBox2.presence = "visible";
Place the below code in CheckBox2 Click event.
if(CheckBox2.rawValue ==1)
CheckBox1.presence = "hidden";
else
CheckBox1.presence = "visible";
Thanks
Srini

Similar Messages

  • Need script to hide 6 fields and 3 OK buttons

    Hi All
    Seems if I fix one problem I add another one.
    I have a Job Proposal in Acrobat 9 and now need a script to hide calculation fields and 3 OK buttons.
    These fields need to be hidden when the form is filled out and emailed to the prospective customer.
    Ron A

    Thanks try
    That works.
    What I did was go under Properties, Actions, Add Javascript and pasted it 9 times.
    Then I typed in the correct field name in each one, works great.
    Looks like this.
    this.getField("City1").display = display.hidden;
    this.getField("City2").display = display.hidden;
    this.getField("City3").display = display.hidden;
    this.getField("Trans1").display = display.hidden;
    this.getField("Trans2").display = display.hidden;
    this.getField("Trans3").display = display.hidden;
    Ron A

  • Need to delete/hide and "empty" icon-doesn't respond to normal process

    Tried to delete an install and now I have an "empty" icon, and I can't hide or delete it. I get the message "module handle 9712 not found." Can anybody help? It was a mobile banking program that didn't work right.

    Hi and Welcome to the Forums!
    Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Best!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Acrobat 9 Pro: Order Form, need SUM=blank? and not $0.00 (HELP!!!)

    I know this might be an easy question for people with javascript knowledge.... but I can't get this working... please help!
    I need Order Form total field (sum) to default to blank (instead of $0.00).
    *example: Under >calculate I am using "simplified field notation" and (Qty1)*7.95 -- sum appears in "total 1"
         The unit price is $7.95 - The value of Qty1 = total 1 (calculations are working fine)
         Currently all total boxes read as $0.00 --- I need SUM to be blank until a customer selects a quantity
    How can I make the SUM default to blank? and NOT $0.00 - Is it a validation script??? If so, please help with code!!!
    Help is appreciated - Thanks!
    PS - SUM fields can't be set as non-printing, because Shipping Dept./Accounting Dept. needs ability to print and view totals (if amount is selected - otherwise it could be blank).
    *** SUM fields need to be blank for customers who print form and manually enter data & totals...
    I am using a Mac, and Adobe Acrobat 9 Pro

    I appreciate the reply... (it's been many hours without one)
    I tried the validation script, and as you indicated, the only way the total field (with the validation script) appears blank is AFTER the Reset button is clicked. (However I have not checked this in a reader)
    I can't see how I can make it work in that manner. Customer inputs Billing & Delivery Addresses at top, then proceeds to select products. If the reset button has to be pressed, all the data (ie. addresses) are removed.
    If there was a way to apply the reset function automatically at the opening of the pdf doc. then it would achieve the result I need. I wonder if there isn't a way with a check box at the top that customer clicks which would apply the reset function.
    If you (or anyone) has any further tips or help I would appreciate it. This is the last item the client has requested for change.
    PS. In case anyone can think of a print script to use... The sum value, when =0 (no qty) needs to print blank sum fields (not $0.00) BUT if there is a sum value, the amount must print (for Ship/Acct Depts)
    *** I just thought of something... The only time where the sum value needs to be blank is when customer prints and inputs data by hand.... so, would there be a way to add a print button that can also clear the sum values at the same time with the "reset" function and the validation script???

  • Need flash player 8 and java script enabled to play videos on ipad, need help please.

    need flash player 8 and java script enabled on my ipad in order to view videos.  please help.

    iPads do not directly support Flash.
    You can look for Flash Browsers in the App store for some options to try. Support is not 100%, but maybe one may work for you.  Browsers like Puffin, Skyfire, Photon etc...
    IPads do fully support JavaScript.  Just make sure its turned on under Settings->Safari->Advanced->JavaScript.
    If you require Java, which is completely different to JavaScript, again there are some browsers in the App store that support it.  Search for "Java browsers" in the store.

  • Create sequence, function and view all at once -script or something similar

    Hi I would like to know in what way can I write a script or something like that which would define names for a sequence, function and a view in the beginning (for example TEST_SEQ, TEST_FJ, TEST_VIEW...) and after that create this sequence, function and view with definitions like
    CREATE SEQUENCE  TEST_SEQ
    MINVALUE 1 MAXVALUE 999999999999999999999999999
    INCREMENT BY 1 START WITH 1 NOCACHE  NOORDER  NOCYCLE;
    create or replace FUNCTION TEST_FJ RETURN NUMBER AS
    tmp number;
    BEGIN
    select TEST_SEQ.NEXTVAL  into tmp from dual
    RETURN tmp;
    END TEST_FJ;
    and so on...
    In the end I would also like to grant some rights on these objects I just created:
    grant select on TEST_SEQ to public;
    grant execute on TEST_FJ to public;
    So my question is how to package all these things together so I can execute them from a single file in SQL Developer, and if i need to change the names of these tables I want do it in one place in the beginning of this script (or something like a script, I'm not sure what)...
    Thanks in advance!

    hi,
    hope help you...
    this is my basic generic solution...
    create or replace procedure createSequence( psequenceName in varchar2 ) is
    begin
    execute immediate 'create sequence ' || psequenceName ;
    execute immediate 'grant select on ' || psequenceName || ' to public ';
    end ;
    create or replace function getNextVal( psequenceName in varchar2 ) return number is
    queryText varchar2(100) := 'select <sequence_name>.nextval into :next_value from DUAL' ;
    next_value number ;
    begin
    queryText := replace(queryText,'<sequence_name>',psequenceName);
    execute immediate queryText into next_value ;
    return( next_value ) ;
    end ;
    Edited by: edogt on Nov 27, 2008 5:33 AM
    Edited by: edogt on Nov 27, 2008 5:35 AM
    Edited by: edogt on Nov 27, 2008 5:35 AM

  • I have photoshop CC. I cannot open two files such as Tiffs and view them side by side. When I open the second file it overrides the first. Do I need to do something with preferences?

    I have photoshop CC. I cannot open two files such as Tiffs and view them side by side. When I open the second file it overrides the first. Do I need to do something with preferences?

    What happens when you try to use the clone stamp tool?
    It should work with the images side by side.
    You can setup photoshop cc to be like photoshop cs2 was on your other mac, by going to Photoshop>Preferences>Interface and unchecking
    Open Documents as Tabs and Enable Floating Document Window Docking
    And also going to Window and unchecking Application Frame

  • HT1657 Once a rented movie is downloaded do I need an Internet connection to view it?  For example can I download a movie and watch it on a flight?

    Once a rented movie is downloaded do I need an Internet connection to view it?  For example can I download a movie and watch it on a flight?

    Please be aware of the movie rental's time limitation that you have 30 days from the time of rental to watch your movie, and once you start watching it, you have 24 hours to finish watching it. You may watch it as many times as you like during those 24 hours. It may be helpful to make sure the download completes successfully before you begin watching the movie.
    Once the download is complete you can watch it without an Internet connection. However, an Internet connection to the iTunes Store is required to authorize playback or activate the 24 hours time-limit of movie rentals. This means, only during the starting of the movie. Once you have started playing the movie rental, internet connection is not required. You can play anywhere without internet connection.
    For more information on movie rentals, you can visit:
    iTunes Store: Movie rental frequently asked questions (FAQ)
    http://support.apple.com/kb/HT1657
    Note: 24 hours time limit is for United States customer only, while 48 hours for other countries.

  • Need steps to create ant scripts for publishing and deploying projects.

    Need steps to create ant scripts for publishing and deploying projects.
    Have got ant, Oracle BPM Enterprise WL edition installed , Need to know what are the other configurations to be done.
    Any working example would help me to understand, please do mail me at [email protected]
    Thanks in advance.
    -Sree

    Sreekant,
    Please find the build file to publish and deploy.
    <project name="deployProject"
    xmlns:fuego="antlib:fuego.tools.ant.enterprise"
    xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee" default = "publish">
              <property file="./Properties/fuego_deploy.properties"/>
              <fuego:passport id="fuego.passport"
    directoryid="${fuego.directoryid}"
    preset="engine" />
    <target name="publish" description="Publish and deploy processes" depends = "takeInputs">
    <!-- Open a session to the Oracle BPM directory -->
    <fuego:session
    passportref="fuego.passport"
    verbose="true"
                   properties="${fuego.basedir}/conf/directory.xml"
    haltonerror="true" >
    <!-- Publish processes -->
    <fuego:publish fpr="${fuego.project.name}"
    deploy="true"
    engine="${fuego.engineName}"
                        importdata = "${fuego.importdata}"
                        automaproles="${fuego.automaproles}"
                        automapbuspars = "${fuego.automapbuspars}"
                        automapvars="${fuego.automapvars}"
                        automapconfigs = "${fuego.automapconfigs}">
    </fuego:publish>
    </fuego:session>
    </target>
    <target name= "takeInputs" >
    <input
    message="Please enter admin-username:"
    addproperty="fuego.participant"
    />
    <input
    message="Please enter admin-password:"
    addproperty="fuego.password"
    >
    </input>
    </target>
    </project>
    and find the properties I have used..
    fuego.basedir=C:\OraBPMEnterpriseHome
    fuego.directoryid=default
    fuego.engineName = bpmengine
    fuego.project.name = E:/antExamples/Project/CommonUtilities
    # If the below property is true then ant script imports data from the project, as defined in Studio.
    # This includes importing:
    #      •Holiday and Calendar rules
    #      •Organizational Units
    #      •Roles
    #      •Resource configurations
    #      •External Variables
    fuego.importdata = true
    #If the below property is true ant script automatically map abstract roles to real ones with the same name.
    fuego.automaproles=true
    #If the below property is true ant script automatically map business parameter variable names (as defined in the project design) to an business parameter variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapbuspars = true
    #If the below property is true ant script automatically map external variable names (as defined in the project design) to an external variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapvars=true
    #If the below property is true ant script automatically map External Resources configurations (as defined in the project design) to real Configurations with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapconfigs = true

  • How to hide the Columns and Views for Login user in SharePoint 2013

    Hi Friends,
    How to hide the Columns and Views for Login user in SharePoint 2013? Is it possible using OOB features? If not possible how can we hide the Columns and Views for Login user?
    Could you please help on this.
    Thanks,
    Tiru
    Tiru

    Hello Tirupal,
    There is no OOB way to do this.
    Please check this codeplex solution to achieve the same.
    https://sp2013columnpermission.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • I need to apply for a job but I'm told I need to enable cookies and java script, how do I do that?  I can't find it in system preferences

    I need to apply for a job but I'm told I need to enable cookies and java script, how do I do that?  I can't find it in system preferences
    I just updated to the new operating system which i'm starting to think was a bad idea, because it reset all my settings and I don't know how to fix them.

    so when I go to safari>preferences>security>uncheck box labled enable java script  links on webpages don't work and pictures and links son't want to appear on websites.  this made it so webpages don't want to work past loading the content in text format.  I have to check enable java script to go the webpages to work right so images and links work again but when I try to apply for this job the error message pops up saying I need to enable cookies and java script.
    SO I GUESS MY QUESTION IS IF JAVA SCRIPT IS ALREADY ENABLED HOW TO I ENABLE COOKIES?

  • How to hide Recycling bin and View All Site Content

    Is there a way to hide the "View All Site Content" and the "Recycling Bin" without modifying with S Designer.
    Thanks

    Hiding these links with CSS is a "band-aid" fix.  Users are still downloading the HTML for these controls, and users that don't use CSS will still see them in their entirety.  The best option is to remove them from your site's master page entirely.
    First, look for the following lines of code in your master page.  This code renders the "View All Site Content" link:
    <Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewFormPages">
    <div class="ms-quicklaunchheader"><SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" Text="<%$Resources:wss,quiklnch_allcontent%>" AccessKey="<%$Resources:wss,quiklnch_allcontent_AK%>"/></div>
    </SharePoint:SPSecurityTrimmedControl>
    Now, the "Recycle Bin" link should look something like this:
    <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/recyclebin.aspx" id="idNavLinkRecycleBin" ImageUrl="/_layouts/images/recycbin.gif" Text="<%$Resources:wss,StsDefault_RecycleBin%>" PermissionsString="DeleteListItems"/>
    Now save, check in, and publish your changes.  I hope this helps!
    Kyle

  • Attach User define tables and view table need add to database into my add-o

    Hi there,
    I want to deploy an addon, there are User define tables and view table need add to database.
    I need some advice on some issues..
    1. Can I attach User define tables and view table need add to database into my addon.
    2. I wonder which chance is properly to add them, if add these user define objects in time of install and I can't get the enough information that connect to SQL server
    Thanks for any help.

    Hi Weerachai,
    Here's an example of how to create a user-defined table in code. My suggestion would be to check if it exists when your add-on starts up and then if not, create the tables, fields and objects.
    'User Table
        Private Sub CreateTable(ByVal sTable As String, ByVal sDescription As String, ByVal oObjectType As SAPbobsCOM.BoUTBTableType)
            Dim oUserTablesMD As SAPbobsCOM.UserTablesMD
            Dim iResult As Long
            Dim sMsg As String
            oUserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
            If Not oUserTablesMD.GetByKey(sTable) Then
                oUserTablesMD.TableName = sTable
                oUserTablesMD.TableDescription = sDescription
                oUserTablesMD.TableType = oObjectType
                iResult = oUserTablesMD.Add()
                If iResult <> 0 Then
                    oCompany.GetLastError(iResult, sMsg)
                    MessageBox.Show("Error Creating Table: " & sTable & " Error: " & sMsg)
                End If
            End If
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserTablesMD)
        End Sub
    'User Field
        Private Sub CreateField(ByVal sTable As String, ByVal sName As String, ByVal sDescription As String, _
                                ByVal iSize As Integer, ByVal aFieldType As SAPbobsCOM.BoFieldTypes, _
                                ByVal aSubType As SAPbobsCOM.BoFldSubTypes, ByVal sLink As String, _
                                ByVal bMandatory As SAPbobsCOM.BoYesNoEnum)
            Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
            Dim oTable As SAPbobsCOM.UserTable
            Dim iResult As Long
            Dim sMsg As String
            Dim i As Integer
            Dim x As Integer
            Dim bFound As Boolean = False
            Dim oField As SAPbobsCOM.Field
            oTable = oCompany.UserTables.Item(sTable)
            For i = 0 To oTable.UserFields.Fields.Count - 1
                oField = oTable.UserFields.Fields.Item(i)
                'MessageBox.Show(oField.Name)
                If oField.Name = "U_" & sName Then
                    bFound = True
                End If
            Next
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oTable)
            If Not bFound Then
                oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                oUserFieldsMD.TableName = "@" & sTable
                oUserFieldsMD.Name = sName
                oUserFieldsMD.Description = sDescription
                oUserFieldsMD.Type = aFieldType
                If aFieldType = SAPbobsCOM.BoFieldTypes.db_Alpha Or aFieldType = SAPbobsCOM.BoFieldTypes.db_Numeric Then
                    oUserFieldsMD.EditSize = iSize
                Else
                    oUserFieldsMD.SubType = aSubType
                    oUserFieldsMD.Mandatory = bMandatory
                End If
                oUserFieldsMD.LinkedTable = sLink
                iResult = oUserFieldsMD.Add()
                If iResult <> 0 Then
                    oCompany.GetLastError(iResult, sMsg)
                    MessageBox.Show("Error Creating Field: " & sTable & "." & sName & " Error: " & sMsg)
                End If
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserFieldsMD)
            End If
        End Sub
    If you want to create a View I think you would have to use the RecordSet object. This will ensure that you don't have to log in to the database again
    Hope it helps,
    Adele

  • Need training material / test scripts for MRP and Supply Chain module. Can anyone hel

    Can anyone out there provide me with sample test scripts they may have used for upgrading to Oracle Financials 11i? Need sample scripts for MRP and Supply Chain management. Looking for good test scenarios for testing these modules. Appreciate any help. Email at [email protected]

    Can anyone out there provide me with sample test scripts they may have used for upgrading to Oracle 11i? Need sample scripts for MRP and Supply Chain management. Looking for good test scenarios for testing these modules. Appreciate any help. Email at [email protected]

  • Day One script errors on Compiling and Viewing App

    Day one script errors on Compiling a
    nd Viewing App. Video will not work

    Well today is working, makes me look foolish, not the first time.
    When I had trouble the error message was that the script had script errors. When I dismissed or ignored the video never started.
    That's ok I have enjoyed the tutorial so far, best I have used.
    Before i tried to learn flex 3 and gave up trying to use a database. My daughter wants me to build an e-commerce site for her homemade jewelry, so maybe it can be done in flash 4. Dreamweaver says you can connect to a business model that let's you build an e-commerce site, but I think it has not come out yet.
    Date: Tue, 13 Apr 2010 10:21:40 -0600
    From: [email protected]
    To: [email protected]
    Subject: Day One script errors on Compiling and Viewing App
    Hi RyderMac,
    I just clicked on the video link for http://www.adobe.com/devnet/flex/videotraining/xml/fiaw_v1_05.html
    and the video and audio is working fine for me.  Are you getting any kind of error message?
    >

Maybe you are looking for

  • Error Message when using iChat w/ Video

    I am receiving an error anytime that I use iChat video. It only occurs in certain circumstances though. They are anytime I have been in a video conference with someone for about 20/30 minutes, I am told that audio still comes through but the camera f

  • Trouble with 2006-06-28 Updater and iTunes

    Hello all, Okay so my problem deals more with the software for my iPod rather than the iPod itself. My iPod work wonderfully with no problems whatsoever. (Forget the fact this is my second one because the first one DIED sniff sniff) But here's the th

  • Adding attachments to PDF form

    I tried everything and looked everywhere and can't find the best solution to this problem.  I just need a way for the user to attach documents to a PDF form in Adobe Reader.  I have access to LiveCycle and Acrobat so is there way once the extended fe

  • ActiveX control for Flash Player could not be registered - no solutions work

    I am getting the "ActiveX control for Flash Player could not be registered" when I try to install 11 on IE9 (Windows 7 64-bit).  I have tried everything that has been suggested in other posts and forums to no avail.  This is driving me crazy and hind

  • Is there a filesize limit with Loader.load()?

    I'm loading a 33MB .swf, and my preloader is removed by the Flash Player and replaced by this strange graphic while the swf is loaded.