I’ve managed to embed as per instructions but the button design is way off the button design of the main site.
Is there a way to embed the form as a pop-up but do so with a button in keeping with the site design?
I’ve managed to embed as per instructions but the button design is way off the button design of the main site.
Is there a way to embed the form as a pop-up but do so with a button in keeping with the site design?
Best answer by mathio-tf
Hello
yes, you can attach the popup functionality to any button on your website if you dont mind getting your hand dirty with some HTML 😃
You can skip the embed snippet from share page and use Typeform Embed SDK directly:
<script src="//embed.typeform.com/next/embed.js"></script>
data-tf-popup="<form-id>"
attribute to your buttondata-tf-size="75"
to make it smaller)You final HTML code should look something like this:
<button
class="my-fabulous-button"
data-tf-popup="<form-id>"
data-tf-size="75"
>click me</button>
<script src="//embed.typeform.com/next/embed.js"></script>
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.