{
    "name": "Event Registration Form",
    "description": "A form to register attendees for an event, collecting their personal details and preferences.",
    "category": "Event",
    "tags": ["event", "registration", "attendees", "preferences"],
    "version": 2,
    "form_data": {
        "name": "Event Registration Form",
        "heading": "Register for the Event",
        "description": "Please fill in your details to register for our upcoming event.",
        "formpages": [1],
        "pages": [
            {
                "id": 1,
                "name": "Attendee Information",
                "heading": "Attendee Information",
                "description": "Please provide your personal details and preferences.",
                "folder": "0",
                "pagerows": [1, 2, 3],
                "rows": [
                    {
                        "id": 1,
                        "name": "Full Name and Email",
                        "heading": "Personal Information",
                        "description": "Provide your full name and email address.",
                        "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 first and last 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": "john@example.com"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": 2,
                        "name": "Phone Number",
                        "heading": "Phone Number",
                        "description": "Provide your phone number.",
                        "folder": "0",
                        "rowcolumns": [3],
                        "columns": [
                            {
                                "id": 3,
                                "name": "Column 1",
                                "fields": [3],
                                "width": 12,
                                "field_data": [
                                    {
                                        "id": 3,
                                        "field_type": "inputnumber",
                                        "name": "Phone Number",
                                        "heading": "Phone Number",
                                        "description": "Enter your contact number.",
                                        "is_required": 0,
                                        "placeholder": "+1 555 123 456"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": 3,
                        "name": "Event Preferences",
                        "heading": "Event Preferences",
                        "description": "Choose your event preferences.",
                        "folder": "0",
                        "rowcolumns": [4],
                        "columns": [
                            {
                                "id": 4,
                                "name": "Column 1",
                                "fields": [4],
                                "width": 12,
                                "field_data": [
                                    {
                                        "id": 4,
                                        "field_type": "selectfield",
                                        "name": "Session Preference",
                                        "heading": "Session Preference",
                                        "description": "Choose your preferred session time.",
                                        "is_required": 1,
                                        "field_options": "{\"\": {\"Morning Session\": \"morning\",\"Afternoon Session\": \"afternoon\",\"Evening Session\": \"evening\"}}"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": 4,
                        "name": "Additional Comments",
                        "heading": "Comments",
                        "description": "Leave any additional comments or questions.",
                        "folder": "0",
                        "rowcolumns": [5],
                        "columns": [
                            {
                                "id": 5,
                                "name": "Column 1",
                                "fields": [5],
                                "width": 12,
                                "field_data": [
                                    {
                                        "id": 5,
                                        "field_type": "textarea",
                                        "name": "Comments",
                                        "heading": "Comments",
                                        "description": "Enter any additional comments or questions.",
                                        "is_required": 0,
                                        "placeholder": "Enter your comments here."
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ],
        "user_action": {
          "type": "show_success_message",
          "message": "Thank you for registering for the event!",
          "url": ""
        }
    }
}