Select to view content in your preferred language

hidden question (appearance) shows on survey

110
2
Thursday
dsinha
by
Regular Contributor

Hello,

I am preparing a Survey123 form for the public to submit information. I have created a couple of questions that are using calculations to generate a ticket number (based on this) and I would like to keep those two questions hidden on survey and have set them to *hidden* in the appearance field on the XLSForm. But when I look at the survey on the the browser, the two questions still show up.

Any idea what I might be doing wrong?

Thanks,

Deb.

0 Kudos
2 Replies
Neal-Kittelson
Frequent Contributor

I am not sure why that is happening but have you tried setting the field type to hidden instead of the appearance, that may work? Otherwise there is this documentation: https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-hidden-relevant-an...

You could also try the Esri:body:visible field and set it to something that is always false.

If you can share a sample of your xlsx, it could help.

dsinha
by
Regular Contributor

Thank you @Neal-Kittelson. The field type = hidden solution did work though (as I had anticipated) it would not allow an integer value and expected a string. 

I think the error with the original method (appearance = hidden) did not function because I was trying to use a pre-existing feature layer for the survey. Once I started from scratch (without a pre-existing feature layer), the appearance = hidden function worked.

I did not try the Esri:body:visible field solution.

0 Kudos