Made  changes to enable text field with checkbox