Skip to main content
The donation-form widget embeds a fully functional CrowdChange donation form on your website. It can render inline within the page or open as a popup triggered by your own button or link, and it supports a compact basic layout as well as the full layout. New to widgets? Start with the Widgets Overview to add the embed script. CrowdChange donation form widget

Usage examples

Inline donation form

Renders the donation form directly in the page flow.
Replace fundraiser with your fundraiser ID from Step 1 of the overview.
For inline embeds, you can supply your own placeholder by nesting an element marked with data-crowdchange-loading="true" inside the <crowdchange> element. It is shown until the form finishes loading.

A popup needs a trigger — a button or link — to open it. Set target to a CSS selector that matches the trigger.

The basic layout renders a more compact form.

Customize or hide the confirmation icon

Use icon-confirmation to change the icon displayed on the thank-you screen and icon-confirmation-color to set its color. Any Google Material Icons can be used for icon-confirmation value. Example: Using orange star icon:
Image
Using the code below:
Set icon-confirmation to none to hide the confirmation icon:

Supported settings


Apple Pay

Apple Pay is available on donation forms. To display the Apple Pay button, Apple requires that every domain where the donation form is used be registered. This includes top-level domains (example.com) and subdomains (donate.example.com). Note, www is a regular domain that must be registered as well. If your donation form is embedded on multiple websites, domains, or subdomains, each one must be registered before Apple Pay will appear. To enable Apple Pay, please contact your Account Manager or email support@crowdchange.co with the complete list of domains where your donation forms are hosted.
Last modified on August 4, 2026