In my application I am using map-backed form. I am using it to store responses of the user for one survey based system. For example,
In this example, Question2 will only be displayed if user selects "Yes" answer of Question1.
Now, this captures responses properly and storing it in the map available in the form. But if user changes the response from Yes to No in Question1 then I need to remove response of Question2 from map available in form. Since user had answered Question2 it is still available there.