Events Triggered During Radio Buttons Changes

Hi ,
I added 3 radio Buttons in my Parameter Screen.
Whenever iam changin the Buttons, Both At Selection Screen Ouptput and At Selection Screen Event is executed.
Is it correct ?
Thanks
Kuna.

Hi Venkat,
ths is the first result in  Google if you search for your subject with a preceding ABAP.
[Next time please try yourself, thank you!|http://help.sap.com/saphelp_nw04/helpdata/en/e6/83a0375b5dd003e10000009b38f8cf/content.htm]
Regards,
Clemens

Similar Messages

  • Event to handle radio button changed in a dynpro

    Hi Everyone,
    how can i handle if a radio button changes in a dynpro?
    I want to disable other buttons if a radio button is selected
    Thanks

    Hi ,
    you can do that..
    first group the radio buttons in the screen and assign function group for each radio button by double clicking ..
    and write the logic enable and disable fields in the screen in PBO
    regards,
    Prabhudas

  • How to handle Event when a radio button in selection screen is clicked

    Hi all,
       What is the Event generated when a radio button is clicked in the selection Screen. My requirement is .If one radio button is clicked a field in selection screen should be greyed.
       Here I used AT SELECTION-SCREEN OUTPUT. but this event is generated only if i press 'ENTER' after clicking the radio button in the selection screen.
       Is there any other way to process this radio button event?
    Thanks&Best Regards,
    Vishnu

    hi,
    try like this
    TABLES : kna1,lfa1.
    SELECTION-SCREEN:BEGIN OF BLOCK blk1 WITH FRAME TITLE text-002.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : rad_but1 RADIOBUTTON GROUP one DEFAULT 'X' USER-COMMAND ucom.
    SELECTION-SCREEN COMMENT 3(26) text-003.
    SELECT-OPTIONS : kunnr FOR kna1-kunnr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : rad_but2 RADIOBUTTON GROUP one .
    SELECTION-SCREEN COMMENT 3(26) text-004.
    SELECT-OPTIONS : lifnr FOR lfa1-lifnr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN:END OF BLOCK blk1.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF rad_but1 = 'X'.
          IF screen-name = 'KUNNR-LOW' OR screen-name = 'KUNNR-HIGH' .
            screen-input = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name = 'LIFNR-LOW' OR screen-name = 'LIFNR-HIGH'.
            screen-input = '0'.
            REFRESH lifnr.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
        IF rad_but2 = 'X'.
          IF screen-name = 'KUNNR-LOW' OR screen-name = 'KUNNR-HIGH'.
            REFRESH kunnr.
            screen-input = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name = 'LIFNR-LOW' OR screen-name = 'LIFNR-HIGH'.
            screen-input = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    reward if usefull....

  • Double click event on a radio button

    Hi all,
    I have a servelet and a java script. I want to execute a method in my java script on double click on a Radio button in my page.
    I tried with setOnDblClick() method on the radio button, but the event is not fired.
    Please help.

    call you js fn on ondblclick event.

  • Prevent Radio Button Change

    I am building a simple form.  Have a table displaying a list of employee names and then 3 columns: "In Office", "Out of Office", "Off".  I want to use a radio button group to display the values in my table.  I have that working, and it's correctly checking the right radio button.  What I want to do is prevent the user from changing the value.  I'll provide an "edit" link so they can update each record.  But right now, the list of records displays, and you're free to change the radio button value on each record.  Of course, none of that writes back to the database.  But still, I know what will happen is my users will change the value on that screen and think they've updated their status.
    I found how to disable, but I don't want the radio group greyed out.  Just locked from updating on that page.  See the image included. Any direction would be great.  Thanks.

    You are correct.  Even though they change the radio button that's clicked, it won't update the record.  What I was shooting for was to lock it from being changed so that they know they need to click an edit link to update that record.  My concern is that someone will not pay attention to the training and click a different button on the original page and assumed they changed it.
    Didn't think this would be such a big deal.  I do this easily in Access, because Access has two separate properties: locked and enabled.  So I'm able to lock the radio button from being changed without greying it out so it's hard to see.  Changing "enabled" to no would grey it out.  I'll probably just do this with a drop down instead.  I just thought there might be some way to accomplish the same thing on a web page that I do with the Access properties.  But thanks for the help...

  • Why does disabling radio buttons change my formatted text size?

    When I recycle through a multiple choice quiz i have created,
    disabling the radio buttons also makes the label of the radio
    button resort to a (circa) point 12 font. There doesn't seem to be
    a way to get around this. Any advice?

    I guess you, like me, are a poor typist. There is a bug, but it only really shows up when you use the mouse to repeatedly position the cursor, or move around with the arrow keys.
    My "work around" is to press enter about three times as soon as I get into the typing space. Then if I accidentally go "past the end of the formating" it does not turn to rubbish. I did not realise I was doing the pressing of enter, as I wanted to get my signature out of my face while composing, but it appear to have had side benefits I just was not aware of.
    The other formatting hell you can get into is with text pasted from Microsoft Office. Any office suite can make things unpleasant for a while, but but the Microsoft product just stands out with it's references to Microsoft specific data structures and it's magical ability to make the mail ring the anti virus bell..

  • Event triggered by ECO Status change. Where is the setting in the system?

    Hi experts, I am looking into some custom developed workflows and one of them is has a triggering event "Status10" which is triggered when a ECO has been changed to status 10. Object type of the event is ECM. How can I find out where this setting of this event is. I just cannot find where in the system that this event "Status10" is being triggered when the ECO status is changed. I can see in transaction SWUE that it has the Workflow as the receiver type and the object key is the ECO number.
    Can anybody share some light?
    Thank you

    You can check this configuration in TCode: SWE2. Here the setting between Wflow and event is stored. If you want to check how the event is getting triggered you can check transaction code BSVZ.
    <b>Reward points if useful</b>
    Thanks
    Arghadip

  • Dynamic Action not triggering on Radio Group change

    I have a form that contains a text item, a radio group item and a display-only item. I have created a single dynamic action "CHANGE SUBJECT" associated with both the text and radio group items that updates the display-only item's value whenever either is changed. The action fires properly when the text item is changed, but not when the radio group is changed. If I set the radio group item's "Page Action when Value Changed" property to "Redirect and Set Value", than everything works, but that is not the desired behavior as that requires a refresh of the entire page. Any suggestions on how to make this action work? Is there a different action for the radio-group that I should be using instead of CHANGE? Thanks for your help.
    -Jeff
    Edited by: jritschel on Sep 1, 2010 2:05 PM

    OK, then change it to JavaScript Expression instead of SQL and put this code in the value :
    "Radio Group Value= "+ $v('P65_RADIO_GROUP')+" - Text Box Value= "+ $x('P65_TEXT').value I tried it and it work!
    Sam
    Update:
    I tried the same code you had before (plsql Expression) but there is something that you need to do to make it work, in the TRUE action setting , there is a "Page Items to Submit" field, you need to put your text item and radio in it as follows:
    Page Items to Submit : P65_RADIO_GROUP,P65_TEXTThis should make your code work in addition to the other way I provided.
    Thanks,
    Sam
    Edited by: Sam_06 on Sep 1, 2010 2:27 PM

  • Change Button content when Radio button clicked...

    Within my BSP code I have an OnClientClick event against the Radio button tag.
    What I need to do is to have some kind of Javascript that changes the context (text) or colour of a button if the Radio button is clicked.
    I know very little of how to achieve this and would relish any guidance about how I can get this to work.
    I understand that I need to use a reference/handle to the button and change it's values via javascript, but how can I embed this code into my BSP code, what code do I use, and more importantly how can I obtain this reference/handle on the buttion?.
    Jon

    Hi Jon,
    below an Example to do this
    (due to security forum restriction replace scrip t with script and o nclick with onclick)
    <html>
    <head>
    <scrip t>
    function change_button_text(v_object){
    var button = document.getElementById("id_button");
    var new_text = v_object.value + ' Clicked!';
    if (button.childNodes[0])
            button.childNodes[0].nodeValue=new_text;
        else if (button.value)
            button.value=new_text;
    </scrip t>
    </head>
    <body>
    <form>
    <input type="radio" name="***" value="male" o nclick="change_button_text(this)"/> Male<br />
    <input type="radio" name="***" value="female" o nclick="change_button_text(this)"/> Female
    </form>
    <button id="id_button">Button Text</button>
    </body>
    </html>
    Edited by: alessandro spadoni on Apr 28, 2011 9:56 AM

  • How to get Radio button select event in my co

    Hi,
    I want to get the radio button selection event in my co,how can i get the event?

    Hi,
    841475 wrote:
    I want to get the radio button selection event in my co,how can i get the event?---There is no event for radio button.
    ---U need to explicitily set the event for the radio button.
    Action:FirePaatialAction
    Event:RadioEvent---Get the event in co by below code:
    if("RadioEvent".equals(pageContext.getParameter(EVENT_PARAM)))
    ---In radio button event..:)
    Regards
    Meher Irk

  • Radio Button Size

    Radio Buttons do not seem to have a "SIZE" property.
    CheckBoxes have a "SIZE" property on the OBJECT-FIELD tab. For checkboxes, the size can be set in points and it is reflected in the size of the box that is checked. This size is independent of the object width/height or font size.
    Radio buttons seem to be a fixed size circle. The OBJECT-FIELD tab has no size property. Changing width, height, margins, reserve, font, etc does not impact the size of the circle.
    There seems to be a hidden size property, since radio buttons that are imported from previous pdf seem to retain their size. Whereas, creating a new radio button always gives the same small size.
    It appears that the OBJECT-FIELD interface for the radiobutton needs to be modified to implement the "hidden" size property.
    Does anyone have a workaround. For instance, if I knew what the hidden property name and syntax was, I could set the size during the initialization event for the radio button. I suspect it's the same name and syntax as for the checkbox, but I don't have that either. The documentation that came with the "professional" version of Acrobat 7 does not seem to go to this level of detail.

    This is available in the Designer 7.1 UI, easiest thing would be to upgrade.<br /><br />Basically it sets the size attribute of the <checkButton> node, which is inside the <ui> node which is in the <field> node.<br /><br />Chris<br />Adobe Enterprise Developer Support

  • Radio Button to make other field Mandatory

    I have two Radio Buttons that I want when clicked on (either one) to make a Number Field mandatory. I have viewed many websites on setting a mandatory field but the script I am using will not work. I have tried a couple ways of writing it but I seem to be missing something.
    I have used this script in the Show of: click & change
    Here is the script that I'm using right now.
    if  (this.rawValue==1)   
    AssemblyNu-1.mandatory ="error";
    else
    AssemblyNu-1.mandatory ="disabled";
    And this one:
    if (this.rawValue==2)
    AssemblyNu-1.mandatory ="error";
    else
    AssemblyNu-1.mandatory ="disabled";
    Thanks,
    HHud5757

    So, I put a quick form together to test your code.
    On the change event of the radio button list (not the radio button itself), I added:
    if (this.rawValue == 1) tfTest.mandatory = "error";
    else tfTest.mandatory = "disabled";
    In my case, the radio button with the value of 1 is the one I want to make the field mandatory. If you want either button to make it mandatory, then use:
    if (this.rawValue == 1 || this.rawValue == 2) tfTest.mandatory = "error";

  • Newbie radio button question?

    Hi. I am trying to create a time field when a user clicks a certain radio button. More like a time stamp when the user clicked the radio button. There are three buttons labeled within a group: 'RadioButtonList' which have the values 1,2,3. When someone clicks the 1 button, the time field would get updated with the time the user clicked the button. Any ideas?

    In the "Window" menu, next to "Tools", select "Script Editor".
    You will see a script window open. Select the radio button first, in "Script Editor" make sure
    Language: "Java Script" is selected,
    Run At: "Client"
    Show: select "Change"
    Then paste the code in the window.
    You have to put the right names of the fields for this to work. You can get the full name of the fields by selecting the field, you will then see in the "Script Editor" window the full name of the field.
    If you created a field named "timeStamp", you would see soemthing like this in the Script Editor window:
    ----- form1.#subform[0].timeStamp::change - (JavaScript, client) ----------------------------------
    The full name of this field would be "form1.#subform[0].timeStamp"
    Following this example, the code to paste into the radio button "change" event would be:
    var now = new Date();
    form1.#subform[0].timeStamp.rawValue = now.toString();

  • Making a text field required when a radio button is clicked

    Hello all, I am very new to designing PDF forms, and I want to implement this requirement but have no idea how to go about doing it. I am designing an order form, and in a few different sections of the form are text fields that I want to be required, but only if a certain radio button on the form is clicked. So for example, I have a radio button group on the page consisting of two buttons, and then immediately to the right is a text field. If the user selects button 1, the text field is not required, but if they select button two, the text field is required. How do I implement this? I am using Livecycle ES3. And when I say required, I am referring to the field value/property of "User Entered - Required". Also, I cannot accomplish this by hiding and unhiding the field depending on which button is clicked, as this form will also be printed and filled out by hand, so all fields must be visible at all times. This form does have a submit by e-mail button and that is how it will be used primarily.
    Also, I have searched around the forums a bit, and have tried some Javascript I have found, tying it to a mouseup event on the radio button, for example "getField("Text1").required = (getField("Radio1").value == "Yes");" and "getField("Text1").required = true;" with the names changed for my fields, but no matter what I try it has no effect
    Thanks!

    i hope this helps u.You can always optimize tht code a bit more , it's coded roughly but it works.
    <html>
    <head>
    <script>
    var cursel='r1';
    function radioClick(x)
         if(cursel!=x)
              cursel=x;
         if(cursel=='r2')
              var z=document.getElementById('mydiv');
              mydiv.innerHTML='<input type=text name=ss size=20/>';
              mydiv.style.display='inline';
         else
              var z=document.getElementById('mydiv');
              mydiv.innerHTML='';
              mydiv.style.display='inline';
    </script>
    </head>
    <body>
    <form>
    <input type=radio name=rtt onClick="radioClick('r1');" checked />Radio 1
    <br>
    <input type=radio name=rtt  onClick="radioClick('r2');"/>Radio 2
    <br>
    <div id=mydiv></div>
    </form>
    </body>
    </html>

  • Getting form field values for radio button

    Hello to the forum.
    I have a form in which I want to control the value selected in a radio buttons field on whether to allow access to another field.
    I can't find info neither here nor in the examples.
    Anybody know how to do?
    Thank in advance.

    Hi,
    You can use the change event of the radio button list.
    Select the readio button list exclusion group, in script editor select the "change" event. As an example if we have two selections "aa" and "bb" which have values 1 and 2 respectively.
    You can write this Javascript code to change event.
    if(this.rawValue == 1)
    xfa.host.messageBox("aa");
    else if(this.rawValue == 2)
    xfa.host.messageBox("bb");
    Hope helps,
    Asiye

Maybe you are looking for

  • Recovery disk

    Purchased a TouchSmart Sleekbook Envy in the US but living in Australia.  Laptop developed a problem in Australia - would not start.  Repaired by an  HP authorised repair centre under guarantee but have been told by repairer that we need to buy the U

  • Problem with the sound?

    First of all, ENGLISH ISNT MY PRIMARY LANGUAGE, SORRY FOR THE SPELLING MISTAKES: Hi, i bougth my mac a couple of days ago and it works just perfect. I had a little problem with the audio and i want to know if its normal or i should be worried about i

  • Changing custom brush colors

    Hello, I am new to thins community:-) Im fairly new to AI, just teaching myself as I go. I got a job making logos but I've only taken a class on CS5. Thats the extent of it lol... Anyways I just watched the video on how to make your own brushes with

  • Google cooke dismiss notice won't go away.

    Recently I find that the Google cookie notice keeps coming back. Cookies are enabled, although my settings are that these and history are deleted on closing Firefox. This means I have to click the dismissal notice once in a new browsing session, whic

  • Validating members:Subscript out of range

    Hi there. I have a logic that runs the validations but when i run it it says: "ExecuteBaseLogic:: 1 errors writing data Validating members:Subscript out of range" I looked at the logs and it is not really helpfull Could someone guide me where to look