getForm( )


Retrieves an event registration form (both the draft and published versions).

Permissions
Manage Bookings Services and Settings
Manage Events - all permissions
Read Events - all read permissions
Read Events
Manage Events
Access Verticals by Automations
Set Up Automations
Manage Guest List
Manage Portfolio
Manage Restaurants - all permissions
Manage Events
Learn more about app permissions.
Method Declaration
Copy
function getForm(eventId: string): Promise<Form>;
Method Parameters
eventIdstringRequired

Event ID to which the form belongs.

Returns
Return Type:Promise<Form>
JavaScript
import { forms } from "@wix/events"; async function getForm(eventId, options) { const response = await forms.getForm(eventId, options); }
Errors

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

Did this help?