botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
68 stars 83 forks source link

Ignore/Disable User Input for Single Choice Questions #492

Closed thenilaymodi closed 5 years ago

thenilaymodi commented 5 years ago

Using latest botpress and web channel.

How do I disable user input or ignore user input when asking the user a single choice question.

Right now it just moves onto the next node even if the user doesn't answer a question. How do I avoid this?

Thanks!

epaminond commented 5 years ago

There's no option to disable user's input. But you could try ignoring it by checking whether event.text is something you expected from choice-skill. Would it make sense?

thenilaymodi commented 5 years ago

Not using a choice skill. It's the default single response question. Ahh technically I can just make it loop if event.text exists. That may work. Thanks. But there should be a better way to do this.

prathamesh2415 commented 4 years ago

Did anyone find solution yet?