Launch Optimized Donation Forms from Buttons

You can launch an Optimized Donation form from a button or other HTML element, such as an image. To make this process easier, the code you copy contains an HTML button and the custom data-blackbaud-optimized-form-id property. In the code, you can change the element to a different one to launch the form. Don't change the custom property because it is unique to the form.

To copy the code for a button:

  1. From Online Giving, Donation forms, select an Optimized Donation Form.

  2. From Publish, select Button.

  3. Select Copy.

    Tip: This HTML tag displays a button to open the form, and you can change "Donate" in the HTML tag if you prefer different text on the button. You can also use a different HTML element, such as <img> to open the form from an image. Don't make changes to the custom property because it is unique to this form.

  4. Paste the code in the webpage where you want the button to appear.