Skip to main content

Ticketing widget

Individual Visitor Info

Form where the customer can enter the information of all visitors

<enviso-individual-visitor-info form-id="b643677d-dd17-454b-87c5-e15d2c9f0e84" .products="[{'ticket':{'id': 123, 'localizedName':'Demo ticket name'}, 'quantity': 3}]">
</enviso-individual-visitor-info>

Properties

Attribute

Property

Type

Description

form-id

formId

string

The id of the individual form for the visitors

products

products

[Product, number]

A collection of tickets and their associated quantities

Method

  • focus() - Focuses the first visitor form

  • getVisitorFormValues(productId: number) - Gets all form values of a given product id

  • checkValidity() - Validates every visitor form

  • validate() - Validates every visitor form. Deprecated, please use checkValidity instead.

Events

Name

Description

Data

change

When the value of one of the form fields changes

{ [key: string]: any }

Slots

Name

Location

bottom

Bottom

See also