Hi Team, I would like to understand, how to automatically reset the form sub-field values, when user change the parent input field. Here is a simple example,
- Form has two fields, Country and State which is dynamically populated using Linked record feature
- State field will be shown displayed, only when Country field is not-empty (ie, only when user selects the country, state field will be enabled for selection)
- Once user selects the Country and State, and when we clear the country selection, then automatically state field is getting disappeared as per the condition mentioned in step-2
- When user selects the country again, State field is shown, but with previously selected value
- We do not want this field to show the users previous selection, because user has changed the country , hence we want user to reselect the state freshly and not showing the previous selected value
