# Fill Slot which is not part of a form based on if a particular slot is filled

**URL:** <https://forum.rasa.com/t/fill-slot-which-is-not-part-of-a-form-based-on-if-a-particular-slot-is-filled/54360>\
**Category:** Rasa Open Source\
**Created:** [July 18, 2022, 8:38am UTC](https://forum.rasa.com/t/fill-slot-which-is-not-part-of-a-form-based-on-if-a-particular-slot-is-filled/54360 "2022-07-18T08:38:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbrahamOwos](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/abrahamowos/32/20764_2.png) [@AbrahamOwos](https://forum.rasa.com/u/AbrahamOwos)\
**Post date:** [July 18, 2022, 8:38am UTC](https://forum.rasa.com/t/fill-slot-which-is-not-part-of-a-form-based-on-if-a-particular-slot-is-filled/54360/1 "2022-07-18T08:38:09Z")

</div>

Hi, So I’m trying to fill a slot using custom action/validation when a particular slot in a form gets filled up… i.e fill `slot_2` automatically with the computed zip code gotten from address if `slot_1` has been filled up with the address. I cannot add `slot_2` to the form because I do not need a `ask_slot` response that slot. I tried using `requested_slot: slot_1` when defining `slot_2` but it doesn’t work. Please how do I go about it?

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [July 19, 2022, 3:16am UTC](https://forum.rasa.com/t/fill-slot-which-is-not-part-of-a-form-based-on-if-a-particular-slot-is-filled/54360/2 "2022-07-19T03:16:47Z")

</div>

You can define your own `required_slots` method as described [here](https://rasa.com/docs/rasa/forms/#dynamic-form-behavior).
