If the invalidated element is select, do not show error message.