Updates draft form messages, as displayed in the Wix UI before, during, and after the registration flow. Configurable messages include form titles, response labels, "thank you" messages, and call-to-action texts.
function updateMessages(
eventId: string,
options: UpdateMessagesOptions,
): Promise<UpdateMessagesResponse>;
Event ID to which the form belongs.
Optional fields.
import { forms } from "@wix/events";
async function updateMessages(eventId, options) {
const response = await forms.updateMessages(eventId, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.