There are two main ways of hiding fields.
1. Specifying hidden as the field type (as in rows 3 and 4 in the attached Excel document). You use the bind::esri:fieldType column to specify what you want the field type to be:
| type | name | label | bind::esri:fieldType |
| hidden | HiddenString | Hidden String | esriFieldTypeString |
| hidden | HiddenInteger | Hidden Integer | esriFieldTypeInteger |
2. Using the relevant column to hide a question (as in rows 5 and 6 in the attached Excel document):
| type | name | label | relevant |
| select_one ListYesNo | ShowNextQuestion | Show Next Question | |
| geopoint | Location | Selection Location | ${ShowNextQuestion}='Yes' |
Hidden fields will never be displayed in Survey123, whereas fields with relevancy set on them will be displayed if the specific condition is met.
You can check exactly what will be published in the Schema Preview within Survey123 Connect:
