{
  "_template": {
    "slug": "webinar-registration-form",
    "name": "Webinar Registration Form",
    "version": 2,
    "specVersion": 1,
    "source": "https://www.regform.com/form-templates/webinar-registration-form"
  },
  "form": {
    "title": "Webinar Registration Form",
    "nav": {
      "mode": "single",
      "submitLabel": "Register",
      "showProgress": false,
      "validatePerStep": true
    },
    "steps": [
      {
        "id": "step-register",
        "title": "Register",
        "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-work-email",
            "key": "work_email",
            "type": "email",
            "label": "Work Email",
            "required": true,
            "hidden": false,
            "options": [],
            "description": "Your join link is sent to this address.",
            "placeholder": "name@example.com"
          },
          {
            "id": "f-company",
            "key": "company",
            "type": "text",
            "label": "Company",
            "required": false,
            "hidden": false,
            "options": []
          },
          {
            "id": "f-job-title",
            "key": "job_title",
            "type": "text",
            "label": "Job Title",
            "required": false,
            "hidden": false,
            "options": [],
            "description": "Keep this or the role question below, not both. Two profiling fields on a free webinar is one too many."
          },
          {
            "id": "f-session-date",
            "key": "session_date",
            "type": "dropdown",
            "label": "Session Date",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "Tuesday, March 10 at 11:00 AM ET",
                "value": "Tuesday, March 10 at 11:00 AM ET"
              },
              {
                "label": "Thursday, March 12 at 2:00 PM ET",
                "value": "Thursday, March 12 at 2:00 PM ET"
              },
              {
                "label": "Tuesday, March 17 at 11:00 AM ET",
                "value": "Tuesday, March 17 at 11:00 AM ET"
              }
            ],
            "multiple": false,
            "description": "Remove this field if the webinar only runs once. State the time zone on every option."
          },
          {
            "id": "f-time-zone",
            "key": "time_zone",
            "type": "dropdown",
            "label": "Time Zone",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "Eastern (ET)",
                "value": "Eastern (ET)"
              },
              {
                "label": "Central (CT)",
                "value": "Central (CT)"
              },
              {
                "label": "Mountain (MT)",
                "value": "Mountain (MT)"
              },
              {
                "label": "Pacific (PT)",
                "value": "Pacific (PT)"
              },
              {
                "label": "Other",
                "value": "Other"
              }
            ],
            "multiple": false
          },
          {
            "id": "f-role",
            "key": "role",
            "type": "dropdown",
            "label": "Which Best Describes Your Role",
            "required": false,
            "hidden": false,
            "options": [
              {
                "label": "Marketing",
                "value": "Marketing"
              },
              {
                "label": "Sales",
                "value": "Sales"
              },
              {
                "label": "Event Planning",
                "value": "Event Planning"
              },
              {
                "label": "Operations",
                "value": "Operations"
              },
              {
                "label": "Executive",
                "value": "Executive"
              },
              {
                "label": "Other",
                "value": "Other"
              }
            ],
            "multiple": false,
            "description": "The one qualifying question. A dropdown keeps the answers clean enough to segment on later."
          },
          {
            "id": "f-role-other",
            "key": "role_other",
            "type": "text",
            "label": "Tell Us Your Role",
            "required": false,
            "hidden": true,
            "options": [],
            "description": "Revealed only when Other is selected, so the form stays short for everyone else."
          },
          {
            "id": "f-topics",
            "key": "topics",
            "type": "textarea",
            "label": "What Would You Like Us to Cover",
            "required": false,
            "hidden": false,
            "options": [],
            "placeholder": "Optional"
          },
          {
            "id": "f-send-recording",
            "key": "send_recording",
            "type": "checkbox",
            "label": "Send me the recording if I cannot attend",
            "required": false,
            "hidden": false,
            "options": []
          },
          {
            "id": "f-marketing-optin",
            "key": "marketing_optin",
            "type": "checkbox",
            "label": "Send me updates about future sessions",
            "required": false,
            "hidden": false,
            "options": []
          }
        ]
      }
    ],
    "theme": "light",
    "cookieNotice": {
      "enabled": true,
      "privacyPolicyUrl": ""
    },
    "integrations": [
      {
        "key": "confirmation_email",
        "enabled": true,
        "settings": {
          "bodyHtml": "<p>You are registered. Your join link is below. We will send a reminder the day before and again fifteen minutes before we start.</p>",
          "includeCalendarLinks": true,
          "includeSessionIcsFile": false,
          "includeEventCalendarLink": true
        }
      }
    ],
    "notifications": {
      "emailOwnerOnSubmission": true
    },
    "thankYouMessage": "You are registered. Check your inbox for the join link and a calendar invite. We will send a reminder the day before and again fifteen minutes before we start.",
    "showLanguageSelector": false
  },
  "rules": [
    {
      "id": "rule-role-other",
      "actions": [
        {
          "action": "show_field",
          "target": "role_other"
        },
        {
          "action": "require_field",
          "target": "role_other"
        }
      ],
      "conditions": [
        {
          "fact": "role",
          "value": "Other",
          "operator": "equal"
        }
      ],
      "logicType": "all",
      "description": "Ask what their role is when they pick Other",
      "evaluationMode": "immediate"
    }
  ]
}