getForm( )


Retrieves a new registration form for a specified event.

getForm() retrieves the information 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: 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 get a registration form for.

Returns
Return Type:Promise<Form>
Errors

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

Did this help?