# onHide function in NgClient

**URL:** <https://forum.servoy.com/t/onhide-function-in-ngclient/20034>\
**Category:** Classic Servoy\
**Created:** [July 12, 2019, 10:20am UTC](https://forum.servoy.com/t/onhide-function-in-ngclient/20034 "2019-07-12T10:20:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wvitpr](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@wvitpr](https://forum.servoy.com/u/wvitpr)\
**Post date:** [July 12, 2019, 10:20am UTC](https://forum.servoy.com/t/onhide-function-in-ngclient/20034/1 "2019-07-12T10:20:43Z")

</div>

Hi,  
Can I use the onHide() event and return false to stop a user from moving off a form in NgClient?, I know it worked well in smart client.

---

<div class="post-metadata">

**Author:** ![Andrei\_Costescu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Andrei\_Costescu](https://forum.servoy.com/u/Andrei_Costescu)\
**Post date:** [July 22, 2019, 6:43am UTC](https://forum.servoy.com/t/onhide-function-in-ngclient/20034/2 "2019-07-22T06:43:10Z")

</div>

Yes. Did you find a situation where it does not work as expected or just asking?
