I have an issue that I can’t get my way around. I have form with two slots. For the argument’s sake say it is “color” and “carbrand”. I want all of these different cases to work but I am not sure how to make it happen.
- If user says “I want to see all the red cars” then the bot should list all red cars.
- If user says “I want to see all the BMWs” then the bot should list all the BMWs.
- If user says “I want to see all the green BMWs” the bot should list all the green BMWs.
So the form should handle “color” and “carbrand”. But none of them is mandatory. The form is valid as long as one of slots is filled.
What is the best practice to solve this dilemma? Most documentations I find has bot slots as required and then it’s pretty straight forward. But in this case I coming down short. Should I ValidateForm? Should I use a Custom Action? Don’t know. Help please.
Best regards, /Magnus