Add validation states style to form