adds support for highlighting valid fields

This will add the success state.