[SalesForce] How to make field disabled using validation rules

I have two fields checkbox and a textbox field, if the user clicks on the checkbox checked than I want to enable the textbox field otherwise remain disabled.
I'm not sure if this is possible using validation rule and I'm working on a salesforce standard page.

Best Answer

It sounds like your requirement can be stated:

If Checkbox__c is checked, require TextField__c be populated. If Checkbox__c is unchecked, require TextField__c be empty.

You can validate as follows:

Checkbox__c == ISBLANK(TextField__c)

You will still need some user training on the layout itself (it won't enable/disable the input element), but the errors should be self evident to them.