Modifying button

Hi there,

I use drip.com for email marketing automation. I want to make a popup with their form tool. As a hyperlink this is very easy: I just use this code:

<a href="https://www.getdrip.com/forms/210122820/submissions/new" data-drip-show-form="210122820">Show form</a>

However, I’m struggling with your button tool.

How can I get data-drip-show-form=“210122820” into the button code to trigger the modal window instead of a new window?

Hello @TaylorShearer,

Thanks for writing in!

Regretfully you cannot add data attributes to the button element. I will just suggest that you use this code instead:

<a class="my-button x-btn x-btn-regular" href="https://www.getdrip.com/forms/210122820/submissions/new" data-drip-show-form="210122820">Show form</a>

The link code will be displayed like a button with default button styles. If you want to change the styles, simply go to X > Theme Options > Buttons.

Hope this helps. Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.