Booking Contact on tickets

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 8 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22078

    Stephen:

    I am using Attendee Questions to gather name, e-mail and lunch choice.

    Often, the person making the purchase is also one of the attendees, which means they have to enter their name and e-mail twice.

    Can I have one of the tickets prefill with the name and e-mail (defaults from the Booking form)?

    Thanks.

    Greg MacKinnon
    #22111

    Hi Greg,

    Apologies for the delay in responding, this was due to the Easter break.

    You would be able to do this using JavaScript. One way would be to add a button underneath the name/email fields that says ‘Use booking contact details’ and then add a JavaScript event listener to populate the ticket contact details with that of the bookings.

    One way of doing this is to add an element of ‘html’ type as an attendee question and specify the HTML/JavaScript in the html property to create the button.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.