{
  "name": "Lead Magnet Download Form",
  "description": "Captures leads in exchange for access to a downloadable resource.",
  "category": "Leads",
  "tags": [
    "lead",
    "download",
    "content",
    "ebook",
    "gated content"
  ],
  "version": 2,
  "form_data": {
    "name": "Lead Magnet Download Form",
    "heading": "Get the Free Resource",
    "description": "Fill in your details to receive the download link.",
    "formpages": [
      1
    ],
    "pages": [
      {
        "id": 1,
        "name": "Lead Capture",
        "heading": "Access the Download",
        "description": "Provide your contact info and select the resource.",
        "folder": "0",
        "pagerows": [
          1,
          2,
          3,
          4
        ],
        "rows": [
          {
            "id": 1,
            "name": "Contact",
            "heading": "Your Details",
            "description": "We will email the download link.",
            "folder": "0",
            "rowcolumns": [
              1,
              2
            ],
            "columns": [
              {
                "id": 1,
                "name": "Column 1",
                "fields": [
                  1
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 1,
                    "field_type": "inputtext",
                    "name": "Full Name",
                    "heading": "Full Name",
                    "description": "Enter your full name.",
                    "is_required": 1,
                    "placeholder": "Alex Johnson"
                  }
                ]
              },
              {
                "id": 2,
                "name": "Column 2",
                "fields": [
                  2
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 2,
                    "field_type": "inputemail",
                    "name": "Email",
                    "heading": "Email Address",
                    "description": "We will send the link here.",
                    "is_required": 1,
                    "placeholder": "alex.johnson@example.com"
                  }
                ]
              }
            ]
          },
          {
            "id": 2,
            "name": "Resource",
            "heading": "Select Resource",
            "description": "Choose the asset you want.",
            "folder": "0",
            "rowcolumns": [
              3
            ],
            "columns": [
              {
                "id": 3,
                "name": "Column 1",
                "fields": [
                  3
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 3,
                    "field_type": "selectfield",
                    "name": "Resource",
                    "heading": "Downloadable Resource",
                    "description": "Pick a resource to receive.",
                    "is_required": 1,
                    "field_options": "{\"\": {\"eBook: Ultimate Guide\": \"ebook_guide\",\"Checklist: Launch Plan\": \"checklist_launch\",\"Template: Project Plan\": \"template_project\",\"Case Study: ROI\": \"case_study\"}}"
                  }
                ]
              }
            ]
          },
          {
            "id": 3,
            "name": "Consent",
            "heading": "Consent & Opt-in",
            "description": "Agree to receive the resource.",
            "folder": "0",
            "rowcolumns": [
              4
            ],
            "columns": [
              {
                "id": 4,
                "name": "Column 1",
                "fields": [
                  4
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 4,
                    "field_type": "inputcheckbox",
                    "name": "Marketing Opt-in",
                    "heading": "I agree to receive the selected resource via email",
                    "description": "We may also send helpful tips.",
                    "is_required": 1,
                    "field_options": "[{\"I agree\": \"agree\"}]"
                  }
                ]
              }
            ]
          },
          {
            "id": 4,
            "name": "Consent (continued)",
            "heading": "Consent & Opt-in",
            "description": "",
            "folder": "0",
            "rowcolumns": [
              5
            ],
            "columns": [
              {
                "id": 5,
                "name": "Column 2",
                "fields": [
                  5
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 5,
                    "field_type": "inputcheckbox",
                    "name": "Newsletter Opt-in",
                    "heading": "Subscribe to occasional updates (optional)",
                    "description": "Opt-in to newsletters.",
                    "is_required": 0,
                    "field_options": "[{\"Subscribe me\": \"subscribe\"}]"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "user_action": {
      "type": "show_success_message",
      "message": "Thanks! Check your inbox for the download link.",
      "url": ""
    }
  }
}
