FreemiumProBusinessEnterprise

Conditional Logic: Show/Hide Fields

What Is Conditional Logic

Conditional logic allows you to dynamically show and hide form fields based on the attendee's answers. Instead of a long static form, the attendee sees only the fields that are relevant to them.

Example: the "Company name" field appears only if the "Status" field is set to "Organization representative".

Rule Types

show_if — Show If

The field is hidden by default and appears when the condition is met.

Use when a field is needed only in certain cases:

  • "Room number" is shown if a ticket with accommodation is selected
  • "Dietary requirements" is shown if the "Meals" option is checked

hide_if — Hide If

The field is visible by default and is hidden when the condition is met.

Use when a field is needed by most attendees, except in certain cases:

  • "Delivery address" is hidden if the attendee selects "Pickup"

Supported Conditions

Conditions are set based on the values of other form fields.

Source Field TypeAvailable Operators
Dropdown (select)equals, not equals
Radio buttons (radio)equals, not equals
Checkbox (checkbox)checked, unchecked
Text field (text)filled, empty
Number field (number)equals, greater than, less than

How to Set Up Conditional Logic

  1. Open the event → "Registration" tab → form builder.
  2. Select the field you want to add a condition to.
  3. In the field settings panel, find the "Conditional logic" section.
  4. Click "Add condition".
  5. Choose:
    • Rule type: "Show if" or "Hide if"
    • Source field (which field the decision is based on)
    • Operator (equals, not equals, filled, etc.)
    • Comparison value
  6. Save the form.

Multiple Conditions

You can add multiple conditions to a single field. All conditions are combined with logical AND — the field is shown (or hidden) only if all conditions are met simultaneously.

Reset on Hide — Value Reset

When a field is hidden by conditional logic, its value is automatically reset. This ensures data correctness:

  • The attendee selected "With meals" — the "Dietary requirements" field appeared, the attendee entered "Vegan"
  • The attendee changed their mind and selected "Without meals" — the field was hidden, the "Vegan" value was deleted
  • Result: dietary requirements for an attendee without meals will not end up in the database

Backend Validation

The backend is the single source of truth for validation. When processing the form, the server:

  1. Receives all values sent by the client
  2. Recalculates conditional logic based on the received values
  3. Completely ignores fields that should be hidden according to the rules
  4. Validates only visible fields

This protects against client-side manipulation and ensures data consistency.

Recommendations

  • Don't create overly deep chains (more than 3 levels) — this complicates the form for attendees
  • Test all condition branches before publishing
  • Use the preview mode to ensure the logic works correctly
  • Remember: hidden required fields do not block form submission

Frequently asked questions

Are hidden fields validated?
No. If a field is hidden by conditional logic, it is not validated and its value is not sent to the server. The backend completely ignores hidden fields when processing the form.
What happens to the data in a hidden field?
When a field is hidden, its value is reset (reset on hide). If an attendee filled in a field, then changed their answer so the field became hidden, the entered data is deleted.
Can I build chains of conditions?
Yes. Field A can show field B, and field B can show field C. The chain is processed sequentially: if the condition for B is not met, C will also be hidden.
Does conditional logic work in the widget on an external site?
Yes. Conditional logic works identically across all channels: on the tikento site, in Telegram Mini App, and in the embed widget.