Creating forms in custom action in rasa 2.0

My chatbot asks a questionnaire to the user. I want to record the responses of each question as either “Yes” or “No” based on the intent of the user response to each question. How can I implement this in RASA 2.0. The predefined slot mappings do not fulfill my requirement and there is no proper documentation for implementing a form of this kind in custom action. Can anyone help me with this ?

Hi @Sainnath Have you considered validating the form input like described here? You can also find an implemented example in the formbot.

Thanks @anca !! The implemented example helped.