On November 17, 2025, as part of v4.0.0, Connection Card Pro released our new embedded modal and unified the experience for embedding Custom Forms, Donation Widgets, Event Registrations and (new) Simple Signups into your website for an improved user experience!
Some basic HTML knowledge is required for this tutorial.
Using this simple guide, you'll be able to embed forms into your website in no time!
Locating Embed Codes
<body> tag on your website. Do not alter this code at all. <a> tags) on your website, linking to a Connection Card Pro supported resource (such as event registration, custom form, Simple Signup or donation form), you may style this link however you'd like, the only important part is that the link includes ?use-ccp-modal=true as part of its resource address. This is what triggers our modal to activate when clicked. Once you've completed these steps, you can also try out some of our more advanced but experimental features of this component below:
This is currently only available for custom forms and is still experimental.
You can use the onCompleted callback to trigger something on your website if and when the user completes the custom form. This will only be called if the user actually submits the custom form. (Opening and closing the custom form will not trigger this callback).
To use it, set the value of CCPModalControllerAPI.onCompleted to a function accepting one parameter. See the example below:
<script type="text/javascript" src="https://connectioncardpro.com/js/ccpmodal.js"></script>
<script type="text/javascript">
CCPModalControllerAPI.onCompleted = function(id){
// some code here
};
</script>