{ "version": 1, "title": "Tutorial — Grouped Fields", "fields": [ { "id": "intro", "type": "note", "label": "Groups organize related fields under a single collapsible section. Useful for long forms with distinct sections." }, { "id": "location", "type": "geopoint", "label": "Location", "required": true }, { "id": "respondent_info", "type": "group", "label": "Respondent Information", "fields": [ { "id": "respondent_name", "type": "text", "label": "Name" }, { "id": "respondent_age", "type": "number", "label": "Age" }, { "id": "respondent_gender", "type": "select_one", "label": "Gender", "options": [ {"value": "male", "label": "Male"}, {"value": "female", "label": "Female"}, {"value": "other", "label": "Other / Prefer not to say"} ] } ] }, { "id": "household_info", "type": "group", "label": "Household Information", "fields": [ { "id": "household_members", "type": "number", "label": "Total Members" }, { "id": "dwelling_type", "type": "select_one", "label": "Dwelling Type", "options": [ {"value": "house", "label": "House"}, {"value": "apartment", "label": "Apartment"}, {"value": "informal", "label": "Informal / Makeshift"}, {"value": "other", "label": "Other"} ] } ] }, { "id": "notes", "type": "textarea", "label": "Notes" } ] }