need a script to hide and show checkboxes

Hello, I have essentially two check boxes that are names "in good condition" and "not in the right order." What I want to do is if the check for "in good order" box is checked then disappears "not in good order" and vice versa.  I managed to write the script for that, but I also need "not in order" to reappear if "in good condition" is unchecked, just in case the customer checked the box trouble they can always see the other option and check it.  How do I do that?  Help, please!  Thank you!

For the 1 box add the following to the change event script, where form is called "form1", the sub-shape of default value is called "page1" and the box is called "cb1".

Form1.Page1.CB1::change - (JavaScript, client)

If (form1.page1.cb1.rawValue == 1) {}

Form1.Page1.CB2.presence = 'hidden ';

}

else {}

Form1.Page1.CB2.presence = "visible";

}

For the box 2 Add the following to the change event script, where form is called "form1", the default subform is called "page1" and the box is called "cb2".

Form1.Page1.CB2::change - (JavaScript, client)

If (form1.page1.cb2.rawValue == 1) {}

Form1.Page1.CB1.presence = 'hidden ';

}

else {}

Form1.Page1.CB1.presence = "visible";

}

Don't forget, before testing the form, save it as a dynamic PDF.

Steve

Tags: Adobe LiveCycle

Similar Questions

  • Apex - how to set hide and show checkboxes at the event button

    Hello


    How to set up HIDE/SHOW check boxes when click on the events button. (apex)

    If I press the button and then the box will appear.
    If I press it again then check box will be disapper.
    Can u please help me solve this issues in the APEX.


    Thanks in advance.
    concerning
    r

    My steps:

    1 create the point of the box
    LOV:

    select 'orange' d, 'orange' r
    from dual
    union all
    select 'apple' d, 'apple' r
    from dual
    union all
    select 'banana' d, 'banana' r
    from dual
    

    2. create the region button. Specify the redirect URL and URL target as #.

    3. create a dynamic action

    Advanced

    Event: Right click; Selection type: jQuery Selector; Select jQuery: button [value = "Toggle"]<-- where="" toggle="" is="" the="" label="" of="" my="">
    Action: Run the JavaScript Code. Fire when the Page loads: uncheck the box. Code:

    var ele = $('#P34_FRUIT');
    
    if (ele.css('display') == 'none'){
         $x_Show(ele);
    } else {
         $x_Hide(ele);
    }
    

    Leave the rest and click on create

    Click the button to see it disappear and other things (not tested in IE).

    I did sample: http://apex.oracle.com/pls/apex/f?p=23834:34

  • Lack of "automatically hide and show the menu bar.

    Hi all, I want to hide my menu bar. I watched how disappear - it turns out that the checkbox "automatically hide / show menu bar" is missing. It is supposed to be under "use donkere menubalk en donker Dock. Why is it missing?  Thank you very much!

    Hi Mjappie

    This feature has been added in El Capitan.

    You must update to 10.11.3 to hide and show the menu bar.

  • Hide and show region - open if Item not Null

    Hello
    I use APEX 4.0 and can not find a way to get the skin and see the region develop if a Page element has a value (is not Null) in the region, without clicking the sign more. I would like it done automatically based on an item that has a value or not. null or not null. I know how to have always hide it and see the region see the/develop once the shape is present. But if the item is null the region hosts not on the loading of the page, but when an element has the value when the page opens, I want the area to be open / extend without having to click the sign more. I searched the forum and found a large number of threads to have just the Hide and Show open area / develop once the form on the page is open, but not what I need now. Thanks for reading this thread and look forward to a support for this issue.

    Hi Charles,

    I created a dynamic action on page 7, it works as expected.

    This code will only work with your current theme, because the rocker is made according to the css class of the > icon (as you can see in the live action)

    Thank you

  • Automatically expand a Hide and Show model region when the Page loads

    Hello

    I work with a Hide and Show region model, and I'm trying to accomplish the following:

    When my Page loads, if a PX_ID is not null, hide it and see the area should be extended automatically.

    I use Apex 4.1.1.

    Any ideas?

    Thank you

    Erick

    Hello Joe,

    Thank you for your response.

    This morning, I was looking for a solution in the forum and I could not find anything. Now, I decided to keep looking for more careful and I found a solution.

    For those interested, check this thead element: Re: hide/show the region

    Basically, I created a dynamic Action with the Code JavaScript: $('.t20RegionHeader') ('img') .children ravishing ();

    Thank you

    Erick

  • Need a script "Convert bullets and numbering in text.

    Hello

    Need a script "Convert bullets and numbering in text.


    Hasvi,

    You can use the method "convertBulletsAndNumberingToText ()".

    for example app.activeDocument.stories.everyItem () .convertBulletsAndNumberingToText ();

    It converts the bullets and numbering to text in all the stories of active document (notes and tables will be separately).

    ~ Green4ever

  • Dynamic action - Hide and show interactive report

    Hello

    in the apex community tip http://www.oracle.com/global/de/community/tipps/apex40-dynamicactions/index.html (only in German), there is an example to hide and show a report interactive by dynamic actions.

    The approach described in the article should be case for normal or interactive reports.
    But in my case it works for normal relations. I am not able to update or hide the interacitve dynamic equity report.

    Has anyone had similar experience?

    Greetings
    Michael

    Hello
    You are welcome.

    * It is considered good etiquette to the responses of reward with points (as "useful" - 5 pts - or 'correct' - 10pts). :)
    Thank you
    Logaa

  • Hide and show parts

    Hello

    I use hide and show areas on my page. But now I have a problem. Whenever the page is reloaded, all regions are reduced. Is it possible to ensure that the regions that have been opened, are open again when the page reloads.

    Thanks in advance,

    Bram.

    Hi Bram

    Check this.

    [http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STICKY]

    See you soon

    Ben

  • hide and show the icon view using if else statement

    is - it possibleto hide and expose the display icon using if else statement? I try to use erase them but I don't know how show it on again after that I want to come back. Thank you

    There are two functions... EraseIcon and Exposeicon

    Mike

  • By using the password to hide and show fields? (instead of toggle)

    Back in George_Johnson 2010 post the script below, it allows you to turn on or off the field with a password.  I tried and it worked perfectly.  But when I had a friend try my document, there just by clicking on following in disabled fields (buttons) trying to make them work.  I realized that I really need to do is to hide rather than turn them off.  I thought at the script below could be changed to show/hide instead of turn, but I don't know enough about java still to do.  I started to try, but I think that I do not yet know enough.  My buttons I would like to hide/show are X, Y and Z.  Thank you George or anyone who has an idea about that.

    Zac B., Cypress CA

    (function () {}
    Get one of the fields in the Group var f = getField("private.name");

    Determine the new State readonly, which / / is the opposite of the current state var readonly =! f.ReadOnly;

    var readonly_desc = readonly? 'disable': 'enable '.

    Ask the user password var resp = app.response ({cQuestion: "To" + readonly_desc + "fields, enter the password:", CTitre: "Password", bPassword: true cLabel,: "Password"});

    switch (RESP) {}

    case 'votre_mot_de_passe': / / your password goes here getField("private").readonly = readonly;        App.Alert ("the fields are now" + readonly_desc + "d", 3);        break;

    zero case: / / the user pressed pause of button cancel;

    default: / / Incorrect app.alert password ("bad password.", 1);        Break ;}

    })();

    Response toSelect to enter the text of your comment

    You can add the following line after the one that is similar:

    getField("private").display = readonly? Display.Hidden: display.visible;

  • Need a script to hide the rows of table - this makes the problem no justice - LiveCycle ES2

    I develop a dynamic form.

    There's a RadioButtonList that under option (1,2,3), will open a subform (1,2,3). Each subform contains a different set of checkboxes. The checkboxes for each subform (1,2,3) are related to one another subform (5,6,7). Subforms, 5, 6, and 7 all contain arrays. Checkboxes in subforms 1, 2 and 3 are related to the lines in the tables of subforms, 5, 6 and 7. All rows in all tables are set to 'hidden '. When checking a checkbox, the associated row of the associated table has its presence changed to 'visible '.

    Example:

    RadioButtonList1 = 1

    Subform1 appears.

    CheckBox3 = 1

    Subform5.Table1.Row3 is displayed.

    It all works perfectly. I'm sure it's complicated, but the end result works.

    Here's what I need: I need a way to re - hide everything was set to "visible". Here is what I tried:

    RadioButtonList1::click - (JavaScript, client)

    xfa.host.resetData ("xfa.form.form1.Subform1"); & 2 & 3 & 4 & 5 & 6 & 7

    XFA. Form.Recalculate ();

    XFA. Form.remerge ();

    Clears the contents of the table, it does not hide it from view. I don't want to have to manually set all the lines of the "Hidden" table - there are 156 of them (don't judge me!). Y at - it a script that can find all lines that are not hidden and re - hide? Thanks in advance.

    See you soon

    Let me add this. Writing scripts to display fields lies with radio buttons. It looks like this:

    Form1. Subform1.CheckBox3::change - (FormCalc, client)

    If ($.rawValue == 1) then of form1. Subform5.Table1.Row3.presence = 'visible' to other form1. Subform5.Table1.Row3.presence = "hidden" endif

    It would help if I moved to writing scripts to the line on the table? For example:

    Form1. Subform5.Table1.Row3::change - (FormCalc, client)

    If (form1. Subform1.CheckBox3 == 1) then $ .its presence "visible" else = $ .its presence = "hidden" endif

    I don't know if that would make a difference or not. Any thoughts would be greatly appreciated.

  • How to hide and show based button if the line is selected in a table

    Hello

    IM pretty new to apex. I use version 4.1. I have a tabular form and I want to do is only have the button Show delete if I select a row in the column [line selector]. Is this possible using a dynamic action? I tried this way without success. Please help or let me know if you need more information.

    Thank you

    Do you mean if the box is checked in the line?

    Assign a static ID for the button Delete, for example MY_DEL_BTN. Search for 'Static ID' in the attributes of the button section.

    If so, do an advanced Click-based dynamic Action and a jQuery selector. Generally, this element is the name "f01" but, sure. Assuming that it is "f01" then your jquery selector would be:

    input[name="f01"]
    

    define the scope of the event live.

    Your dynamic action will trigger JavaScript. (BE SURE TO DESELECT FIRE ON PAGE LOAD). To make sure that you have the jQuery selector right, initially just to put a pop-up message in the JavaScript.

    alert('You Clicked the Row Selector!');
    

    Run the page. Click on the line selector. If you get the noise until you have specified the jQuery selector correctly. Yay!

    Then, assuming the above is correct. You can now determine if all have been selected.

    Now, set it to SELECT FIRE on PAGE LOAD (you want deleting DialogResult.Cancel when you open the page).

    Change your JavaScript like this:

    var checkedCnt = $("input:checked").length;
    
    if( checkedCnt > 0 )
    {
       $('#MY_DEL_BTN').show();
    }
    else
    {
       $('#MY_DEL_BTN').hide();
    };
    

    -Joe

  • How to create a flexible PDF with hide and show?

    Hello

    It is a flexible PDF document but I don't know how to create with hide & show.

    My form has the following structure:

    Form1

    master pages

    Page1

    ...

    Participants (present the script following due to the 'ZeileHinzufuegen' button

    Weitere

    Subweitere

    TextField

    ...

    Line

    ...

    Button

    ZeileHinzufuegen

    'ZeileHinzufuegen' in 'Participants' script, too:

    Formular1.Page1.Teilnehmer.ZeileHinzufuegen::click - (JavaScript, client)

    oHelper.addInstance (parent.weitere._Subweitere);

    If I click on "ZeileHinzufuegen", another line with textfields... must be included.

    How to do this?

    Thanks in advance for helping me

    Hi Matthias,

    The script seem to be good!

    I know that you have already tried, but because the radio button group and the Hotel subform are in the same container (May) then you could shorten the reference. This isn't the problem, but it will be cleaner.

    If (this.rawValue == 1)

    {

    Hotel.Presence = "visible";

    }

    on the other

    {

    Hotel.Presence = 'hidden ';

    }

    The form should be saved under the dynamics:

    Apart from that I don't know what goes wrong. You can share the form? It would make it easier.

    The second sample is shared on Acrobat.com, you do not have to register to gain access. I suggest you try again and selecting the file to download. I downloaded another service: http://dl.dropbox.com/u/8257540/2010-04-03%20Looping%20through%20repeating%20rows.pdf

    Niall

  • hide and show the region - hide by default

    Hello world
    I had a hide / show region on my page. I want to hide this default region (on each page load).
    In fact, it is open by default.
    How can I get that?
    I have tried many things, searched a lot of problems that.
    But I can not find a solution, which helped me.
    I am using a theme not Standard apex.
    Any suggestions?

    First run page using firefox or chrome and identify the name of the region, i.e. the #REGION_ID # in the model translates into something like "region5" when rendering.

    Change Page, in the section Javascript executed when the Page loads, enter the following command

    hideShow ('region5', 'shIMG5', '', '');

    This should toggle the current show / hide mode.

  • Dynamic action to hide and show a button

    Hello

    How to set the dynamic Action on an item Page (P4_DATA)

    When the value is 0, then show the button (P4_BTN)
    When the value is 1, then hide the button (P4_BTN)

    I have a dynamic action that work very well, but only for the display option, does not work for a button


    Thank you

    You must add a handful to the button so that you can access in the Action(make sure that you have #BUTTON_ATTRIBUTES# substitution string referenced in your button template) dynamics.
    in the attributes of the button, specify

    ID = "MY_BUTTON".

    MY_BUTTON is just an example

    "Now, when you choose assigned to the dynamic Action of the elements, you can choose" * selector DOM * "and specify MY_BUTTON"

Maybe you are looking for

  • My iPad is stolen and I want to block

    My iPad is stolen. How can I make sure that the iPad is not used by anyone?

  • Tecra R840-16J - FN keys no function

    Hello I have a problem with my Tecra R840-16J. Sometimes, I use the FN keys (the most I use is F6 and F7 for brightness) sometimes I can't! They are disabled singles! And if I press on the window of "windows Mobility Center" ECO button will be displa

  • PC portable HP 2000: 3 keys stopped working suddenly

    a solution was never found to the g h, and BACKSPACE key problem... past warranty worked fine last night

  • Establishing a Contact Group

    I can't set up a new group of contacts in Windows mail 2007. The instructions say to go to contacts and click to create the new contact using the toolbar group, but there is no such thing as the toolbar. How to make a toolbar with this option appear

  • LabVIEW with error FPGA cRIO

    When you try to run a VI that if interface with cRIO I get code error-63191. My cRIO is connected to my computer via an Ethernet cable, the cRIO and mobile LAN are the same IP address. The Project Explorer and MAX are able to detect the cRIO. Project