point of the check box turn on and off

Hello
How do I enable and disable two item check box.


: p1_checkbox1 and: p1_checkbox2

If I choose: p1_checkbox1 then: must clear the p1_checkbox2 box and point to: p1_checkbox1 should show ways: p1_item1 and: p1_item2 is conditionally display when I choose: p1_checkbox1 and


If I remove the check of: is expected to p1_checkbox1 then the two point check box.


If I check: point then p1_checkbox2: p1_checkbox1 need to disable and point to: p1_checkbox2 should show: p1_item3 and: p1_item4

How can I do this



Thanks and greetings
CORINE

Hi Maxence,

Looks like you may be using IE? I forgot there was a problem with IE and change handlers on radios and checkboxes, (easy to forget when jQuery normalizes all these types of browser issues)! You can try changing the "onchange =" inline 'onclick =' event handlers in your attributes checkbox and see if that solves the first problem?

I forgot about the label, (also) it was the case in point 3.2, which we improved to 4.0 to also show / hide the point label. Can you try to change the calls $x_Show and $x_Hide to use $x_ShowItemRow and $x_HideItemRow respectively? This will hide the label also. Keep in mind however that this will also hide and show anything else on the same line on your page, which may or may not be a problem for you.

Let me know if this fixes things for you.

Kind regards
Anthony.

PS: Please always consider also the #5! :-)

Published by: Anthony Rayner, November 15, 2011 11:16

Tags: Database

Similar Questions

  • structure of the event to turn on and off a LED

    Good afternoon

    I would like to activate a part of my algorithm according to the value in another part. To make it easier, I symbolize the value by a button and tried a structure of user event to turn on or turn off an LED located in another while loop.

    I can turn on the LED, but unfortunately I can't spend off of the LED thereafter.

    It is possible to change the structure of the event and select the option "change value". However, I would like the fatest way to turn on and off using the structure of the event and the Bay. I mean I would like activate a part of the algorithm only if the button is enabled for not having a continuous audit of the value of the button by the structure of the event.

    Please, if anyone has an idea to turn off the LED (after the switch on), add a comment without hesitation.

    I will be happy to solve this simple problem.

    Thanks in advance for your help.

    Ragards

    You have a race condition.

    When you click stop, it's a race about whether if the event gets not saved and destroyed by the removal of the stem all loop against sending the same user in the lower loop.

    Why it only seems to happen with the case of false must be a quirk of how the code is compiled and the order, it is run.

    If you put a step between your Boolean switch and LED, for me anyway, the error is now generated on the true case of the structure of matter (always false for switch.).

    If you put a constant error in the lower loop and wire while guaranteeing the Unregister event so that you now it does not run until the two while loops are arrested, then I don't see a mistake regardless of the value of the Boolean switch when you click stop.

  • How can I get the keyboard to turn on and off my TravelMate s 645?

    Sometimes when I turn on my computer, the keyboard light is on, and I need it to be.  Other times, the light turns off and it would be really useful to have on.  I was not able to understand how to enable or disable the light on the keyboard. Please help if you can. Thank you!

    Hello

    You can activate the backlit keyboard power on and off by pressing [Fn] + [F9]:

  • at the start, computer turn on and off several times before finally starting

    Product: Hp Pavilion M9177C-B

    OS: Vista Edition Home Premium

    Approximately 2 weeks, when you start the computer by pressing the Start button, blue starting light turns on, then turns off maybe 6 + times before it turns finally for good and then I can hear the hard drives being accuated.  I fear that one of those moments that she not turn for good. So, I took the computer on at all times and just close the devices.

    Hello slodave,

    As you hear hard drives or anything on the spot for a while, it seems that the problem may be due to your diet.

    You can look at the power Panel there should be a light on the subject. See if it shows that it begins well before the computer actually turns on (so it comes at the time 6 + it is turn on/off).

    If the food will then replace just to continue normal operation.

  • If choose something lower down then the check box is selected

    I want to choose from a list in the drop-down menu.  According to what is selected, then a box will be checked automatically.  This

    is what I have so far for the script.

    If (list == 'blah') then this.rawValue = 1

    I do not know if it to JavaScript or FormCalc... I guess JavaScript because there is no calculation.  I'm also not sure whether to put the script on the drop-down list or checkbox.  Also in which should case I use?

    Thank you

    Him == is used to compare two values. then you use it properly in the case. When yo want to assign a value to an object, then a unique sign = is used. So, your code should be CheckTwo.rawValue = 1.

    You can use an OR condition to check multiple values of th FEI statement. So if the box should be checked if they choose blah, blah2 or blah1 then you might do this:

    If ((this.rawValue == "blah") |) (this.rawValue == "blah1"). (this.rawValue is "blah2")) {

    CheckTwo.rawValue = 1;

    } else {}

    CheckTwo.rawValue = 0;

    }

    Make sure to uncheck the checkbox if none of these options are chosen. That way if they choose one of these options (the check box is selected), and then they change their mind and choose a different value it should be disabled.

    Make sense?

    Paul

  • Volume on the taskbar was hidden without changing the setting.__Try to reset the taskbar of the notification area, but the volume box is gray and unable to check the brandname.

    Volume on the taskbar was hidden without changed the setting.
    Try to reset the taskbar of the notification area, but the volume box is gray and unable to check the brandname.

    Volume on the taskbar was hidden without changed the setting.
    Try to reset the taskbar of the notification area, but the volume box is gray and unable to check the brandname.

    Missing notification icons:
    3 ways to recover...
    (1.) the easy way, if you're lucky:
    Right click on the task bar > click Properties > at the top, click on Notification area > can you put a check mark on the network? If so, you're done.

    If it is unclickable.
    2.) use this tutorial:
    http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html
    Depending on the version of Vista, you have, use the method two or three.
    One when you're done, return to #1 above and click on the box.

    3.) do a restore ysytem. Choose the date at which the icon was present under your restore point.
    Here is the tutorial:
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    t-4-2
  • I can't check box personalized invitation and the e-mail address of the recipient area does not allow me to type in

    When I want to send a document, I can't check box personalized invitation and the e-mail address of the recipient area does not allow me to type in it.

    Hi Carol,.

    To use the option of custom Invitation to send to Adobe, you must have a paid subscription. Without a paid subscproint, you can generate an anonymous link to your file, you can then sent using your own email client.

    Please let us know if you have any additional questions.

    Best,

    Sara

  • PPR (get the State of the check box)

    Hi all

    I have a requirement in my search page I have a column with the box and the next is the button.

    My requirement is therefore now if the box is checked then button should allow other button should turn off.

    for this, I do partial rendering, but how to capture the State of the check box for the page.

    Please do the necessary help.

    Kind regards

    Sangu

    Hello

    Use the code below to get the value of the checkbox.

    Try

    {

    OAMessageCheckBoxBean cb = (OAMessageCheckBoxBean) webBean.findChildRecurssive ("CheckBoxItemId")

    Test string = cb.getvalue (pageContext) m:System.NET.SocketAddress.ToString ();

    }

    catch (System.Exception e)

    {

    String test = "";

    }

    BR, 906099

  • How to disable the check box (line selector) in a tabular report of APEX

    I have a report in tabular form with checkboxes which is filled by a SQL query.  For some lines, I want to disable (or not) the box according to the value of one of the columns of that particular line (if the value of a column defined as Date is less than sysdate, I don't want to display the checkbox for that rank).  I tried to use the conditional display in the section of the column attribute of the checkbox, but I can't access this Date column that is currently selected in a view in the SQL source.  I used variables such as: name-of_column, V(':name-of_column'), but always get a NULL value for this column in the SQL code I'm trying code in conditional display section.  For this reason, my condition does not work correctly.

    What I am doing wrong?  Exceeds my correct approach?

    Hi Ajay,

    I don't think you can handle this with a conditional display, as that works on the column rather than level level line.

    The way I see it, there are two things you can do:

    (1) approach to sql, where youo make the checkbox in your query using apex_item.checkbox, see the documentation of oracle for detailed information on the use of the APEX_ITEM

    You'll end up with a query like

    Select case when YOUR_DATE_COLUMN<>

    then null

    else apex_item.checkbox2 (p_idx-online 1

    p_value-online YOUR_DATE_COLUMN

    )

    ,

    from YOUR_TABLE

    (2) an approach JavaScript in which you create a dynamic action check your date column in a table and when the need hides and disables the check box for that rank.

    First option is more robust, but it will take a little more work. Second option is faster to develop, but may have different effects on various browsers and browser versions.

    Regads,

    Vincent

    http://vincentdeelen.blogspot.com

  • the simple contact form widget does not allow the user to submit. the lunch box turns red. What should I do?

    the simple contact form widget does not allow the user to submit. the lunch box turns red. What should I do?

    Hello

    You have used a form of e-mail field to create 'Appetite' section. This is the reason for which form registers an error as its not able to recognize an e-mail here entry.

    email form field is a required field for form of Muse. Please rename back to e-mail and also to create another field in form in the widget forum (go to the Option to form and enter a single-line text field) and it should work properly.

    Concerning

    Vivek

  • Select the check box for the table of the ADF

    Hi all

    I want to add the check box in front of each line. The user will select the row by clicking the box and going to treatment by clicking on a button.

    I just almost all possible discussions on OTN.

    What I've done so now
    1] added a transitional Boolean attribute in my VO. added as a selectBooleanCheckbox in .jspx page.
    [2] a button with backing bean that will do the processing. [He will pick up the attributes of all ranks and be written in a file]
    [* 3] it works fine if I use the default option of line by Ctel selection + A, or by pressing Ctrl + click or SHIFT + arrow key. Backing bean is not the issue.*
    [4] try to intercept the TableSelection Listner also.

    It comes

    When I select the check box, only the last selected line is processed and not all lines. How to make the selectable online by clicking on the checkbox.

    I use JDeveloper 11.1.1.5

    Refered links
    http://www.gebs.ro/blog/Oracle/Oracle-ADF-row-selection-using-checkboxes/
    http://technology.AMIS.nl/2010/07/29/ADF-11g-select-all-rows-in-an-ADF-table/
    http://Sameh-Nassar.blogspot.nl/2009/12/use-checkbox-for-selecting-multiple.html
    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/99-checkbox-for-delete-in-table-1539659.PDF

    Mukesh.
    https://www.dropbox.com/s/1gqsaobgyjycie6/AddDeleteEmployees.rar
    
  • Clear the check box according to the value of column DB

    Hello
    My requirement is to disable the check box according to the value of a column DB. Say for example my report displays the following. Check box, the name of the EMP, Dept. If the Department is the checkbox should be disabled and user should not be able to select the check box.
    Ask your help for a solution.
    Thank you
    Prasanth

    You must use the parameter p_attributes of the apex_item.checkbox API to make the boxes off (readonly do not work with the checkboxes)

    SELECT ..
    CASE WHEN  THEN APEX_ITEM.CHECKBOX(1,)
                         ELSE APEX_ITEM.CHECKBOX(1,,'disabled="disabled"')
              END 
      ..
    
  • Select all the check box in the grid

    Hello

    Creating dynamic multiple checkbox which are placed in a table format in the grid.

    (a) how to select the check box and clicking a button

    (b) how to find how many check box are selected at the click of a button

    Thanks in advance

    Hi Srinth,

    Have you tested the code... He works for you...?

    His perfectly straight work on my side...

    Thank you

    Jean Claude Chari

  • Reposition the cursor when the check box is selected

    Good day all.

    I'm trying to figure out how I can reposition the cursor in a text field once I've selected a checkbox.

    Example; I have 3 boxes can select use. When the user selects the check box, I want to cursor to move to this box.

    Does anyone know how this could be done?

    Using Adobe LifeCycle Designer 8.0

    Windows XP Pro

    Thank you all

    Chomp

    No Chomp problem, I updated the form that you posted to set focus in the first textfield in the hidden subform (criterion 1). I published the form here:

    https://Acrobat.com/#d=46bhrRPpzUOEN4XI7--W-w

    Notice how the full path should be clearly explained when fields bound, in this case, a check box and a text field, are in different subforms.

    If you never do know what the full path to a field, click a different field, click in the script Manager window, then ctrl + click the field you want the path. If you have this selected field ctrl + click 'this' will return just as he will himself reference in the script manager.

  • How to find the previous mouse clicked the check box

    Hello

    In my form with detail and header boclk

    For example: in a canvas
    Header 
    -----------
    item1                    item2                    item3
    item4                    item5                    item6
    
    Detail
    ---------
    
    item7                    item8                    item9     checkbox1
    item7                    item8                    item9     checkbox1
    item7                    item8                    item9     checkbox1
    item7                    item8                    item9     checkbox1
    item7                    item8                    item9     checkbox1
    item7                    item8                    item9     checkbox1
    item7                    item8                    item9     checkbox1
    My requirement is now knowledge/capture when the user clicks the check boxes.
    If he clicks on the 1st record or record of 5th or 3rd I wants to get these values and that it must handle
    further...

    Thank you.

    Hello

    When you click anywhere in a recording, it becomes the current record, and you can get/set values using domain names.
    When the user clicks a control checkbox, its trigger raises the when-box-change and you know its value (if it is selected or deselected).

    François

Maybe you are looking for