https://discord.gg/botpress logo
set focus to input field
# 🤝help
i
I have embedded the bot on my page and I want to set focus to the input field when user clicks an element. Since there is no default id attribute for the textarea field, How can I do this?
p
What do you mean by set focus?
i
The input field should be focused, when you click inside the input field the cursor starts blinking which indicates that user can type something.