Webflow
Add the RSVP widget to a Webflow page with a Code Embed element.
Add it to one page
- In the Designer, open the Add panel and drag a Code Embed element where the form should go.
- Paste:
<script async src="https://cdn.whocoming.com/embed.js"></script>
<whocoming-rsvp event="evt_demo0000000000000001"></whocoming-rsvp>- Replace the event ID with yours, Save and close, then publish.
The Designer canvas does not run scripts, so the widget appears only on the published site or in preview.
Use it on many pages
Put the script tag in Site settings, Custom code, Head code once:
<script async src="https://cdn.whocoming.com/embed.js"></script>Then each Code Embed needs only the element:
<whocoming-rsvp event="evt_demo0000000000000001"></whocoming-rsvp>With a CMS collection
Add a plain text field such as WhoComing event ID to your Events collection. In the collection template, put a Code Embed with the element and insert the field as the event value using Add field:
<whocoming-rsvp event="{{ WhoComing event ID }}"></whocoming-rsvp>Each event page then shows its own RSVP form.
Styling
The widget takes your site's font. Set colors on the element with a class or in the page's custom code:
<style>
whocoming-rsvp {
--wc-accent: #146ef5;
--wc-radius: 8px;
}
</style>See theming.