Retrieves an event registration form (both the draft and published versions).
function getForm(eventId: string): Promise<Form>;
Event ID to which the form belongs.
import { forms } from "@wix/events";
async function getForm(eventId, options) {
const response = await forms.getForm(eventId, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.