# Skip a form question based on user input

**URL:** <https://forum.rasa.com/t/skip-a-form-question-based-on-user-input/62767>\
**Category:** Rasa Open Source\
**Created:** [July 24, 2024, 10:03pm UTC](https://forum.rasa.com/t/skip-a-form-question-based-on-user-input/62767 "2024-07-24T22:03:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GBG7](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gbg7/32/24179_2.png) [@GBG7](https://forum.rasa.com/u/GBG7)\
**Post date:** [July 24, 2024, 10:05pm UTC](https://forum.rasa.com/t/skip-a-form-question-based-on-user-input/62767/2 "2024-07-24T22:05:25Z")

</div>

edit: after reviewing this post, an idea came to mind - to set the slot value to something other than `None`. As such, I modified my class as follows:

```auto
 def run(self, dispatcher, tracker, domain):
        current_slot = tracker.get_slot('requested_slot')
        return [SlotSet(current_slot, 'Skipped')]

```

This fixes the issue, and lets me write custom messages for skipped users.

---

_[View the full topic](https://forum.rasa.com/t/skip-a-form-question-based-on-user-input/62767)._
