Untitled

 avatar
unknown
plain_text
2 years ago
7.8 kB
5
Indexable
{
    "name": "Winter Day Campus",
    "status": "1",
    "category": "1",
    "reservationcategory": "1",
    "formSteps": {
        "1": {
            "noofdays": {
                "type": "text",
                "label": "How many days",
                "placeholder": "Enter No Of Days"
            },
            "package": {
                "type": "select",
                "label": "Please choose the type of stay",
                "placeholder": "Please Select Package",
                "package": [
                    "3",
                    "9",
                    "12"
                ]
            },
            "departuredate": {
                "type": "text",
                "label": "Preferred Departure Date",
                "placeholder": "Select Departure Date"
            },
            "arrivaldate": {
                "type": "text",
                "label": "Preferred Arrival Date",
                "placeholder": "Select Arrival Date"
            },
            "phone": {
                "type": "text",
                "label": "Phone",
                "placeholder": "Enter Phone Number"
            },
            "email": {
                "type": "email",
                "label": "Email",
                "placeholder": "Enter Email"
            }
        },
        "2": {
            "1": {
                "service": {
                    "label": "Sport Choice",
                    "placeholder": "Please Select Service",
                    "service_type_id": [
                        "5"
                    ],
                    "type": "radio",
                    "service_id": [
                        "20",
                        "21"
                    ]
                }
            },
            "2": {
                "service": {
                    "label": "Level",
                    "placeholder": "Please Select Service",
                    "service_type_id": [
                        "2"
                    ],
                    "type": "radio",
                    "service_id": [
                        "22",
                        "23",
                        "24"
                    ]
                }
            }
        },
        "3": {
            "1": {
                "service": {
                    "label": "Options",
                    "placeholder": "Please Select Service",
                    "service_type_id": [
                        "3"
                    ],
                    "type": "checkbox",
                    "service_id": [
                        "25",
                        "26",
                        "27",
                        "28",
                        "29"
                    ]
                }
            },
            "language": {
                "type": "radio",
                "label": "Language",
                "placeholder": "Please Select Language",
                "language": [
                    "3",
                    "2",
                    "1"
                ],
                "mutiselect": "0"
            }
        },
        "4": {
            "parent": {
                "type": "Parent Details",
                "label": "Parent Details",
                "fields": [
                    {
                        "label": "Prefix",
                        "type": "select",
                        "parent_prefix": "1"
                    },
                    {
                        "label": "First Name",
                        "type": "text",
                        "parent_first": "1"
                    },
                    {
                        "label": "Last Name",
                        "type": "text",
                        "parent_last": "1"
                    },
                    {
                        "label": "City",
                        "type": "text"
                    },
                    {
                        "label": "Country",
                        "type": "select"
                    },
                    {
                        "label": "Street Address",
                        "type": "text"
                    },
                    {
                        "label": "ZipCode",
                        "type": "text"
                    }
                ]
            }
        },
        "5": {
            "parent": {
                "type": "Address",
                "label": "Address",
                "fields": [
                    {
                        "label": "Prefix",
                        "type": "select"
                    },
                    {
                        "label": "First Name",
                        "type": "text"
                    },
                    {
                        "label": "Last Name",
                        "type": "text"
                    },
                    {
                        "label": "City",
                        "type": "text",
                        "parent_city": "1"
                    },
                    {
                        "label": "Country",
                        "type": "select",
                        "parent_country": "1"
                    },
                    {
                        "label": "Street Address",
                        "type": "text",
                        "parent_streetaddress": "1"
                    },
                    {
                        "label": "ZipCode",
                        "type": "text",
                        "parent_zipcode": "1"
                    }
                ]
            }
        },
        "6": {
            "child": {
                "type": "Child Details",
                "label": "Child Details",
                "fields": [
                    {
                        "label": "Child Prefix",
                        "type": "select",
                        "child_prefix": "1"
                    },
                    {
                        "label": "Child First Name",
                        "type": "text",
                        "child_first": "1"
                    },
                    {
                        "label": "Child Last Name",
                        "type": "text",
                        "child_last": "1"
                    },
                    {
                        "label": "Child City",
                        "type": "text"
                    },
                    {
                        "label": "Child Country",
                        "type": "select"
                    },
                    {
                        "label": "Child Street Address",
                        "type": "text"
                    },
                    {
                        "label": "Child ZipCode",
                        "type": "text"
                    },
                    {
                        "label": "Child Nationality",
                        "type": "text",
                        "nationality": "1"
                    },
                    {
                        "label": "Child Date Of Birth",
                        "type": "text",
                        "date_of_birth": "1"
                    },
                    {
                        "label": "Child Passport No",
                        "type": "text",
                        "child_passport": "1"
                    },
                    {
                        "label": "Child's School",
                        "type": "text",
                        "child_school": "1"
                    }
                ]
            }
        },
        "7": {
            "comments": {
                "type": "textarea",
                "label": "Comments",
                "placeholder": "Enter comments"
            }
        }
    }
}
Editor is loading...