Bookings/Services collection shows Name,Email,Phone in FormField…but I want to capture “number of visitors” field and I have checked all documents on wix bookings but no luck. All I want is just the field id to capture “More than one participant”.
current fields are Name and Email, I want to know Label of "Number of Participants" so I can book for multiple people by one person
let formFields = [{
// Set _id to the ID of the name field.
_id: getFieldId(service, "Name"),
// Set value to the name the user entered.
value: pendingRequest.name
},
{
// Set _id to the ID of the email field.
_id: getFieldId(service, "Email"),
// Set value to the email address the user entered.
value: pendingRequest.email
}
];