changes color of textboxes appropriately

greys out when its supposed to and fills white when its supposed to