1
0
-1

I want to a radio button to be unchecked on double click individually as these radio button group is also multi select radio button

    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      Thanks for your responses!! Multi select radio button is implemented already, the issue being faced is to uncheck an individual radio button. Using sfc.setRawValue would reset the entire group radio button instead of individual. Can you please tell me how is this achievable 

      1. Glenn Crook

        Hi Sana, while your forms in your organisation can use multi-select radio buttons, this is not a standard widget within Composer. This is custom component that has been built for your organisation by the people who developed your templates, styles, other custom components, etc. You will need to contact the people responsible for this work to get this question answered.

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Hi Sana,

      Composer does not support multi-select radio buttons out of the box as radio buttons are by design a single selection mechanism. As Fiona mentioned checkboxes are a better solution that allow you to select any combination that is appropriate. If you are not able to change this control on your form then I would contact the people that designed your form template that included this customisation for assistance and they should be able to give guidance on how to do this. In the general case with radio buttons, clearing a radio is simply a matter of setting the radio button group to a blank value e.g. sfc.setRawValue({rbGroup},"");

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Sana,

        Could you perhaps implement your requirement using a checkbox group, rather than a radio button? Checkboxes are able to be selected or "un-selected" with a click and then you can multiselect as well.

        Cheers!

        Fiona

          CommentAdd your comment...