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.
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.
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.
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,
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.
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