Mark invalid concurrent setting input properly.

This adds a CSS class if the content is invalid.