Hide the text input filed when single choice quest...
# 🤝help
i
Hi Y'all! Was wondering if anyone knew how to hide the raw text input filed in the chatbox when single choice questions and any other question where you want the user to click an answer has been asked. Botpress does a good job of recognizing the answers if they are typed in but its not always perfect and I want the user to have to click a bubble to move one. In the picture you can see that a question was asked the requires a user to click one of the bubbles but the text filed is still being shown (circled in red). Thats what I want hidden. Thanks!

https://cdn.discordapp.com/attachments/1135973472133185548/1135973472280002670/image.png

f
Hi, why don't you use the CSS to change it's style to disabled?
i
Well there is a point in the flow where the user can enter in open ended questions. So it would need to be visible at that point
c
Can we disable in css if there is option to choose otherwise its enabled in other situations?
i
I know enough to figure it out but I need to be pointed in the right direction.
What do ya say? Lets try it out? As a business owner and marketer, leading the user down a path of questions and gathering info so you can then go into more open ended questions is very vital.
b
@famous-jewelry-85388 do you have a JS code we can work on? Hiding the typing section is really important
Otherwise users can type messages and exit the conversation flow
f
@bright-magazine-792 can you guide us here with examples?
b
since this is a duplicate thread. I've replied here https://discord.com/channels/1108396290624213082/1136940886618542100/1137071977241268264 so let's continue the further conversation over there!
i
Hmm this topic has been open far longer. Its a shame the other poster didn't search before they posted. I have a feeling there are hundreds of duplicate questions.
174 Views