Disabling filled fields
In a webapp we have a form composed by a select box and some text inputs.
When choosing item from the select box, some of the text inputs will became disabled because "not applicable" and will not be submitted.
If a user had previously filled a field, how can be managed the fact that changing the select item may cause a filled field will not be submitted?
Text typed should be deleted on select change?