Disable checkbox lists while clicking Radio button

Hi ,
I have a checkbox list come from LOV based on a select from database table.
I have added a Radiobutton only (not redirect not submit since I have to restrict the option as this is based on requirement).Now I want to disable the checkbox while I am clicking the radio button .
Is it any way possible .
Thanks in advance .
Cheers,
Debashis.

ok, I create two radio buttons (Enable and Disable)(P8_RADIO). I created a LOV of users with checkboxes (P8_CHECK). When I click on disable all the checkboxes are disabled and enabled when I click on enable.
First add this to your radio
P8_RADIO's HTML Form Element Attributes
onclick="disable(this)"
Then, add this to the page HTML Header
<script language="JavaScript" type="text/javascript">
<!--
function disable(pThis)
var trigger = document.wwv_flow.p_v02.value ;
var rads = document.wwv_flow.p_v02 ;
if (pThis.value == 'ENABLE')
for(var i=0; i<rads.length;i++ )
{ document.wwv_flow.p_v02[i].disabled = false; }
} //end of if
else
for(var i=0; i<rads.length;i++ )
{ document.wwv_flow.p_v02[i].disabled = true; }
} //end of else
} //end of disable funtion
//-->
</script>
**note**p_v02 is the name of the checkboxes.
Hopefully this will help you and i explained it better than I did last time

Similar Messages

  • Show BI Reports List on click of button?

    Hi
    Can we generate the list of reports and the reports in pdf of Bi publisher on click in listbox?

    Hello Karthick,
    1) Create custom controller.
    2) Create attribute with type Visibility in custom controller.
    3) Add custom controller in "required controllers" for embedded view and for container view.
    4) Create attribute with type Visibility in embedded view and container view.
    5) Map visibility attribute from custom controller to container view and from custom controller to embedded view.
    6) in container view in wdDoInit put wdContext.currentContextElement().setVisible(WDVisibility.VISIBLE);
    7) In action handler for button put something like:
         final int ordinal = wdContext.currentContextElement().getVisible().ordinal();
        wdContext.currentContextElement().setVisible(WDVisibility.valueOf(ordinal%2 + 1));
    While clicking on button table would be shown or hidden.
    Best regards, Maksim Rashchynski.

  • What is the diffrence  between "Key to Select" and "Selected Key" while creating Radio  Buttons?

    While creating radio buttons there is a confusion regarding two properties "Key to Select" and "Selected Key".Can anybody explain it with example?
    Thanks,
    Vimal

    Hi Vimal,
    Please find my explanation as below
    Key to Select: This is the unique key for each radio button to identify which one is selected
    Selected Key: This holds the "KEY" of selected radio button
    Example:
       Let us say we have 2 radio buttons : Male & Female
         Create a context attribute SELECTED_KEY of type STRING.
         Create an action ON_SELECT for radio button select event
         Now,
         the properties for "MALE" radio button as below
              KEY_TO_SELECT = 'M'
              SELECTED_KEY = "bind to the context attribute SELECTED_KEY
              OnSelect = 'ON_SELECT'.
         The properties for 'Female" radio button as below
              KEY_TO_SELECT = 'F'
              SELECTED_KEY = "bind to the context attribute SELECTED_KEY
              OnSelect = 'ON_SELECT'.
    If we select radio button 'Male', we get the key as 'M' and for 'Female' radio button 'F'.
    check inside the event handler method ONACTIONON_SELECT, you get the 'KEY' of selected radio button.
    So, the context attribute 'SELECTED_KEY'  gets filled with the key of selected radio button
    Hope this helps you in distinguishing the 'KEY TO SELECT' & 'SELECTED KEY' .
    Regards,
    Rama

  • Cannot click radio buttons after Windows Updates

    Hello,
    We approved the following Office updates back in December and since then, our users cannot click radio buttons in Word documents. This month, we pushed all updates stated in the following article:
    https://support.microsoft.com/en-us/kb/3025036
    We've also removed .exd files from users' computers and this still hasn't resolve our issue. This is critical for us as we use these documents across the entire organization. Please help!
    I've tested this both on Office 2013 click-to-run and Office 2010 with the same results. 2013 is the latest version and I've deleted .exd for this as well, using Fix It, script and manually.
    Update   for Microsoft Excel 2010 (KB2589348) 32-Bit Edition
    Update   for Microsoft Excel 2010 (KB2889935) 64-Bit Edition
    Update   for Microsoft Lync 2013 (KB2899507) 32-Bit Edition
    Update for Microsoft Office 2010 (KB2553140) 32-Bit Edition
    Update   for Microsoft Office 2010 (KB2589386) 64-Bit Edition
    Update   for Microsoft Office 2010 (KB2597089) 32-Bit Edition
    Update   for Microsoft Office 2010 (KB2687275) 64-Bit Edition
    Update   for Microsoft Office 2010 (KB2837602) 64-Bit Edition
    Update   for Microsoft Office 2010 (KB2883019) 32-Bit Edition
    Update   for Microsoft Office 2010 (KB2889818) 32-Bit Edition
    Update   for Microsoft Office 2010 (KB2910896) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2837654) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2881008) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2889857) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2899493) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2899510) 32-Bit Edition
    Update   for Microsoft Office Outlook 2007 Junk Email Filter (KB2899525)
    Update   for Microsoft Office Outlook 2007 Junk Email Filter (KB2920789)
    Update   for Microsoft Office PowerPoint 2007 (KB2597972)
    Update   for Microsoft OneDrive for Business (KB2899513) 32-Bit Edition
    Update   for Microsoft OneNote 2010 (KB2597088) 32-Bit Edition
    Update   for Microsoft Outlook 2013 (KB2899504) 32-Bit Edition
    Update   for Microsoft PowerPoint 2010 (KB2878251) 64-Bit Edition
    Update   for Microsoft PowerPoint 2010 (KB2880517) 32-Bit Edition
    Update   for Microsoft Visio 2013 (KB2899497) 32-Bit Edition
    Security   Update for Microsoft Excel 2010 (KB2910902) 32-Bit Edition
    Security   Update for Microsoft Office 2007 suites (KB2596927)
    Security   Update for Microsoft Office 2007 suites (KB2920790)
    Security   Update for Microsoft Office 2007 suites (KB2920792)
    Security Update for Microsoft Office 2010 (KB2553154) 32-Bit Edition
    Security   Update for Microsoft Office Excel 2007 (KB2984942)
    Security   Update for Microsoft Office Word 2007 (KB2899527)
    Security   Update for Microsoft Office Word 2007 (KB2920793)
    Security   Update for Microsoft Word 2010 (KB2899519) 32-Bit Edition

    Hi
    I have downloaded The toshiba Value added package and most of the 30 odd items have downloaded and installed but the following error messages occured
    Intel Display Driver ~~ FAILED
    AMD Display Driver ~~ FAILED
    ATI HDMI Audio Driver ~~ BAD URL
    RealTek Ausio Driver ~~ BAD URL
    Intel Wireless LAN Driver ~~ BAD URL
    Synatics Touch Pad Driver ~~ FAILED
    Toshiba Virtual Added Package ~~ BAD URL
    Toshiba System Driver ~~ BAD URL
    Toshiba Function Key ~~ BAD URL
    Toshiba ECO Utlility ~~ BAD URL
    All of the other items downloaded satisfactorily
    Can you advise me what steps to take now please as the FN key which was my original question still no longer works
    Many Thanks

  • How do I disable one item in a radio buttons control at run time

    I need to disable one item in a radio buttons control. At design time
    this is possible, but how do I do this at run time? Is this possible? I
    cannot find a property per item

    Use the property "Controls[ ]" - this gives you an array with references of each single button in the radio buttons control. These you can access with property nodes too.
    Hope this helps.
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Need to send mail to user while clicking update button

    Hi
    I am new to APEX.
    I have a requirement. When clicking an update button the a mail should automatically send to user mentioned in the form. How can i achieve this. Please help.
    Regards
    Hisham.A

    Hi,
    Do not create duplicate post about same problem
    Re: need to send a automatic mail to an id while clicking a button
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Click radio button with Apple Script

    I have something like this going on at the moment:
    tell application "Adobe Reader"
           activate
    end tell
    tell application "System Events"
           tell process "Adobe Reader"
                  click menu "file" of menu bar 1
                  click menu item "Print..." of menu "file" of menu bar 1
                  click radio button "pages" of window "Print"
                  --click button "Printer..." of window "print"
                  --click menu button "PDF" of window "Print"
                  --click menu item "Save as PDF…" of menu 1 of menu button "PDF" of window "Print"
                  --keystroke "D" using {command down, shift down}
                  --keystroke "G" using {command down, shift down}
           end tell
    end tell
    How do I click the radio button "Pages" in the print dialog box under "pages to print" with applescript?
    Thanks

    I ended up using key codes to tab using control down to get to it, which works for me.

  • Variable drop-down lists according to radio-button input

    I need to restrict the display of drop-down lists according to a particular radio-button selection earlier on the form. Can I use a javascript call on the client side without linking to an external database along these lines:
    If radiobutton1 == 1
    then dropdownlist1 uses list1
    elseif radiobutton1 == 2
    then dropdownlist1 uses list2
    and so forth.
    Obviously the syntax is incorrect, but I need to know if it can be done before digging in further.

    Let's assume we have tree grouped radio buttons in a group of buttons, and a combo box object which displays a different list of elements depending of the chosen option.
    A very simple way to do it would be, for example, the following one:
    b [*] Radio Button Group - OnClick Event
    i // List of elements that will be loaded in the combo box object
    > var colorList = new Array("White","Blue","Red","Green");
    > var dayList = new Array("Monday","Tuesday","Wednesday","Thursday");
    > var tmarkList = new Array("Nike","Adidas","Reebook","Levis");
    i // ComboBox Object
    > var combo = xfa.resolveNode("Formulario1.ComboBox");
    i // Cleaning the combo...
    > combo.clearItems();
    > combo.addItem("Select one option to the list","");
    i // Filling the Combo
    i // "this" returns a button group where there are three radio buttons
    i // and the "rawValue" returns the selected index chosen in radio
    i // buttons.
    > switch(this.rawValue)
    > {
    > case "1":
    > for(nJ = 0; nJ < colorList.length; nJ++)
    > combo.addItem(colorList[nJ]);
    > break;
    > case "2":
    > for(nJ = 0; nJ < dayList.length; nJ++)
    > combo.addItem(dayList[nJ]);
    > break;
    > case "3":
    > for(nJ = 0; nJ < tmarkList.length; nJ++)
    > combo.addItem(tmarkList[nJ]);
    > break;
    >}

  • Screen programing need to cal 2 different programs by clicking radio button

    Hi experts,
    I Need to create two radio buttons in the existing program when 1st radio button is clicked program ZSalsDoc needs to be executed and when 2nd button  is clicked  program ZShipped needs to be executed,
    these two programs internally consist of selection screens and radio buttons.
    pls if any one help by sending sample code.
    Thanks in advance

    hi raj,
    i m trying to implement your requirement.
    see what u have to do is you have to make one more radiobutton which is selected as default and you can give a message on that button like select one radio button.
    here is the code which i have done according to your requirement.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.  
    PARAMETERS : p_select TYPE c RADIOBUTTON GROUP r1 USER-COMMAND xyz DEFAULT 'X', "Select a radio button
                 p_fgnd TYPE c RADIOBUTTON GROUP r1   modif id id1,
                 p_bgnd TYPE c  RADIOBUTTON GROUP r1 .
    SELECTION-SCREEN END OF BLOCK b1.
    now you have to loop on screen
    AT selection-screen output.
    if p_fgnd = c_x.
    loop at screen.
    if screen-group1 EQ 'ID1'.
        submit zls_open_delivery AND RETURN.
        modify screen.
    endif.
    endloop.
    elseif p_bgnd = c_x.
      if screen-group1 NE 'ID1'.
       loop at screen.
       submit zls_open_delivery1 AND RETURN.
       modify screen.
    endif.
    endloop.
    endif.
    i hope this code will definetely solve your query
    because i have tried it and it is working.
    Thanks,
    Tanmaya
    Edited by: Tanmaya Gupta on Feb 24, 2010 2:54 PM

  • Screen get changed while clicking on button in enhancement CEWB_TSK_SCREENS

    Hello Everybody
    I am implementing one BAdI CEWB_TSK_SCREENS for customizing in CEWB transactions and I have developed one screen for that.
    I have one table control on the same screen and I am providing some buttons like 'DELETE' 'CREATE' or 'DISPLAY' to perform some activity on table control.
    But whenever I clicked on button the screen get changed and it sets to some other screen.
    Can anybody help me out on the same?
    regards,
    Bhavin

    hai,
      i am also new to this,i am trying on that only ,it is not allowing me change the screen is there is a need for access key for that, reply me .iam waiting for ur reply.
    shan

  • How to open a new OAF page in new window while clicking submit button

    Dear All
    I am facing one problem.I have to pass some parameter in new page only after validation.I can't do validation in processRequest bacause I perform validation after clicking the submit button.
    So I have to write redirect code in processForm Request. I can not use simple "Button" bean since I have to set destination uri which could be set only in processRequest.But I can not pass parameter with it in process request.
    Thats why I have decided to use submit button but there is not target frame option in property inspector,So I am not able to open it in new window.
    Kindly give me some suggestion .
    Thanks in Advance

    hi,
    u can use submit button. U need to handle submit button press in processFormRequest method.
    if(pageContext.getParameter("Submit"!=null))
    // validate your parameter
    if parameter u capturing are valid then...
    pageContext.setForwardURL(func, params ...............) // check devguide for details
    if u want to access these parameter in second page . you can write this logic to processRequest of target page.
    U can refer toolbox tutorial drilldown and createpage examples for implementation details.
    Regards,
    Ram

  • Error while clicking submit button?

    Hi All,
    I am trying to implement selectOneListbox component. This displays all the data which I required. I am also able to retrieve indiviual data. I checked this using alert in java script.
    The problem which I am facing is that I have a command button on the page. Once I click the submit button. I am getting an error.
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: Duplicate component ID 'form1:_id0' found in view.
    I am unable to proceed. Please let me know any solution for the problem.
    Regards
    Rishab

    HI All,
    I have fixed this issue. This was problem with RSA. The id was not getting generated. So explicitly I added the id and it worked.

  • Need to send a automatic mail to an id while clicking a button

    hi
    i am new to APEX. My current assignment is when click on a button a mail should go to a particular mail id automatically.
    Please help me to achieve this.
    Regards
    Hisham.A

    Hi,
    See APEX_MAIL package documentation
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_mail.htm#CIHDIEJI
    Also this OBE might help. It should work also with APEX 4.x
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31email.htm
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Avoiding Blind query from executing while clicking sort button on table.

    Hi All,
    I am using jdev11.1.1.6
    I made a simple ADF search page with few mandatory search criteria's.
    The result table can be sortable and filterable by the user.
    The page is working fine as expected with the search criterai's, but i found a problem in the page.
    Once my page got loaded, before entering any search criteria, if i scroll down to the result table and clicked on the "sort" button on any column, my base page query is getting executed
    without any search criteria i.e a blind query is getting executed. i need to restrict this. This is not expected.
    Is there any inbuilt properties for restricting this or this has to be done manaully.
    please help me with this issue.
    Regards
    Siva
    Edited by: Minion on Oct 18, 2012 11:13 AM

    Hi Pandu,
    Thanks for the response,
    I am having more than 80 columns in the table, this means, i need to set the sort property for each and every column separately?
    Do we have any table level property to restrict it.
    First of all is this an intended behavior of ADF ?
    I have implemented few security to access my page, such that only few user can able view all data by restricting few search criteria's result.
    But due to the above mentioned problem my works on implementing security is not working. regardless of the type of user if i just click the sort button its giving all the data for all users.
    Please guide me a best method for restricting this
    Regards
    Siva

  • How can we create a popup window for confirmation while clicking of button

    HI Friends,
    I am creating a application, In which I want to create a popup window for confirmation on clicking of a button.
    I also need two buttons on popup window i.e. 'Yes' & 'No'.
    On yes i want to perform some operation and on No i want to cancel that operation.

    Hi Narendra,
    try using the following code in ONACTION of ur button for popup :
    * Popup
       *  Generate Popup
        DATA lo_window_manager TYPE REF TO if_wd_window_manager.
        DATA lo_api_component  TYPE REF TO if_wd_component.
        DATA lo_window         TYPE REF TO if_wd_window.
        lo_api_component  = wd_comp_controller->wd_get_api( ).
        lo_window_manager = lo_api_component->get_window_manager( ).
        lo_window         = lo_window_manager->create_window(
          window_name          = 'W_POPUP'
         window_position = if_wd_window=>co_center
          message_display_mode = if_wd_window=>co_msg_display_mode_selected
          button_kind          = if_wd_window=>co_buttons_yesno
          message_type         = if_wd_window=>co_msg_type_none
          default_button       = if_wd_window=>co_button_yes
        DATA:  l_api TYPE REF TO if_wd_view_controller.
        l_api = wd_this->wd_get_api( ).
        " subscribe action for Ok button
        lo_window->subscribe_to_button_event(
                     button            = if_wd_window=>co_button_yes
                     action_name       = 'OK_POPUP'
                     action_view       = l_api
                     is_default_button = abap_true ).
        lo_window->open( ).
    regds,
    amit

Maybe you are looking for

  • Itunes 7.4.1.2 - Vista 64 bit - unable to import or burn cd

    Hello. Last night I installed Itunes 7.4 on my vista 64 bit box and kept getting the error that ITunes had installed incorrectly and I would not be able to import or burn cds. I then tried repairing and uninstalling and reinstalling but to no avail.

  • Can i use apple tv without a hd tv

    can i use apple tv without a hd tv

  • ECC Client export and import with BW data model

    Dear BW Expert,   We are now have BW QAS system which is connecting to ECC600QAS.   Now we are going to:      First  >> Export data ECC600QAS.      Second Drop this client      Third Create client with the same logical name as ECC600QAS and then impo

  • Audio Input Output on MacBook Pro 13 inch

    I want to buy a MacBook Pro 13 inch but the problem is the audio input output port. I usually need to use both jacks because in one I record my guitar and in the other I use my headphones. Is it possible to get a splitter and to make from one jack, t

  • QaaWS vs Live Office as datasource for Xcelsius

    Hi, We can create dashboard with BW or Oracle data using Live Office or QaaWS. Best practice document called for QaaWS. Does anyone know why? I know we can do both, but just don't know what's the reason for using QaaWS. Thank you