Community · Help

SheetApps User Guide

Turn an Excel workbook (or Google Sheet) into a multi-user web app — forms, validation, lookups, import/export and more.

Data type referenceReference

Relation. Put relation in the Data type column and name the target in the Value column — [Form].field, [Form].{Section}.field, or in plain English field in Form; the form name may be wrapped in brackets or quotes. The picker lists that form's records (the key plus a couple of recognizable columns). After you pick one, it offers a choice: reference only, prefill the matching header fields, or — on a form that has line items — prefill the header and the record's line items too. The referenced field must be a key or a subkey; if it's neither, the app still builds but the field stays a plain input (you'll see a warning). A relation to a subkey is scoped by the target form's key: this form must have a same-named key field (e.g. Year) filled in first, and the picker then lists only the records under that value — blank, and it asks you to fill the key field first.

2 · Standard lists. These data types come with a predefined list of standard values — they bind the field to a built-in list (no List_ sheet needed). The field becomes a searchable dropdown that stores the standard code and shows code + name. For countries, currencies and languages the name appears in the viewer's language; the stored code never changes.

TypePredefined standard listExample
countryISO 3166-1 countries (249)US · United States
stateUS states + DC & territories (57)CA · California
countyUS counties · FIPS (3,222) — narrows by state01001 · Autauga County
currency codeISO 4217 currency codes (178)USD · US Dollar
uomUnits of measure · UNECE Rec 20 (48)KGM · Kilogram
languageISO 639-1 languages (184)en · English
timezoneIANA time zones (433)America/Chicago
sexISO/IEC 5218 value setFemale
genderInclusive options (W3C guidance)Non-binary

A field merely named like one of these (gender, ship_country, …) defaults to its standard list automatically; a Rules-sheet Data type or a matching List_ sheet overrides the default.

3 · Locale-dependent types. Some types are displayed according to a region or country rather than a fixed US format. (None of these are standard lists — but the country and currency code standard lists pair naturally with them.)

TypeDepends onShown as
numberYour region1,234.56 (US) · 1.234,56 (DE)
currencyYour region + app currencyLocale grouping & symbol; 0-decimal for ¥ / ₩
percentYour region15 → “15%”
dateYour regionMM/DD/YYYY (US) · DD/MM/YYYY (UK)
postal_codeThe field’s countryZIP (US) · Postcode (UK) · PIN (IN)
national_idThe field’s country (masked)SSN (US) · NI no. (UK) · CPF (BR)
bank_idThe field’s countryRouting (US) · IBAN (EU) · Sort code (UK)
phoneCountry calling code+1 / +44 / +91 prefix
Set your Region in Display settings to control how numbers, currency, percentages and dates are shown. This changes only how values are displayed — your stored data is never altered, and import/export stay in a fixed machine format. The country-aware identifier types (postal_code, national_id, bank_id) follow the field's country (declare it on the Rules sheet), defaulting to the app's Regional defaults country (Display settings), else your region. The US-specific zip, ssn and routing_number types still work unchanged.

A full reference spreadsheet ships at docs/SheetApps_Data_Types.xlsx — one tab per group above (Data Types · Standard Lists · Locale-dependent Types).