We are facing an issue where, when we remove a controlling field value of a field dependency the, the dependent field which was earlier filled gets hidden from the metadata but still remains on the auto generated form with tokens.
- Controlling field Name: Countries. When Country = Other, a dependent field "Specify Other Country" becomes required.
- When user selects Country = Other and enters a value for "Specify Other Country" and saves the document. The form generates the values.
- Now user goes and changes the value of Country and thus "Specify Other Country" gets hidden but still has a value. When the doc is saved "Specify Other Country" is not visible in metadata but appears in the form.
The dependent field should be wiped out automatically.