getForm( )


Gets a new registration form for the specified event.

Use the getForm() function to retrieve the information you need to create a custom registration form for a specified event.

Retrieve event IDs from the Events/Events collection to specify which event's form to get.

Note: To work with the Wix Events API, you need to publish your site.

Method Declaration
Copy
Method Parameters
eventIdstringRequired

ID of the event to get a registration form for.

Returns
Return Type:Promise<Form>
Was this helpful?
Yes
No