{
  "name": "Bug Report Form",
  "description": "Allows users to report bugs with reproduction steps and expected vs actual behavior.",
  "category": "Support",
  "tags": [
    "support",
    "bug",
    "report",
    "issue"
  ],
  "version": 1,
  "form_data": {
    "name": "Bug Report Form",
    "heading": "Report a Bug",
    "description": "Use this form to report a bug in our system.",
    "formpages": [
      1
    ],
    "pages": [
      {
        "id": 1,
        "name": "Bug Report",
        "heading": "Bug Details",
        "description": "Provide detailed information about the bug.",
        "folder": "0",
        "pagerows": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "rows": [
          {
            "id": 1,
            "name": "Contact",
            "heading": "Your Details",
            "description": "We may contact you for clarification.",
            "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": "John Doe"
                  }
                ]
              },
              {
                "id": 2,
                "name": "Column 2",
                "fields": [
                  2
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 2,
                    "field_type": "inputemail",
                    "name": "Email Address",
                    "heading": "Email Address",
                    "description": "Enter your email address.",
                    "is_required": 1,
                    "placeholder": "you@example.com"
                  }
                ]
              }
            ]
          },
          {
            "id": 2,
            "name": "Affected Area",
            "heading": "Affected Page/Feature",
            "description": "Which part of the system is affected?",
            "folder": "0",
            "rowcolumns": [
              3
            ],
            "columns": [
              {
                "id": 3,
                "name": "Column 1",
                "fields": [
                  3
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 3,
                    "field_type": "inputtext",
                    "name": "Affected Area",
                    "heading": "Affected Page/Feature",
                    "description": "Specify the page or feature where the bug occurs.",
                    "is_required": 1,
                    "placeholder": "e.g., Settings Page"
                  }
                ]
              }
            ]
          },
          {
            "id": 3,
            "name": "Reproduction",
            "heading": "Steps to Reproduce",
            "description": "List the steps needed to reproduce the bug.",
            "folder": "0",
            "rowcolumns": [
              4
            ],
            "columns": [
              {
                "id": 4,
                "name": "Column 1",
                "fields": [
                  4
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 4,
                    "field_type": "textarea",
                    "name": "Steps to Reproduce",
                    "heading": "Steps to Reproduce",
                    "description": "List the steps you followed before the bug occurred.",
                    "is_required": 1,
                    "placeholder": "Step 1: ... Step 2: ..."
                  }
                ]
              }
            ]
          },
          {
            "id": 4,
            "name": "Behavior",
            "heading": "Expected vs Actual Behavior",
            "description": "Describe what you expected to happen and what actually happened.",
            "folder": "0",
            "rowcolumns": [
              5
            ],
            "columns": [
              {
                "id": 5,
                "name": "Column 1",
                "fields": [
                  5
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 5,
                    "field_type": "textarea",
                    "name": "Expected vs Actual Behavior",
                    "heading": "Expected vs Actual Behavior",
                    "description": "Describe both expected and actual outcomes.",
                    "is_required": 1,
                    "placeholder": "Expected: ... Actual: ..."
                  }
                ]
              }
            ]
          },
          {
            "id": 5,
            "name": "Attachment",
            "heading": "Screenshot/Attachment URL",
            "description": "Link to a screenshot or file.",
            "folder": "0",
            "rowcolumns": [
              6
            ],
            "columns": [
              {
                "id": 6,
                "name": "Column 1",
                "fields": [
                  6
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 6,
                    "field_type": "inputurl",
                    "name": "Attachment URL",
                    "heading": "Attachment URL (Optional)",
                    "description": "Provide a link to any attachment or screenshot.",
                    "is_required": 0,
                    "placeholder": "https://example.com/screenshot.png"
                  }
                ]
              }
            ]
          },
          {
            "id": 6,
            "name": "Consent",
            "heading": "Consent",
            "description": "Allow us to contact you about this bug.",
            "folder": "0",
            "rowcolumns": [
              7
            ],
            "columns": [
              {
                "id": 7,
                "name": "Column 1",
                "fields": [
                  7
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 7,
                    "field_type": "inputcheckbox",
                    "name": "Permission to Contact",
                    "heading": "I agree to be contacted",
                    "description": "Tick if you consent to follow-up.",
                    "is_required": 0,
                    "field_options": "[{\"Yes\": \"yes\"}]"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "user_action": {
      "type": "show_success_message",
      "message": "Your bug report has been submitted. Thank you for helping us improve.",
      "url": ""
    }
  }
}