helper for disabling or enabling a group of form inputs and setting _destroy to remove existing records