How to display forms?

When user comes to chat I want to display a form to fill

eg. Please fill form below:

Name:

Mobile:

Email:

Is it possible to create like that?

Not exactly. The assistant will ask you several questions to fill a form. For example:

Bot: What is your name?
User: Max
Bot: What is your mobile number?
User 1234567890
Bot: What is your email address?
User: max@mail.com

You can read more about forms here: Forms

1 Like

wow this is good but how to write code. I mean I’m getting errors when I do exactly in the documentation. Can have sample code how it looks like?

You can take a look at our example bot here: rasa/examples/formbot at master · RasaHQ/rasa · GitHub

1 Like