Add to the form element's classList instead of replacing its className.