{
  "_template": {
    "slug": "conference-registration-form",
    "name": "Conference Registration Form",
    "version": 2,
    "specVersion": 1,
    "source": "https://www.regform.com/form-templates/conference-registration-form"
  },
  "form": {
    "title": "Conference Registration Form",
    "nav": {
      "mode": "free",
      "backLabel": "Back",
      "nextLabel": "Next",
      "submitLabel": "Register",
      "showProgress": true,
      "validatePerStep": true
    },
    "steps": [
      {
        "id": "step-attendee",
        "title": "Attendee Information",
        "fields": [
          {
            "id": "f-first-name",
            "key": "first_name",
            "type": "text",
            "label": "First Name",
            "required": true,
            "hidden": false,
            "options": []
          },
          {
            "id": "f-last-name",
            "key": "last_name",
            "type": "text",
            "label": "Last Name",
            "required": true,
            "hidden": false,
            "options": []
          },
          {
            "id": "f-badge-name",
            "key": "badge_name",
            "type": "text",
            "label": "Name as It Should Appear on Badge",
            "required": false,
            "hidden": false,
            "options": [],
            "description": "Preferred name, not legal name. Collect it here or field a week of corrections onsite."
          },
          {
            "id": "f-email",
            "key": "email",
            "type": "email",
            "label": "Email Address",
            "required": true,
            "hidden": false,
            "options": [],
            "placeholder": "you@example.com"
          },
          {
            "id": "f-mobile-phone",
            "key": "mobile_phone",
            "type": "phone",
            "label": "Mobile Phone",
            "required": false,
            "hidden": false,
            "options": [],
            "placeholder": "+1 555 0100"
          },
          {
            "id": "f-job-title",
            "key": "job_title",
            "type": "text",
            "label": "Job Title",
            "required": false,
            "hidden": false,
            "options": []
          },
          {
            "id": "f-organization",
            "key": "organization",
            "type": "text",
            "label": "Organization",
            "required": true,
            "hidden": false,
            "options": [],
            "description": "Prints on the badge."
          }
        ]
      },
      {
        "id": "step-pricing",
        "title": "Registration and Pricing",
        "fields": [
          {
            "id": "f-registration-type",
            "key": "registration_type",
            "type": "item_select",
            "label": "Registration Type",
            "required": true,
            "hidden": false,
            "options": [],
            "description": "Replace these tiers and prices with your own, and attach your rate cutoff dates.",
            "pricingMode": "single",
            "hiddenItemIds": [],
            "selectionMode": "single"
          },
          {
            "id": "f-member-id",
            "key": "member_id",
            "type": "text",
            "label": "Member ID",
            "required": false,
            "hidden": true,
            "options": [],
            "description": "Revealed for the member rate so you can verify before badges print."
          },
          {
            "id": "f-days-attending",
            "key": "days_attending",
            "type": "checkbox",
            "label": "Days Attending",
            "required": false,
            "hidden": true,
            "options": [
              {
                "label": "Day 1",
                "value": "Day 1"
              },
              {
                "label": "Day 2",
                "value": "Day 2"
              },
              {
                "label": "Day 3",
                "value": "Day 3"
              }
            ],
            "description": "Revealed for single day passes. Drives catering counts."
          },
          {
            "id": "f-promo-code",
            "key": "promo_code",
            "type": "text",
            "label": "Promo or Group Code",
            "required": false,
            "hidden": false,
            "options": []
          }
        ]
      },
      {
        "id": "step-sessions",
        "title": "Schedule and Sessions",
        "fields": [
          {
            "id": "f-breakout-sessions",
            "key": "breakout_sessions",
            "type": "checkbox",
            "label": "Breakout Sessions",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "Morning breakout A",
                "value": "Morning breakout A"
              },
              {
                "label": "Morning breakout B",
                "value": "Morning breakout B"
              },
              {
                "label": "Afternoon breakout A",
                "value": "Afternoon breakout A"
              },
              {
                "label": "Afternoon breakout B",
                "value": "Afternoon breakout B"
              }
            ],
            "description": "Replace with your program. Cap each session so a full room closes itself."
          },
          {
            "id": "f-track",
            "key": "track",
            "type": "dropdown",
            "label": "Track Preference",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "Leadership",
                "value": "Leadership"
              },
              {
                "label": "Operations",
                "value": "Operations"
              },
              {
                "label": "Technology",
                "value": "Technology"
              },
              {
                "label": "Undecided",
                "value": "Undecided"
              }
            ],
            "multiple": false
          },
          {
            "id": "f-preconference-workshop",
            "key": "preconference_workshop",
            "type": "dropdown",
            "label": "Preconference Workshop",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "None",
                "value": "None"
              },
              {
                "label": "Full day workshop",
                "value": "Full day workshop"
              },
              {
                "label": "Half day workshop",
                "value": "Half day workshop"
              }
            ],
            "multiple": false,
            "description": "Price this as its own cart item rather than folding it into the base rate."
          },
          {
            "id": "f-ticketed-events",
            "key": "ticketed_events",
            "type": "checkbox",
            "label": "Ticketed Events",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "Welcome reception",
                "value": "Welcome reception"
              },
              {
                "label": "Awards dinner",
                "value": "Awards dinner"
              },
              {
                "label": "Golf outing",
                "value": "Golf outing"
              }
            ]
          }
        ]
      },
      {
        "id": "step-travel",
        "title": "Travel and Logistics",
        "fields": [
          {
            "id": "f-housing-block",
            "key": "housing_block",
            "type": "dropdown",
            "label": "Hotel or Housing Block",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "I will book in the room block",
                "value": "I will book in the room block"
              },
              {
                "label": "I have my own arrangements",
                "value": "I have my own arrangements"
              },
              {
                "label": "Not staying overnight",
                "value": "Not staying overnight"
              }
            ],
            "multiple": false,
            "description": "If you run a room block, link out rather than booking rooms inside this form."
          },
          {
            "id": "f-arrival-date",
            "key": "arrival_date",
            "type": "date",
            "label": "Arrival Date",
            "required": false,
            "hidden": false,
            "options": []
          },
          {
            "id": "f-departure-date",
            "key": "departure_date",
            "type": "date",
            "label": "Departure Date",
            "required": false,
            "hidden": false,
            "options": []
          },
          {
            "id": "f-dietary",
            "key": "dietary",
            "type": "checkbox",
            "label": "Dietary Restrictions",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "Vegetarian",
                "value": "Vegetarian"
              },
              {
                "label": "Vegan",
                "value": "Vegan"
              },
              {
                "label": "Gluten free",
                "value": "Gluten free"
              },
              {
                "label": "Dairy free",
                "value": "Dairy free"
              },
              {
                "label": "Nut allergy",
                "value": "Nut allergy"
              },
              {
                "label": "None",
                "value": "None"
              }
            ]
          },
          {
            "id": "f-accessibility",
            "key": "accessibility",
            "type": "textarea",
            "label": "Accessibility Requests",
            "required": false,
            "hidden": false,
            "options": [],
            "placeholder": "Optional"
          },
          {
            "id": "f-emergency-contact",
            "key": "emergency_contact",
            "type": "text",
            "label": "Emergency Contact Name and Phone",
            "required": false,
            "hidden": false,
            "options": []
          }
        ]
      },
      {
        "id": "step-consent",
        "title": "Consent",
        "fields": [
          {
            "id": "f-photo-release",
            "key": "photo_release",
            "type": "checkbox",
            "label": "I consent to photography and video at this event",
            "required": false,
            "hidden": false,
            "options": []
          },
          {
            "id": "f-terms",
            "key": "terms",
            "type": "legal",
            "label": "Terms, Refund and Substitution Policy",
            "required": true,
            "hidden": false,
            "options": [],
            "legalMode": "text",
            "legalText": "<p>Replace with your terms. State the substitution deadline and any transfer fee here.</p>",
            "agreementLabel": "I agree"
          },
          {
            "id": "f-sponsor-optin",
            "key": "sponsor_optin",
            "type": "checkbox",
            "label": "Share my contact details with sponsors and exhibitors",
            "required": false,
            "hidden": false,
            "options": []
          }
        ]
      }
    ],
    "cart": {
      "enabled": true,
      "currencyCode": "USD",
      "items": [
        {
          "id": "tier-member",
          "name": "Member Full Conference",
          "price": 795,
          "active": true
        },
        {
          "id": "tier-nonmember",
          "name": "Non Member Full Conference",
          "price": 995,
          "active": true
        },
        {
          "id": "tier-singleday",
          "name": "Single Day Pass",
          "price": 395,
          "active": true
        },
        {
          "id": "tier-student",
          "name": "Student",
          "price": 195,
          "active": true,
          "capQuantity": 50
        },
        {
          "id": "tier-speaker",
          "name": "Speaker",
          "price": 0,
          "active": true
        },
        {
          "id": "tier-exhibitor",
          "name": "Exhibitor",
          "price": 595,
          "active": true
        },
        {
          "id": "tier-staff",
          "name": "Staff",
          "price": 0,
          "active": true
        }
      ],
      "fees": [],
      "requireEmail": true,
      "paymentProviders": [
        "stripe"
      ],
      "promoStackingMode": "none",
      "buyerEmailFieldKey": "email"
    },
    "theme": "light",
    "cookieNotice": {
      "enabled": true,
      "privacyPolicyUrl": ""
    },
    "integrations": [
      {
        "key": "stripe",
        "enabled": true,
        "settings": {
          "testCheckout": false,
          "paymentMethodTypes": [
            "card"
          ],
          "paymentMethodExtraFees": {
            "card": [],
            "us_bank_account": []
          }
        }
      },
      {
        "key": "invoice",
        "enabled": true,
        "settings": {
          "autoSendEmail": true,
          "includePaymentLinkInEmail": true
        }
      },
      {
        "key": "confirmation_email",
        "enabled": true,
        "settings": {
          "bodyHtml": "<p>You are registered. Your session selections and the substitution deadline are below.</p>",
          "includeCalendarLinks": true,
          "includeSessionIcsFile": false,
          "includeEventCalendarLink": true
        }
      }
    ],
    "notifications": {
      "emailOwnerOnSubmission": true
    },
    "thankYouMessage": "You are registered. Your confirmation and receipt are on the way.",
    "showLanguageSelector": false
  },
  "rules": [
    {
      "id": "rule-member-id",
      "actions": [
        {
          "action": "show_field",
          "target": "member_id"
        },
        {
          "action": "require_field",
          "target": "member_id"
        }
      ],
      "conditions": [
        {
          "fact": "registration_type",
          "value": "tier-member",
          "operator": "equal"
        }
      ],
      "logicType": "all",
      "description": "Member rate requires a member ID",
      "evaluationMode": "immediate"
    },
    {
      "id": "rule-single-day",
      "actions": [
        {
          "action": "show_field",
          "target": "days_attending"
        },
        {
          "action": "require_field",
          "target": "days_attending"
        }
      ],
      "conditions": [
        {
          "fact": "registration_type",
          "value": "tier-singleday",
          "operator": "equal"
        }
      ],
      "logicType": "all",
      "description": "Single day passes must say which days",
      "evaluationMode": "immediate"
    }
  ]
}