Password field¶
A Password field asks the buyer for a code before they can continue. You can check it against a list of codes you set, or against a property on your contacts. Put one in a pre-checkout form to make a private checkout: nothing shows for sale until the buyer enters a correct code.
Who this is for
Hosts running presales, private or invite-only events, sponsor and partner allocations, or anything else that should only be open to people with a code.
Quick steps¶
- Open the form builder and add Password from Input fields.
- Under Check against, pick Codes I set or A contact property.
- Add your codes, or pick the contact property.
- Choose what happens When the code passes.
- Save the form.
Step-by-step walkthrough¶
1. Add the field¶
- Open the form builder for your form, order form, or pre-checkout form.
- In the element picker, open Input fields and click Password.
- In an order form, choose Buyer or Ticket-holders.
2. Choose what to check against¶
Under the Password section of the field's settings, set Check against:
- In Type a code, enter a code.
- Click Add a code, or press Enter.
-
Repeat for each code. Each one shows as a chip you can remove.
-
Codes are case-sensitive.
VIPandvipare different codes. - Spaces at the start and end are removed.
- Up to 50 codes per field, each 1 to 100 characters, and each one different.
- Under Check against contact property, pick a contact Text property.
The buyer's answer must match that property on one of your contacts. Upper and lower case don't matter here, the same as a property check.
3. Set the rest of the field¶
| Setting | What it does |
|---|---|
| Title | The label buyers see, like Presale code. |
| Placeholder | Example text inside the empty box. |
| Helper text | Optional guidance, like where buyers got their code. |
| Required | Always on and can't be turned off. |
| When the code passes | Do nothing more, Apply the typed answer as a promo code, or Apply a promo I pick. |
The promo options work the same as on a property check, and only in a pre-checkout form. See Apply a member ID as a promo.
A Password field never saves to a contact, so it has no CRM properties section.
4. Save the form¶
Make a private checkout¶
When a checkout's pre-checkout form has a Password field, the checkout stays closed until the buyer enters a correct code:
- The buyer sees the form first, under the form's name or A few questions first.
- The cart reads What's available shows after you answer., and no products show.
- Once every password the buyer can see has passed, the checkout opens.
A few details:
- A Password field hidden by conditional logic doesn't block the buyer.
- A passed code lasts for 2 hours after the buyer's last activity and covers one order. After that, they enter it again.
- If you delete the pre-checkout form, the checkout stays closed.
In an order form or standalone form, a Password field doesn't close anything. A wrong code just stops the form from being submitted.
Show different products for different codes¶
With Codes I set, product rules can read which code the buyer used: matched any code or matched a specific code. For example, give sponsors one code that shows a sponsor package, and give the public presale a different code that shows only general admission. Set these rules from each product's menu. See Who sees this rules.
Removing a code from the list doesn't affect rules that use your other codes.
What buyers see¶
The password box hides what they type. An eye icon in the box lets them show or hide what they typed.
| Message | When buyers see it |
|---|---|
| That password doesn't match. Check it and try again. | The code is wrong. The buyer stays on the form. |
| Too many tries. You can try again in 12 minutes. | Too many wrong codes within 15 minutes. The minutes count down. |
| Nothing is available right now. | The code passed, but no products are open to this buyer. |
The same limits on wrong tries apply as for a property check.
Where answers show up¶
The code the buyer typed is saved with their form response. You can see it, unmasked, in the form response table, the order side panel, and exports. It's never saved to the buyer's contact.
Buyers never see your list of codes. It isn't sent to their browser.
Treat responses as containing the codes
Because the typed code shows in responses and exports, anyone on your team who can see form responses can see the codes buyers used.
Troubleshooting¶
A buyer's code isn't accepted
With Codes I set, codes are case-sensitive, so check capital letters. With A contact property, make sure the value is on the contact in the property you picked and the contact hasn't been deleted.
Buyers see no products after entering the right code
The code passed, but no product is open to them. Check the product rules on the checkout. A product set to show only for one code won't show for a different code.
Can I make the password optional?
No. A Password field is always required. To ask only some buyers, use conditional logic to hide the field from the buyers who shouldn't see it.