1
0
-1

If a checkbox / radiobutton is selected and due to business rule if it has to be hidden then the Checkbox / radio button should get automatically not selected. Currently we need to write a code to specifically to set its rawValue as false etc. Kindly suggest.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Prashanta,

      In Properties tab of the component, Data menu (advance mode enable), there's an option called Data Clearing Policy. "Clear if not visible"  might be the functionality you are looking for.


      Kind regards,

      Julio.

      1. prasantha

        Hi Julio,

        Thanks for the quick reply, highly appreciated.

        That helped me a lot..

         For few it didn't work but when investigated along with what you suggested under the visibility section there was another option which has to be set to "when hiding Clear data".

        Then it worked.

        Regards,

        Prasantha.

      2. prasantha

        Hi Julio,


        Next hurdle is, even after the above settings done for a checkbox

        1) Parent is checked and then the Child

        2) Parent alone is unchecked

        3) when the Parent is checked again, the child still preserves the Tick / selection.

        Could you please suggest any solution.


        Thanks and Regards,

        Prasantha.

      3. Julio Berrueco

        Hi Prashanta,

        How is the structure you used? is it a radio button group? How are parent and child related?

        Worst scenario we might need to use a business rule in visibility for the child.


        Kind regards,

        Julio.

      4. prasantha

        Hi Julio,

        You are right the structure is the issue here and when I applied the logics onto the child it worked perfectly fine. Appreciate a lot on your help time and again (smile) 


        Regards,

        Prasantha.


      CommentAdd your comment...