Individual Visitor Info
Form where the customer can enter the information of all visitors
Tagname:
<enviso-individual-visitor-info>
URL:
Production: enviso-individual-visitor-info-element.js
Empty element: No
<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 |
|
Slots
Name | Location |
---|---|
bottom | Bottom |