# Form deactivation inside validate function

**URL:** <https://forum.rasa.com/t/form-deactivation-inside-validate-function/14435>\
**Category:** Rasa Open Source\
**Created:** [August 17, 2019, 3:08pm UTC](https://forum.rasa.com/t/form-deactivation-inside-validate-function/14435 "2019-08-17T15:08:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mac\_71128](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mac\_71128](https://forum.rasa.com/u/mac_71128)\
**Post date:** [August 29, 2019, 11:03am UTC](https://forum.rasa.com/t/form-deactivation-inside-validate-function/14435/3 "2019-08-29T11:03:39Z")

</div>

Yes, `if not slot_values:` means that your user didn’t provide the requested information so the value of `slot_to_fill` ( slot\_to\_fill or the value of `requested_slot` slot) is None.

When the user doesn’t provide the requested information, an ActionExecutionRejection will raise and rasa will try to predict another action but this form remains active and the value of `requested_slot` slot remains the same. Rasa continues its path but It always waits for the value of `requested_slot` to finish the form and deactivate it. Until that time you can not activate another form.

I want to be able to deactivate the form. I don’t want to get the value of `requested_slot` slot form user anymore. So, I tried to deactivate this form by `tracker.active_form = {}` and tell rasa to move on and stop waiting for the value of `tracker.slots["requested_slot"]`. But this is not the right way to achieve this goal.

---

_[View the full topic](https://forum.rasa.com/t/form-deactivation-inside-validate-function/14435)._
