Textbox

Hi,

I want to add a textbox inside the chat widget to get name as input from the user. Can we do it using actions? If not any other way possible. Please help me out with this!

Hi @Abi_R,

there are actually several ways to achieve this. An obvious one: did you consider to use the sender_id as a vehicle for the user’s name?

If that’s not an option I recommend making use of Slots since you could treat the click on the submit button (or any other attached event to get the inputs value) as a “normal” user input.

Did that help?

Kind regards Julian

Hi Julain,

I created the slots to store names and it worked well. Thanks for help !

Thank you,

Abi