add fields enable/disable functionality