# How to subscribe to predispatch of registration in Shopware 6 just like shopware 5?

**URL:** <https://forum.shopware.com/t/how-to-subscribe-to-predispatch-of-registration-in-shopware-6-just-like-shopware-5/70101>\
**Category:** Programming (EN)\
**Created:** [8. Oktober 2020 um 07:33 UTC](https://forum.shopware.com/t/how-to-subscribe-to-predispatch-of-registration-in-shopware-6-just-like-shopware-5/70101 "2020-10-08T07:33:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)\
**Post date:** [8. Oktober 2020 um 07:33 UTC](https://forum.shopware.com/t/how-to-subscribe-to-predispatch-of-registration-in-shopware-6-just-like-shopware-5/70101/1 "2020-10-08T07:33:57Z")

</div>

I want to call a function right before the registration process starts in order to check some values from the registration form. In Shopware 5 I would use a predispatch event for that. How to do that in Shopware 6?
