Hello,
I was wondering if you could configure the template in Survey123 or the feature report tool to omit fields from the report that have null or no response?
Thanks for any assistance!
Mikala
Hi Mikala
You can use conditional statements in your feature report template to show or hide content. For example, to show a text question only if it has a value, you could use something like:
${if text_question!=""} Text Question: ${text_question} ${/}
Please find details on conditional elements here: Feature report templates—Survey123 for ArcGIS | ArcGIS
Hope this helps,
Jim
Thanks so much Jim, that worked!
Hi Jim,
Is there a way to avoid creating a new line for every question so that if it is blank, there will be no empty row created on the feature report? Thanks
Hi Tory, thanks for your query, this is a known issue with conditional elements in a report template. If possible, could you please log this through Esri Support so we can add it to cases raised by other users? This helps us prioritise enhancements and fixes.
Best,
Is there any news regarding the topic?
"Is there a way to avoid creating a new line for every question so that if it is blank"
Thanks.
Can someone please show this in the context of a report template? For example, if I have a question in my template that reads:
Location of project area monitored:
${location_of_project_area_monito}
How would I apply the conditional visibility syntax?
Agreed, would love to see this in context of a report template to not only hide the value but the text. Has there been any progress on this since?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.