> 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 # GetForm # Package: eventManagement # Namespace: FormBuilder # Method link: https://dev.wix.com/docs/api-reference/business-solutions/events/event-management/form/get-form.md ## Permission Scopes: Read Events: SCOPE.DC-EVENTS.READ-EVENTS ## Introduction Retrieves an event registration form. --- ## REST API ### Schema ``` Method: getForm Description: Retrieves an event registration form. URL: https://www.wixapis.com/events/v1/events/{eventId}/form Method: GET # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: eventId Method parameters: param name: eventId | type: none | required: true Return type: GetFormResponse - name: form | type: Form | description: Event form. Form is visible to site visitors. - 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