You need to look at the code, and decide where to enable/disable the text box.
Are you using Visual Studio? Step-through the code as it works now, and see when the text box is initialised, and when it is validated, and when the record is saved.
From there you can begin to decide where to add the code to enable/disable the text box.