> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # UpdateMessages # Package: eventManagement # Namespace: FormBuilder # Method link: https://dev.wix.com/docs/api-reference/business-solutions/events/event-management/form/update-messages.md ## Permission Scopes: Manage Events: SCOPE.DC-EVENTS.MANAGE-EVENTS ## Introduction Updates a set of defined form messages that are displayed to a site visitor before, during, and after the registration flow. Includes the configuration of form titles, response labels, "thank you" messages, and call-to-action texts. --- ## REST API ### Schema ``` Method: updateMessages Description: Updates a set of defined form messages that are displayed to a site visitor before, during, and after the registration flow. Includes the configuration of form titles, response labels, "thank you" messages, and call-to-action texts. URL: https://www.wixapis.com/events/v1/events/{eventId}/form/messages Method: PATCH Method parameters: param name: fields | type: fields | description: Set of field paths, specifying which parts of this resource to update. When fields are empty, request is interpreted as full update. Behavior follows [google.protobuf.FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask) semantics. param name: messages | type: FormMessages | description: Defines form messages shown in UI before, during, and after registration flow. It enables configuration of form titles, response labels, "thank you" messages, and call-to-action texts. - name: rsvp | type: RsvpFormMessages | description: [RSVP form](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction.md) messages. - name: rsvpYesOption | type: string | description: Label text indicating RSVP's `status` is `"YES"`. - name: rsvpNoOption | type: string | description: Label text indicating RSVP's `status` is `"NO"`. - name: positiveMessages | type: Positive | description: Messages displayed when an RSVP's `status` is set to `"YES"`. - name: title | type: string | description: Main form title for positive response. - name: confirmation | type: ResponseConfirmation | description: Confirmation messages shown after registration. - name: title | type: string | description: Confirmation message title. - name: message | type: string | description: Confirmation message text. - name: addToCalendarActionLabel | type: string | description: "Add to calendar" call-to-action label text. - name: shareActionLabel | type: string | description: "Share event" call-to-action label text. - name: waitlistMessages | type: Positive | description: Messages displayed when an RSVP's `status` is set to `"WAITLIST"`, for when the event is full and a waitlist is available). - name: negativeMessages | type: Negative | description: Messages displayed when an RSVP's `status` is set to `"NO"`. - name: title | type: string | description: Main form title for negative response. - name: confirmation | type: ResponseConfirmation | description: Confirmation messages shown after registration. - name: title | type: string | description: Confirmation message title. - name: shareActionLabel | type: string | description: "Share event" call-to-action label text. - name: submitActionLabel | type: string | description: "Submit form" call-to-action label text. - name: checkout | type: CheckoutFormMessages | description: Checkout form messages. - name: title | type: string | description: Main form title for response. - name: submitActionLabel | type: string | description: Submit form call-to-action label text. - name: confirmation | type: ResponseConfirmation | description: Confirmation messages shown after checkout. - name: title | type: string | description: Confirmation message title. - name: message | type: string | description: Confirmation message text. - name: downloadTicketsLabel | type: string | description: "Download tickets" call-to-action label text. - name: addToCalendarLabel | type: string | description: "Add to calendar" call-to-action label text. - name: shareEventLabel | type: string | description: "Share event" call-to-action label text. - name: registrationClosed | type: RegistrationClosedMessages | description: Messages shown when event registration is closed. - name: message | type: string | description: Message shown when event registration is closed. - name: exploreEventsActionLabel | type: string | description: "Explore other events" call-to-action label text. - name: ticketsUnavailable | type: TicketsUnavailableMessages | description: Messages shown when event tickets are unavailable. - name: message | type: string | description: Message shown when event tickets are unavailable. - name: exploreEventsActionLabel | type: string | description: "Explore other events" call-to-action label text. Return type: UpdateMessagesResponse - name: form | type: Form | description: Modified event form. - name: controls | type: array | description: Nested fields as an ordered list. - name: type | type: InputControlType | description: Field control type. - enum: - INPUT: Single text value field. - TEXTAREA: Single text value field with multiple lines. - DROPDOWN: Single-choice field with predefined values. - RADIO: Single-choice field with predefined values. - CHECKBOX: Multiple-choice field with predefined values. - NAME: Fields for entering first and last names. - GUEST_CONTROL: Fields for additional guests and their respective names. - ADDRESS_SHORT: Single-line address field. - ADDRESS_FULL: Full address field with multiple lines. - DATE: Fields for entering year, month, and day. - name: system | type: boolean | description: Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. - name: inputs | type: array | description: Child inputs. - name: name | type: string | description: Field name. - name: label | type: string | description: Main field label. - name: additionalLabels | type: object | description: Additional labels for multi-valued fields such as address. - name: options | type: array | description: Predefined choice options for fields, such as dropdown. - name: mandatory | type: boolean | description: Whether field is mandatory. - name: maxLength | type: integer | description: Maximum number of accepted characters (relevant for text fields). - name: type | type: ValueType | description: Type which determines field format. Used to validate submitted response. - enum: TEXT, NUMBER, TEXT_ARRAY, DATE_TIME, ADDRESS - name: maxSize | type: integer | description: The maximum number of accepted values for array input. **Note:** Only applicable for `TEXT_ARRAY` input fields. - name: defaultOptionSelection | type: OptionSelection | description: Default option initially selected when an input has multiple choices. Defaults to first (0th) option, if not configured. Currently only applicable for `type.dropdown`. - ONE-OF: - name: optionIndex | type: integer | description: 0-based index from predefined `controls.inputs.options` which is initial selection. - name: placeholderText | type: string | description: Placeholder hint describing expected choices, such as "Please select". Considered an empty choice. - name: labels | type: array