# Newly added events for validation

URL: https://shoptet.dev/news/frontend/newly-added-events-for-validation

April 6, 2020 · One min read
Pavel Husa

There are three new custom events to help you to interact with Shoptet validation scripts. Events are called `ShoptetValidationTransform` , `ShoptetValidationWarning` and `ShoptetValidationError` .

`ShoptetValidationTransform` is fired when input value is transformed (e.g. uppercase of first letter), `ShoptetValidationWarning` is fired in case of non blocking error and finally `ShoptetValidationError` is fired when form element contains blocking error and is not possible tu submit form.

Each of events mentioned above is fired on currently validated input.

List of all custom events is available under `shoptet.scripts.availableCustomEvents` .

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