createEventRsvpForm( )


Deprecated

This method is deprecated.

Deprecated: Creates a new RSVP form for the specified event.

Deprecation note: The createEventRsvpForm() function is being deprecated. Use the getForm() function instead.

Use the createEventRsvpForm() function to retrieve the information you need to create a custom RSVP form for a specified event and to submit the form data to register guests for the event.

Retrieve event IDs to specify an event from the Events/Events collection.

Note: The frontend Events APIs aren't functional when previewing a site. View a published version of a site to see their complete functionality.

Method Declaration
Copy
Method Parameters
eventIdstringRequired

ID of the event to create an RSVP form for.

Returns
Return Type:Promise<RsvpForm>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?