Setting property on radio button status

Hello guyz,
I am using oracle form 6i and new to it.
I am having three radio buttons ACCEPT, HOLD and CANCEL. When the user selects the ACCEPT radio button, once the state of radio button is saved on a button press(the code already written and working)to ACCPET, the user should not be able to make any changes to the status of radio buttons for that current form session and the next form session post querying.
While the user can make changes to the state of radio buttons, if the radio buttons are on HOLD or CANCEL respectively for the current form session and the next form session post querying.
Please help as it is urgent.

If I understand this correctly, then this is the same as: once you selected ACCEPT, you cannot change it anymore. At least, that is what I make of the bit cryptic " the next form session post querying.".
So, you just make the item non-updatabe when the value is ACCEPT. Of course, this will only work if the item is based on a column. Otherwise, you have no way of saving the state for another session.

Similar Messages

  • How to set value for radio button in sap crm survey suite

    Hi ,
    I created a survey in CRM Service, in which I added a question with answer as '10 Selection Button Group ('radio button'). And answer has 11 answer options (which means 11 radio buttions). Now when we test the survey, the value for the radio buttons is appearing like 'id_0050569b03091ee480a29d8ee61e953c'. But i want to set a specific value for each radion button (from 1 to 11). So, how to set value for radio button in sap crm survey suite???.
    Thanks & Regards,
    Seshu

    Hi,
    I found solution myself. Click on Goto -> Editing Mode -> Expert Mode. Now you can set value for radio button.
    Regards,
    Seshu

  • Setting/Clearing Dynamic Radio Button values

    Hi, i have the following Radio buttons defined within an iteration
    <c:forEach items="${searchresults}" var="post" varStatus="status">                                        
         <tr class = "text_results"> 
              <c:url value="/searchposts.do" var="url">
                   <c:param name="postitle" value="${post.postId.postTitle.title}"/>
                   <c:param name="postcode" value="${post.postId.postTitle.code}"/>                    
                   <c:param name="unitcode" value="${post.postId.units.unitCode}"/>
                   <c:param name="auth" value="${post.postId.auth}"/>
              </c:url>
              <td>
                   <a href='<c:out value = "${url}" />'>                                        
                   <c:out value="${post.postId.postTitle.title}"></c:out></a>
              </td>
              <td><c:out value = "${post.mustering}"/></td>  
              <td><c:out value = "${post.rank}"/></td>  
              <td>
                   <html:radio property="incmbt" 
                        value='${post.postId.postTitle.title}'>
                   </html:radio>                                             
                   <a href = "javascript:unCheckRadio(document.searchForm.incmbt)">
                        clear
                   </a>
              </td>                                             
         </tr> 
    </c:forEach>  The property "incmbt" is declared as a form property (String incmbt) with its getters and setters ... i plan to set each radio button with a value from database within an object called post. The actual value to set for each radio is a post title ... I seem to be getting a NULL value when i try to get the value in action class (form.getIncmbt() yields null) ... Am i assigning the value correctly?
    Further, here's is how i clear the values which seems to work
    Javascript
    function unCheckRadio(btngrp) {     
         for(var i=0; i < btngrp.length; i++)
              if( btngrp.checked == true ) {
                   btngrp[i].checked = false;
                   document.write("Selected Radio is :" + btngrp[i].value);
    But the "Selected Radio is :" displays "${post.postId.postTitle.title}", not the actual post title... ???

    I just thought about this quickly, i think its because an href link does not submit form values ... If so, how can i submit the value of a radio button through the <c:param/> tag or any other way after clicking the href link to submit the form?

  • How to change the colour of text property in Radio button?

    Hello All,
    I am having some radio buttons in my application. i want to change the colour of text property by default it is black.
    Could any one please suggest me how to do it?
    Thanks in advance.

    Currently you cannot, it is a known (and hopefully reported, and at least addressed for next version) bug (or limitation, as they rushed to get the components out before JavaOne...).
    People reported they just put an empty text and put a label beside the component. Ugly workaround (bad when the component will be complete) but if it works... :-)

  • How to set column in radio button?

    hi
    HtmlSelectOneRadio radio = new HtmlSelectOneRadio();
    radio.setId("oneRadiolId");
    radio.setBorder(0);
    radio.setImmediate(immediate);
    radio.setReadonly(true);
    radio.setConverter(new IntegerConverter());
    UISelectItems items = new UISelectItems();
    ArrayList arr = new ArrayList();
    arr.add(new SelectItem("one"));
    arr.add(new SelectItem("two"));
    arr.add(new SelectItem("three"));
    items.setValue(arr);
    radio.getChildren().add(items);     
    i am tring to dispay in single column but it is diplaying in single row , how to display children in single column.please any one help me...

    radio.setLayout("pageDirection");Also see:
    HtmlSelectOneRadio API doc: http://java.sun.com/javaee/5/docs/api/javax/faces/component/html/HtmlSelectOneRadio.html
    h:selectOneRadio TLD doc: http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/h/selectOneRadio.html

  • Using radio buttons to set the value of a text field

    I have a set of three radio buttons on a form (a performance evaluation). If I select the "1" button, I want 1 to populate in the text field. The same goes for "2" and "3"
    I have not been able to code the buttons correctly for this scenario, and can't figure out how to do it.
    From a previous post, I was able to get check boxes to do what I want, but they won't really work because I can't set them so that only one back may be selected.
    Can this be done?
    Thanks!

    The information for this specific case isn't anywhere. The best that you can do is understand what triggers each of the events, then ask yourself which of those triggers are pertinent to your current issue.
    http://help.adobe.com/en_US/livecycle/es/LiveCycle_Designer_Scripting_Basics.pdf ...
    The above link contains a great deal of information regarding how to use scripts within Livecycle Designer. The section that you would be most interested in in order to learn about the available events can be found under "Events >> List of Events".
    You needed to use the initialize event so that the text field would be updated when the document was opened. This ensure that the text field has the value of the default radio button when it is opened for the first time.
    You needed to use the change event so that, when the use selects a different radio button, the text field is updated with the new value.
    That's about it. That PDF file that I link to above is a bit long, but it's a great place to get a good grasp of the basics of scripts.
    If you have any further questions, feel free to ask. =) Have a good one.
    - Scott

  • 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 selection showing panel form

    Hi
    I am using ADf
    using jdev 10.1.3.
    I am having table with radio button aside to that.My requirment is - when i am selecting radio button , panel form should be displayed.
    I changed autosubmit property of radio button to true.
    i have written ontableSelectionChanged method. and put this in selection listener of table.
    please let me know what else i needed to done.
    thanks in advance

    Hi,
    I assume that the radio buttons you mean is the singleTableSelect component. If you set this component to autosubmit=true then the table ets a selection notification for each row selection change. This can be listened for in a selection listener. In this listener you can then choose the panelForm component (that you set up to have its binding attribute pointing to a reference property in teh managed bean the listener is defined in) and set its rendered property to true. In a last step, you get access to teh parent container, the layout component that is the parent of the panelForm, - also through a binding reference - and call
    AdfFacesContext.getCurrentInstance().addPartialTarget(<parent component reference>);
    Frank

  • Default selection of radio buttons in  a table

    Hi
    I have a table which has 3 columns of radio buttons. I want to set one as the default selected one. The radio buttons selected kye property is linked to the sub node of model node. its cardinality is 1:1.I tried doing it through the supply functions, but it throws an error for the cardinality.
    I wrote the following piece of code in the wdModifyView(), but again the same error is displayed
    if (firstTime)
        int size = wdContext.nodeCmpNode_UserRights().size();
        IPrivateAssign_AuthenticationView.ICmpNode_UserRightsNode userright_node = wdContext.nodeCmpNode_UserRights();
         IPrivateAssign_AuthenticationView.INode_AuthorizationNode node = null;
         IPrivateAssign_AuthenticationView.INode_AuthorizationElement element = null;
        for(int i = 0;i<size;i++)
             node = userright_node.nodeNode_Authorization();
              element = node.createNode_AuthorizationElement();
         element.setAuthorization("Read");
         node.addElement(element);
    I changed the cardinality to 0..n, but in this case only the first row comes as enabled with default radio button marked. For 1..n all the rows are enabled but no radio buttons are marked default.
    Can someone please suggest in this regard.
    Thanks & regards,
    Anupreet

    Hello,
    Set the singleton property of the Sub Node (Value Node) to <b>false</b> and cardinality to 1:1.
    Under the Sub Node, create a value attribute "SetRadio" (datatype: String) and bind it to the <i><b>selectedKey
    </b></i> property of the radio button <i>column1</i>.
    Similarly, create a value attribute "DontSetRadio" (datatype: String) and bind it to the <i><b>selectedKey
    </b></i> property of the radio button <i>column2</i>.
    Then write the supply function to set the default selection for a specific column.
    A pointer code is shown below.
    public void supplyRadio(IPrivateTable_OVSCompView.IRadioNode node, 
    IPrivateTable_OVSCompView.IUserListElement parentElement)
        //@@begin supplyRadio(IWDNode,IWDNodeElement)
         IPrivateTable_OVSCompView.IRadioElement
                       radioElem = node.createRadioElement();
             * Set the default radio button column to be selected
            radioElem.setSetRadio(null);
             * Blank out other radio button columns
            radioElem.setDontSetRadio("gbhjd");
         parentElement.nodeRadio().addElement(radioElem);
        //@@end
    Bala

  • Wierd Radio Button Problem

    can we set the value of a radio button at runtime?
    Suppose there are two radio buttons: Yes and No.
    Suppose a user chooses Option1 from a drop down list, then Radio button Yes should be highlighted, if the user chooses Option 2 from the drop down list, then the Radio button No should be highlighted.
    I am trying the following code but its not working:
    if (option.rawValue == Option1)
    radioButton1.rawValue = true;
    else
    radioButton2.rawValue = true;
    Is it the rawValue property of radio button that I should use or something else?
    I am really stuck on this. Any help would be highly appreciated

    It's called RadioButtonList a "group" of radio options.
    In your example, in one RadioButtonList, you have 2 options: Yes and No. You should specify a value for each option in the RadioButtonList's Binding tab.
    By doing this you're able to change the value at run time:
    form1.subform.RadioButtonList.rawValue = "1"; // for Yes option.
    an so on.
    I hope this helpful.
    Diego

  • Determining which radio button is selected

    In my WHEN-RADIO-CHANGED trigger I would like to evaluate which radio button (choice of two) is selected.
    I presumed it would be quite simple to do (as it is in VB - ill risk mentioning those imortal letters), however I can't find any mention of such a procedure in the help files.
    And the get_property procedure doesn't have a property for "selected".
    Any body have any ideas about the best way to check which is selected?
    Regards,

    the value is set in the forms builder (at design time) for each radio-button. Property: [Functional]-[Radio Button Value)
    you get the actual value (only at runtime) of the radio-button-group and not from the radio-buttons. :BLOCKNAME.ITEMNAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Enable/Disable a radio button

    Hi All,
    We have a requirement as below:
    Freezing the radio buttons:Ex: Q.No.6 has 2 radio buttons as "Yes" and "No" and has a sub question say Q.NO# 6A.
    Q.NO# 6A also has 2 radio button as "Yes" and "No" and these should be freezed when ans---"NO" is selected for Q.No.6 and should get unfreezed when ans--> "YES" is selected for Q.No.6.
    For this I am created a VO with a transient variable of type Boolean.
    and using SPEL approach to disable radio buttons of Q.NO# 6A.
    Setting FirePartialAction on radio buttons of Q.NO# 6.
    I am facing some problem in coding:
    My CO is as below:
    In PR:
    DisableradBtnVOImpl vo_radio =(DisableradBtnVOImpl)am.findViewObject("DisableradBtnVO1");
    //vo_radio.executeQuery(); getting NUll pointer exception here as there is no query
    // Row requestRow_radio = vo.createRow();
    // vo.insertRow(requestRow_radio);
    requestRow_radio.setNewRowState(Row.STATUS_INITIALIZED);
    requestRow_radio.setAttribute("disableRadioButton5",Boolean.TRUE);
    OAMessageRadioButtonBean radio6= (OAMessageRadioButtonBean)pageContext.getPageLayoutBean ().findChildRecursive("rad61");
    oracle.cabo.ui.action.FirePartialAction FireAction_radio = new oracle.cabo.ui.action.FirePartialAction ();
    FireAction_radio.setEvent("enable6");
    FireAction_radio.setUnvalidated(true);
    radio6.setPrimaryClientAction(FireAction_radio);
    how will I use setAttribute().
    please guide me.
    Akshata

    Hi Prince,
    My PR code is below:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    System.out.println("****Wel come Page 2******");
    boolean isLoggingEnabled = pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT);
    String custName = pageContext.getParameter("customerName");
    String custNumber = pageContext.getParameter("customerNumber");
    String custId = pageContext.getParameter("customerId");
    Number numValue=null;
    try
    numValue = new Number(custId);
    catch(SQLException e)
    e.printStackTrace();
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    checkListVOImpl vo =(checkListVOImpl)am.findViewObject("checkListVO1");
    if(!vo.isPreparedForExecution())
    vo.executeQuery();
    // DisableradBtnVOImpl vo_radio =(DisableradBtnVOImpl)am.findViewObject("DisableradBtnVO1");
    OAMessageRadioButtonBean radio6= (OAMessageRadioButtonBean)pageContext.getPageLayoutBean().findChildRecursive("rad61");
    oracle.cabo.ui.action.FirePartialAction FireAction_radio = new oracle.cabo.ui.action.FirePartialAction ();
    FireAction_radio.setEvent("enable6");
    FireAction_radio.setUnvalidated(true);
    radio6.setPrimaryClientAction(FireAction_radio);
    String pageSave=pageContext.getParameter("OnClickSave");
    if((pageSave== null)|| "".equals(pageSave))
    Row requestRow = vo.createRow();
    vo.insertRow(requestRow);
    requestRow.setNewRowState(Row.STATUS_INITIALIZED);
    requestRow.setAttribute("CustomerName", custName);
    requestRow.setAttribute("CustomerNumber", custNumber);
    requestRow.setAttribute("CustomerId", numValue);
    requestRow.setAttribute("EnableRadio6",Boolean.TRUE);
    System.out.println("**************r1**********************");
    OAMessageRadioButtonBean yesRadio1 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad11");
    yesRadio1.setName("Resp1");
    yesRadio1.setValue("Y");
    OAMessageRadioButtonBean noRadio1 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad12");
    noRadio1.setName("Resp1");
    noRadio1.setValue("N");
    noRadio1.setSelected(true);
    System.out.println("**************r2**********************");
    OAMessageRadioButtonBean yesRadio2 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad21");
    yesRadio2.setName("Resp2");
    yesRadio2.setValue("Y");
    OAMessageRadioButtonBean noRadio2 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad22");
    noRadio2.setName("Resp2");
    noRadio2.setValue("N");
    noRadio2.setSelected(true);
    System.out.println("**************r3**********************");
    OAMessageRadioButtonBean yesRadio3 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad31");
    yesRadio3.setName("Resp3");
    yesRadio3.setValue("Y");
    OAMessageRadioButtonBean noRadio3 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad32");
    noRadio3.setName("Resp3");
    noRadio3.setValue("N");
    noRadio3.setSelected(true);
    System.out.println("**************r4**********************");
    OAMessageRadioButtonBean yesRadio4 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad41");
    yesRadio4.setName("Resp4");
    yesRadio4.setValue("Y");
    OAMessageRadioButtonBean noRadio4 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad42");
    noRadio4.setName("Resp4");
    noRadio4.setValue("N");
    noRadio4.setSelected(true);
    System.out.println("**************r5**********************");
    OAMessageRadioButtonBean yesRadio5 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad51");
    yesRadio5.setName("Resp5");
    yesRadio5.setValue("Y");
    OAMessageRadioButtonBean noRadio5 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad52");
    noRadio5.setName("Resp5");
    noRadio5.setValue("N");
    noRadio5.setSelected(true);
    OAMessageRadioButtonBean yesRadio5A = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5A1");
    yesRadio5A.setName("Resp5A");
    yesRadio5A.setValue("Y");
    OAMessageRadioButtonBean noRadio5A = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5A2");
    noRadio5A.setName("Resp5A");
    noRadio5A.setValue("N");
    noRadio5A.setSelected(true);
    OAMessageRadioButtonBean yesRadio5B = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5B1");
    yesRadio5B.setName("Resp5B");
    yesRadio5B.setValue("Y");
    OAMessageRadioButtonBean noRadio5B = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5B2");
    noRadio5B.setName("Resp5B");
    noRadio5B.setValue("N");
    noRadio5B.setSelected(true);
    OAMessageRadioButtonBean yesRadio5C = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5C1");
    yesRadio5C.setName("Resp5C");
    yesRadio5C.setValue("Y");
    OAMessageRadioButtonBean noRadio5C = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5C2");
    noRadio5C.setName("Resp5C");
    noRadio5C.setValue("N");
    noRadio5C.setSelected(true);
    OAMessageRadioButtonBean yesRadio5D = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5D1");
    yesRadio5D.setName("Resp5D");
    yesRadio5D.setValue("Y");
    OAMessageRadioButtonBean noRadio5D = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5D2");
    noRadio5D.setName("Resp5D");
    noRadio5D.setValue("N");
    noRadio5D.setSelected(true);
    // requestRow_radio.setAttribute("disableRadioButton5",Boolean.TRUE);
    System.out.println("**************r6**********************");
    OAMessageRadioButtonBean yesRadio6 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad61");
    yesRadio6.setName("Resp6");
    yesRadio6.setValue("Y");
    OAMessageRadioButtonBean noRadio6 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad62");
    noRadio6.setName("Resp6");
    noRadio6.setValue("N");
    noRadio6.setSelected(true);
    OAMessageRadioButtonBean yesRadio6A = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad6A1");
    yesRadio6A.setName("Resp6A");
    yesRadio6A.setValue("Y");
    OAMessageRadioButtonBean noRadio6A = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad6A2");
    noRadio6A.setName("Resp6A");
    noRadio6A.setValue("N");
    noRadio6A.setSelected(true);
    System.out.println("**************r7**********************");
    OAMessageRadioButtonBean yesRadio7 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad71");
    yesRadio7.setName("Resp7");
    yesRadio7.setValue("Y");
    OAMessageRadioButtonBean noRadio7 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad72");
    noRadio7.setName("Resp7");
    noRadio7.setValue("N");
    noRadio7.setSelected(true);
    System.out.println("**************r8**********************");
    OAMessageRadioButtonBean yesRadio8 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad81");
    yesRadio8.setName("Resp8");
    yesRadio8.setValue("Y");
    OAMessageRadioButtonBean noRadio8 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad82");
    noRadio8.setName("Resp8");
    noRadio8.setValue("N");
    noRadio8.setSelected(true);
    if (isLoggingEnabled)
    pageContext.writeDiagnostics(numValue, "customerId", OAFwkConstants.STATEMENT);
    if (isLoggingEnabled)
    pageContext.writeDiagnostics(custName, "customerName", OAFwkConstants.STATEMENT);
    if (isLoggingEnabled)
    pageContext.writeDiagnostics(custNumber, "customerNumber", OAFwkConstants.STATEMENT);
    }

  • Assigning a function code to radio button in 4.5B

    I’ve a requirement wherein I need to trigger the PAI event in a module pool program when I select a particular radiobutton in a group and do some processing subsequently.
    For this I need to assign a function code to the radiobutton group.
    But the function code field is disabled for input in the properties screen of the layout. Our client system is SAP 4.5B.
    I am able to assign function codes to radio button groups in esuides(4.6C) and other systems.
    I want to know whether we can assign a function code at all to a radio button group in version 4.5B.
    If so, please tell me how to do this.
    With regards,
    ramu.

    Hi,
    we can't assign function codes to radio buttons.
    for assigning some code to radio button.check the radio button status.
    in PAI.
    if RAD1 = 'X'.
    xxxxxxxxxxx.
    xxxxxxxxx.
    elseif RAD2 = 'X'.
    xxxxxxxxx.
    xxxxxxxxxxxx.
    endif.
    regards,
    bharat.

  • How do I create radio buttons which hide certain fields when selected?

    I have a set of two radio buttons, "Yes" and "No"
    When the "Yes" radio button is selected, I would like the "Bank Name", "Branch Number", "Institution Number" and the "Account Number" field to all be blocked from entering content into them.
    When the "No" button is selected, I would like for all of these fields to be available to be written in.
    I can do this currently with check boxes, but the problem with those is that both boxes can be checked at the same time, which is problematic.
    How can I make it so that the radio buttons control whether or not the fields can be written in!
    Thanks very much!

    Yes, I have done this. The buttons are mutually exclusive. The are in the group "Vendor EFT" - one is named "Yes", one is named "No".
    When the "Yes" radio button is selected, I would like the "Bank Name", "Branch Number", "Institution Number" and the "Account Number" field to all be blocked from entering content into them.
    When the "No" button is selected, I would like for all of these fields to be available to be written in.
    Not sure what code needs to be written for this.

  • How do I uncheck a radio button

    I have a set of three radio buttons:
    Field type: exclusion group
    Value type: User entered optional, Default: none
    When one accidentally checks one of these buttons, it cannot be unchecked - or at least so it seems.
    The question is: Does anyone know of a way to make the checkmark disappear, for example by clicking one more time in the checked button?
    I think that this is a common problem and that somewhere in the Livecycle button settings there is something that I have overseen, but I cannot find the solution!
    I am not expierienced with javascript, but if that is what it takes I'm a fast learner.
    Thanks in advance!

    You woudl have to execute a command to reset the RadioButtonList. The command is xfa.host.resetData("the name of the RadioButtonList")
    Now you will need some way for the user to indicate this to you ....you can have a button on the form beside the radiobuttons to reset them  and that code can go on the click event of that button.
    Hope that helps
    Paul

Maybe you are looking for