# How to take anything into form

**URL:** <https://forum.rasa.com/t/how-to-take-anything-into-form/15361>\
**Category:** Rasa Open Source\
**Created:** [September 7, 2019, 5:32am UTC](https://forum.rasa.com/t/how-to-take-anything-into-form/15361 "2019-09-07T05:32:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![behroopiyaa](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@behroopiyaa](https://forum.rasa.com/u/behroopiyaa)\
**Post date:** [September 7, 2019, 5:32am UTC](https://forum.rasa.com/t/how-to-take-anything-into-form/15361/1 "2019-09-07T05:32:25Z")

</div>

Good morning from India @Juste @juste_petr

I have completed the needed chatbot with rasa as per my company expectation. The only thing I am struggling is with name part. I want to do a simple thing I just want to take anything which comes into my database when I ask What is your name? Currently that is not possible cause we need to define slot thing but in the name part it is unable to extract slot everytime. So what i can do is to take anything that comes as a reply of a que what is your name?

But how I can do that with form please guide!!

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [September 9, 2019, 6:18am UTC](https://forum.rasa.com/t/how-to-take-anything-into-form/15361/2 "2019-09-09T06:18:18Z")

</div>

you can do this with the `from_text` slot mapping, see [Forms](https://rasa.com/docs/rasa/core/forms/#custom-slot-mappings)

---

<div class="post-metadata">

**Author:** ![behroopiyaa](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@behroopiyaa](https://forum.rasa.com/u/behroopiyaa)\
**Post date:** [September 9, 2019, 7:14am UTC](https://forum.rasa.com/t/how-to-take-anything-into-form/15361/3 "2019-09-09T07:14:20Z")

</div>

what will be structure of then domain file for slot and stories and this slot mapping will come under actionform class? do i then need required slots function as well?

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [September 9, 2019, 7:52am UTC](https://forum.rasa.com/t/how-to-take-anything-into-form/15361/4 "2019-09-09T07:52:08Z")

</div>

this shuoldn’t affect your stories or domain at all - it’s a method you imlement in your custom action. See [Building contextual assistants with Rasa Forms](https://blog.rasa.com/building-contextual-assistants-with-rasa-formaction/) for more details
