Skip to main content

Use Short Codes to Add Custom Data to Each Ticket

Add your attendee's response to a multiple choice field directly onto their ticket using ticket short codes

Written by Phillip

In TicketSpice, you can display an attendee's response to a multiple choice field directly on their issued ticket using Ticket Short Codes. This is useful when you need important attendee selections, such as a meal choice or t-shirt size, to appear on the ticket for easy reference.

In this article, you'll learn how to add a multiple choice field, copy its reference key, and insert it into your ticket design so each attendee's selection is automatically printed on their ticket.

Jump To...

Add a Multiple Choice Field

Note: Ticket Short Codes only work with ticket-level multiple choice fields. The multiple choice field must be added to the ticket (not the order).

  • From the Pages screen, click the pencil icon on the page you want to edit

  • Scroll to the ticket block

  • Find the ticket level where you want to add the multiple choice field

  • Click Add a Question if you haven’t added a question yet. If there's already a field on the ticket level, hover over the field and click the green + icon to add a new question

  • Add the Multiple Choice field

  • Customize the Label as desired

  • Toggle the Required field to Yes or No

  • Toggle the Financial Options field to Yes or No

  • Adjust the Display As settings

    • Dropdown shows your multiple choice options as a dropdown. This option only allows attendees to select one option

    • Radios displays your multiple choice options as radios. This option only allows attendees to select one option

    • Checkboxes displays your multiple choice options as checkboxes. This option allows attendees to select more than one option

  • Click Add Choice to add the option(s) from which your attendees can select, and customize as desired

    • Name: the title of the multiple-choice option

    • Description: a sub-text on your multiple choice option

    • Set as Default: this toggle allows you to select a specific multiple choice field by default

    • Limited Supply: this toggle limits the amount of attendees who can select a specific option

    • Visible: this field makes the field invisible on the live page. We only recommend using this option when utilizing our Pre-Fill URL feature

  • Click Done

  • Click Save Now in the upper-right corner of your page to save your changes. Click Publish to publish these changes to your live page


Copy the Reference Field

  • Find your multiple choice field

  • Click the pencil icon to edit the field

  • Click Advanced Options

  • Copy the Reference Key

Note: The Reference Key is case-sensitive. To avoid errors, we recommend copying and pasting the Reference Key rather than typing it manually.


Add the Ticket Short Code

  • From the Pages screen, click the pencil icon on the button

  • From the top menu bar, select Tickets

  • Click under the ticket level title. Enter any information you want to appear before the attendee's multiple choice selection

  • Insert the reference key in square brackets by typing [, pasting the reference key from the multiple choice field, and typing ]

  • Click Save Now in the upper-right corner of your page to save your changes. Click Publish to publish these changes to your live page

Example: In this example, the ticket short code should read [allergies]

Note: You can include multiple Ticket Short Codes on the same ticket. For example, if you have both a Food Choice field and an Add-On field, you can display both selections by adding their short codes, such as [foodChoice][addOn].


Attendee Experience

On the issued ticket, the attendee will see the text you entered, followed by the selection they made in the multiple choice field.


FAQs

Which fields support Ticket Short Codes?

Ticket Short Codes only work with ticket-level multiple choice fields. To display an attendee's selection on their ticket, the multiple choice field must be added as a question for each ticket, not as an order-level field.

Is the Reference Key case sensitive?

Yes, the Reference Key is case sensitive.

Did this answer your question?