1 Reply Latest reply on Apr 14, 2011 6:34 AM by pguerett

    How do I uncheck a radio button

    MikHva

      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!

        • 1. Re: How do I uncheck a radio button
          pguerett Level 6

          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