Rasa button click action

Hi All,

In my bot I have yes or no option buttons - if user clicks either one of the button it’s working properly but if user not click on button and typed some string atthat time it’s not working properly. How can I restrict user to click on the button. note:- I am using FormAction concept for this.


do you want to prevent the user from typing a message? if so you need to implement that logic on the client side, not in Rasa.

If you want Rasa to respond with a message like “Please click one of the buttons” you could modify the logic of the form either by adding a from_text validation Forms

but be aware this would be pretty annoying for the user if they try to type a message like “help” but they always get the same response telling them to click a button