Hidden, Visible and back to Hidden using a radio button

Ok this might be really simple for someone to answer.
I have a radio button I'm using to toggle between two list boxes with multiple lines of text (hidden and then visible). Here's the problem, when I toggle the radio button back and forth I have both list boxes displaying thier notes at the same time. I would like to have the radio button display one messages at a time when you toggle between them. Here is my script.
Radio Button named Violation:
form1.#pageSet[0].Page1.#subform[0].action[1].Violation::click - (JavaScript, client)
if (this.rawValue == null) {
     Notes.presence = "hidden";
else {
     Notes.presence = "visible";
Radio Button named Suspension:
form1.#pageSet[0].Page1.#subform[0].action[1].Suspension::click - (JavaScript, client)
if (this.rawValue == null) {
     Notes2.presence = "hidden";
else {
     Notes2.presence = "visible";

Notes and Notes2 are list boxes. Violation and Suspension are radio buttons. Is that correct? If so, are Violation and Suspension in an exclusion group?
Is this the requirement, Violation should display Notes and hide Notes2 and Suspension should hide Notes and display Notes2?
Steve

Similar Messages

  • How can I make the background one solid color?  It is too difficult and noticeable when I use the retouch button and try to erase all the creases in my backdrop.  So, how can I have just a solid white background?

    How can I make the background one solid color?  It is too difficult and noticeable when I use the retouch button and try to erase all the creases in my backdrop.  So, how can I have just a solid white background?

    When talking about a specific image posting the image may be useful.
    One can use a Layer Mask and add a white Layer underneath.

  • I updated Adobe flash player and now i'm unable to open Opera and I have to use the power button to shut down the computer?

    I updated Adobe flash player and now i'm unable to open Opera and I have to use the power button to shut the computer down.
    How do you delete programs?
    thanks

    If Flash Player is indeed the problem I would suggest using the Adobe Uninstaller.
    Have you tried using a different browser such as Chrome, Firefox or Safari to see if they have a problem with Flash?

  • Bug Report: [VIsio 2010] whenever I try to save a diagram to JPEG and then close Visio using the X button, Visio hangs

    Greetings
    I use Visio 2010 in windows 7 64bit
    and I have this problem:
     whenever I try to save a diagram to JPEG (save as>JPEG) and then close Visio using the X button on the upper right corner, then Visio hangs.
    The jpeg pic is saved ok, but Visio hangs permanently: I have to close it using task manager.
    On the other hand, if after I save into jpeg, I press whatever other button in Visio (from ribbon) then it works ok, and afterwards I can close Visio with the X button
    - but, if I try to close Visio with the X button  right after saving to JPEG, Visio will surely hang.
    Thank you
    PS. Visio 2010 is fully updated (File>Help reports:
    Visio 2010 Premium (v14.0.6111.5000) SP1 MSO (14.0.6112.5000) 32bit)

    Update:
    The problem reappeared/wasn't completely solved:
    So, I also went to Control Panel>add/remove programs, rightclick on Adobe Acrobat X> change installation and untick the PDFMaker item, in order to uninstall it:
    that's because initially, even after I had unticked "PDFMaker for Visio AddIn" in COM Add-Ins,
    in File>Options>Add-Ins tab, on the Active Application Add-Ins part (yes, on ACTIVE Add-Ins)
    I was still seeing about 5-6 lines, all having items containing PDFMaker for Visio AddIn" [PDFMVisio.vsl].
    In other words, the PDFMVisio.vsl file was loaded even if unticked!!
    Then, after uninstalling the add-in, the problem was finally fixed at last!
    Thank you so much for this additional information!  I was having the same problem.  I did what you instructed, and the problem has now disappeared!

  • Using the radio button component to go to a frame on a MovieClip

    hello,
    I am using the radio button component in Flash with a continue button.
    When the user clicks their option in the radio button and then clicks continue, I want it to go to a movieClips Specific frame.
    Here is the breakdown and the script I have so far is below.
    The radio group os named RadioButtonGroup
    The instance names for each of the three options are noviceButton,intermediateButton,expertButton
    My continue button has an instance name of continueButton
    and my movie clip I am trying to target has an instance name of level_mc
    here is my code so far:
    continueButton.enabled=false
    noviceButton.addEventListener(MouseEvent.CLICK, revealContinue);
    intermediateButton.addEventListener(MouseEvent.CLICK, revealContinue);
    expertButton.addEventListener(MouseEvent.CLICK, revealContinue);
    function revealContinue(evt){
        continueButton.enabled=true;
    continueButton.addEventListener(MouseEvent.CLICK, clickContinue);
    function clickContinue(evt){
    var frameNumber=mc_levels.Number(noviceButton.group.selectedData)
    gotoAndStop (frameNumber);
    the problem starts with my varFrame line-I don't know how to get it to go to the movieClip and gotoAndStop at a specific frame, based on which radio button was clicked and after the continue button is clicked.
    Does anyone out there have any ideas?
    thanks
    babs

    use:
    continueButton.enabled=false
    noviceButton.addEventListener(MouseEvent.CLICK, revealContinue);
    intermediateButton.addEventListener(MouseEvent.CLICK, revealContinue);
    expertButton.addEventListener(MouseEvent.CLICK, revealContinue);
    function revealContinue(evt){
        continueButton.enabled=true;
    continueButton.addEventListener(MouseEvent.CLICK, clickContinue);
    function clickContinue(evt){
    var frameNumber=mc_levels.Number(noviceButton.group.selectedData)
    level_mc.gotoAndStop (frameNumber);

  • How to write a numeric value to a plc register using a radio button

    I'm want display a HOA (HAND/OFF/AUTO) on my screen. Lookout is connected to a Allen Bradley PLC. I am trying to write to a "N" register. I want to write a zero to open all (eg) N7:10 bits, writing a one (1) will close a contact N7:10/0 and writing a two (2) will close N7:10/1 etc. How do I do it? Can I use a radio button and if so, how?

    ICI,
    Just wanted to let you know that you have posted your question in the
    MATRIXx part of the forum.  There is a specific board for
    Lookout.  If you repost your message there you will be more likely
    to get a good answer.
    Carl L
    National Instruments

  • How to use a radio button in enabling/disabling a text box in report progra

    Hi,
        Could any please let me know, how to use a radio button in enabling/disabling a text box in report program.

    *& Report  ZMR_RADIO_BUTTONS
    REPORT  ZMR_RADIO_BUTTONS.
    PARAMETERS : R1  RADIOBUTTON GROUP G1,
                 R2  RADIOBUTTON GROUP G1.
    PARAMETERS : A1 TYPE I,
                 A2 TYPE I.
    AT SELECTION-SCREEN OUTPUT.
    *initialization.
    IF R1 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    ENDLOOP.
    ENDIF.
    IF R2 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    modify screen.
    ENDLOOP.
    ENDIF.
    START-OF-SELECTION.
    *IF R1 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 1.
    ENDIF.
    *ENDLOOP.
    *ENDIF.
    *IF R2 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 0.
    ENDIF.
    *ENDLOOP.
    *ENDIF.

  • After downloading the app for my Note 10.1-2014, synced my Desktop bookmarks, I cannot see the 3-bar menu and when I do use my menu button it does not work.

    I have searched all the ways I know about this. I have FF V28 on my PC.
    I downloaded FF v 28.0.1 and I cannot get the 3 bar / dot menu on my Note 10.1-2014 tablet.
    All your support notes describe the possibility of using my Home button, main button and even the back button.
    Still no luck and really want to use it on my tablet.

    Hi rketek1, you may be viewing information about something other than the current release of Firefox for Android.
    When using the Knowledge Base here, if the article title doesn't mention Android, check the "Editing Tools" section in the left sidebar to make sure it specified Firefox for Android and not one of the desktop versions.
    For what it's worth, I have attached screen shots of the "3-dot" menu from a Nexus 5. "Back" is a <s>physical</s> button on the device, so it doesn't appear on the screen ''within Firefox''.

  • I have an error message that won't go away and stops me from using any other buttons in the screen.

    I have an error message reading 'item over 1 byte. Connect to a wifi network or use iTunes on your computer to download 'tv show'.
    When I connect it to iTunes or use a wifi network nothing changes.  The warning remains in place no matter how many times I push 'ok'.  iTunes actually says the show is already fully downloaded.
    I can't use any other button or controls because the only thing responding is the 'ok' button on the error message.
    I've now given up and am just trying to exhaust the battery.  What a joke.  This device is only a week old.
    Anyone else with a suggestion on how to make the error message go away? I'm worried this will happen again.
    Thanks!

    Try this.
    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.

  • Using a Radio Button to Disable Multiple Checkboxes

    Hi everyone,
    My name is Christian and I am trying to design a form using Adobe Designer 7 that when a user selects a group of two radio buttons (one marked Macintosh and one marked Windows) it automatically disables 3 or 4 checkboxes of various software applications further down the page.
    The idea is if you select the Windows radio button, you would not be able to select the iWorks or StuffIT checkboxes (as that is Mac software), but conversely if you check Macintosh radio button the iWorks and StuffIT checkboxes activate but the Office 2003 and Microsoft Money checkboxes deactivate (because that is Windows software).
    Im not really a developer so any assistance would be appreciated. Thanks for reading and have a great day! :-)
    Christian

    I suspect that you have a problem in some portion of your code that you have not posted. To help debugging I suggest you create a simple test using two pages: input.cfm and action.cfm.  Get the most simple case working then add the javascript, css, and CF code to make your application work.
    <!--- contents of input.cfm --->
    <html>
    <head>
         <title>Input</title>
    </head>
    <body>
         <form action="action.cfm" method="POST">
              Choose type: <br />
              <input name="type" type="radio" value="male" />     Male<br />
              <input name="type" type="radio" value="female" /> Female<br />
              <input type="submit" />
         </form>
    </body>
    </html>
    <!--- content of action.cfm --->
    <html>
    <head>
         <title>Action</title>
    </head>
    <body>
         <cfif form.type eq "male">
              Type is male.
         <cfelseif form.type eq "female">
              Type is female.
         </cfif>
         Here is a cfdump of the form variables:<br />
         <cfdump var="#form#" />
    </body>
    </html>
    Message was edited by: JR "Bob" Dobbs
    Added sample for action.cfm

  • Get the row of a department in a popup using a radio button

    I have a use case. A page will be displayed with a button. User will click on that button, and then a popup will be displayed showing the table of departments. User will select the desired radio button. After that, the popup will close and the list of employees should get displayed in the page.
    I have written a method in the valuechangeevent property of the radio button (autosubmit is also set as true), but still I am not able to get the current row. I actually need the value of departmentid.
    Can anyone guide me?
        public void onClickRadio(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            System.out.println("onClickRadio Begins");
            hidePopup("p1");
            DCBindingContainer bc =
                (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding iter =
                bc.findIteratorBinding("DepartmentsView1Iterator");
            Row row = iter.getCurrentRow();
            Number departmentId = (Number)row.getAttribute("DepartmentId");
            System.out.println("departmentId: " + departmentId);
            OperationBinding method =
                (OperationBinding)bc.get("displayEmployeeTable");
            method.getParamsMap().put("departmentId", departmentId);
            method.execute();
            AdfFacesContext.getCurrentInstance().addPartialTarget(empTable);
            System.out.println("onClickRadio Ends");
        }JDev 11.1.1.6

    This is the code of the popup.
            <af:popup id="p1" contentDelivery="lazyUncached">
              <af:dialog id="d2" type="none">
                <af:table value="#{bindings.DepartmentsView1.collectionModel}"
                          var="row" rows="#{bindings.DepartmentsView1.rangeSize}"
                          emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.DepartmentsView1.rangeSize}"
                          rowBandingInterval="0"
                          selectedRowKeys="#{bindings.DepartmentsView1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}"
                          rowSelection="single" id="t1">
                  <af:column sortProperty="Radio" sortable="false" id="c1"
                             width="20">
                    <af:selectBooleanRadio value="#{row.Radio}" id="ot3"
                                           valueChangeListener="#{myBean.onClickRadio}"/>
                  </af:column>
                  <af:column sortProperty="DepartmentId" sortable="false"
                             headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
                             id="c2">
                    <af:outputText value="#{row.DepartmentId}" id="ot2">
                      <af:convertNumber groupingUsed="false"
                                        pattern="#{bindings.DepartmentsView1.hints.DepartmentId.format}"/>
                    </af:outputText>
                  </af:column>
                  <af:column sortProperty="DepartmentName" sortable="false"
                             headerText="#{bindings.DepartmentsView1.hints.DepartmentName.label}"
                             id="c3">
                    <af:outputText value="#{row.DepartmentName}" id="ot1"/>
                  </af:column>
                </af:table>
              </af:dialog>
            </af:popup>I think that when I select the radio button, the value might be getting true of the column, but this isn't setting the current row.
    Also in the log I am getting these messages:
    <SimpleSelectBooleanRadioRenderer> <renderGroupAttribute> The selectBooleanRadio component's group attribute is null. It must be set to a non-null value for the selectBooleanRadio component to function properly. The selectBooleanRadio component is meant to be used with other selectBooleanRadio components with the same group value.

  • Using a radio button in cfmail / form.

    Hello;
    This is a silly question, but I can't remember how to program in radio buttons for a cfmailer. I have 3 radio buttons, basically, I just need to know what the users choice was when they checked it off. The following is my radio buttons and what I have for code right now. But I'm not grabbing the proper variable, I also tried dumping a few diffrerent variables to see if I could get it.
    <input name="type" type="radio" onClick="setVisibility('sub3', 'inline');setVisibility('sub4','none');setVisibility('sub5','none');" value='male' checked="checked"/>Magnets
    <input type="radio" name="type" value='female' onClick="setVisibility('sub3', 'none');setVisibility('sub4','inline');setVisibility('sub5', 'none');"/>Paper Steel
    <input type="radio" name="type" value='child' onClick="setVisibility('sub3', 'none');setVisibility('sub4','none');setVisibility('sub5', 'inline');"/> both
    on my response page, I tried this:
    <cfif form.type EQ "male">
    if this was their choice, then this set of rules would apply
    </cfif>
    and so on for the other two choices. This isn't catching my buttons, what am I doing wrong? do I need to make a paramiter for the radio buttons before I can allow it to function? like this?
    <cfparam name="FORM.type" default="">
    then I can use my if statement? (that isn't working right now either)
    here is what I'm trying to dump:
    <cfdump var="#form.type#">
    <cfabort>
    </cfdump>
    How do I do this? Can anyone help me?

    I suspect that you have a problem in some portion of your code that you have not posted. To help debugging I suggest you create a simple test using two pages: input.cfm and action.cfm.  Get the most simple case working then add the javascript, css, and CF code to make your application work.
    <!--- contents of input.cfm --->
    <html>
    <head>
         <title>Input</title>
    </head>
    <body>
         <form action="action.cfm" method="POST">
              Choose type: <br />
              <input name="type" type="radio" value="male" />     Male<br />
              <input name="type" type="radio" value="female" /> Female<br />
              <input type="submit" />
         </form>
    </body>
    </html>
    <!--- content of action.cfm --->
    <html>
    <head>
         <title>Action</title>
    </head>
    <body>
         <cfif form.type eq "male">
              Type is male.
         <cfelseif form.type eq "female">
              Type is female.
         </cfif>
         Here is a cfdump of the form variables:<br />
         <cfdump var="#form#" />
    </body>
    </html>
    Message was edited by: JR "Bob" Dobbs
    Added sample for action.cfm

  • Using a radio button to populate another group of radio buttons?

    I am new to Adobe forms and new to Javascript. I have a question on my form with a radio button group (PHQ) with four choices 1, 2, 3 or 4. If the user chooses "1", I want a check to appear in the "No" box for another radio button group (Screen). If, on the other hand, the user chooses 2, 3, or 4, from the PHQ group, I want a check to appear in the "Yes" box of the Screen group. Is this possible? Not sure how to go about doing this.

    I suspect that you have a problem in some portion of your code that you have not posted. To help debugging I suggest you create a simple test using two pages: input.cfm and action.cfm.  Get the most simple case working then add the javascript, css, and CF code to make your application work.
    <!--- contents of input.cfm --->
    <html>
    <head>
         <title>Input</title>
    </head>
    <body>
         <form action="action.cfm" method="POST">
              Choose type: <br />
              <input name="type" type="radio" value="male" />     Male<br />
              <input name="type" type="radio" value="female" /> Female<br />
              <input type="submit" />
         </form>
    </body>
    </html>
    <!--- content of action.cfm --->
    <html>
    <head>
         <title>Action</title>
    </head>
    <body>
         <cfif form.type eq "male">
              Type is male.
         <cfelseif form.type eq "female">
              Type is female.
         </cfif>
         Here is a cfdump of the form variables:<br />
         <cfdump var="#form#" />
    </body>
    </html>
    Message was edited by: JR "Bob" Dobbs
    Added sample for action.cfm

  • Use of radio button in presentation..

    How do we use radio buttons in a presenattion?
    What is the refrenced type for that? Can it be enum only?
    If this is so how do we catch the value selected by the user through screenflows or code in a process?

    Frequently you need to choose among few values to set an BPM Object attribute that represents for instance Levels - High, Medium, Low -, Position - Top, Bottom -, etc. In these cases a Radio Button is very useful to show it.
    The attribute should be set as Int with Valid Values, with this option you can associate each valid value with a description.
    Unfortunately you can use enumerations but if you use BPM Object attributes you could return the selected value from the presentation to the process.
    The BPM Object that you use in the interactive activity should be a ScreenFlow variable and get its attributes from the end activity to set a returned value.
    Hope that helps you.

  • Regarding use of radio button

    Dear All,
       I add two radio button in my form. And they work. One button for 'male' and another for 'female'.
    When i click male button then it sends '1' to database in the respective field and
    when i click female button then it sends '2' to database.
    But i need 'M' for male and 'F' for female.
    what is the solution.
    Good day.
                                                                                  Regards
                                                                 Bodhisatya Bhattacharjee

    Try something like this for the first Option button ...
            Dim oOptionBtn As SAPbouiCOM.OptionBtn
            With oItem
                .Left = 100
                .Top = 100
                .Width = 50
                .Height = 20
                oOptionBtn = .Specific
            End With
            With oOptionBtn ' data bind
                .Caption = strCaption
                .ValOn = 'M'
                .ValOff = 'F'
                If Len(strGroupWith) > 0 Then .GroupWith(strGroupWith) ' Use tihis to group the option buttons
                If Len(Trim(strFieldName)) > 0 Then .DataBind.SetBound(True, "", "FIELD1")
            End With
    and then set the
    ValOn = 'F'
    and .
    ValOff = 'M'
    for the other button.
    hope it works for you
    null

Maybe you are looking for

  • Purchase Price Variance Report

    I am trying to write a query to understand whether we have a purchase price variation from the latest invoice to the second latest invoice. I am having a problem gaining the information for the second purchase invoice as SAP Query generator seems to

  • Problem in importing from dmp file

    Hi , I am facing problem while importing from dmp file on unix server Error is as follows : Export file created by EXPORT:V08.01.07 via conventional path IMP-00013: only a DBA can import a file exported by another DBA IMP-00000: Import terminated uns

  • Menus switching, hanging sounds etc.

    I think my poor mac has been infected with a malware of some kind. When I click the apple icon in the top left, the menus start moving to the right untill it reaches the end, then starts over. It is impossible to click the choice I want. When I click

  • My safari browser is not keeping history on my iPad

    My safari is no longer keeping history on my iPad 2

  • Can iPad 2 and mini iPad share Apps?  And How?

    Hi, Can I share the apps I bought for iPad with my new mini iPad?  And How?? (Both are in use daily.)