TypebotT
Typebot3y ago
T.

PrefilledVariables in buttons

Hi Typebot family.

I added a Typebot bubble to my website. Works great, but now I want to add a separate button with a variable prefilled.

How do I prefill a variable in the button below?

<button onclick="Typebot.open()">Contact us</button>

Full code please, I'm a noob.
Was this page helpful?