# Unification of validator message on the 3G – class removal alert

URL: https://shoptet.dev/news/frontend/unification-of-validator-message-on-the-3g-class-removal-alert

April 20, 2021 · One min read
Pavel Husa

To provide more consistent visual feedback when a validation error occurs, we unified the validation error display in all 3G templates.
New class `js-validated-element-wrapper` was added to the input wrapping element already containing `form-group` class. Validation error is now bellow validated input field.
A new included error message will contain both the former `validator-msg` class and the new `js-validator-msg` for a limited amount of time.

## IMPORTANT

`validator-msg` class is now considered DEPRECATED and you SHOULD NOT rely on the class anymore. The class removal will be announced.

**Tags:**
- [Frontend](/news/tags/frontend/)
