I recently created a survey in Survey123 Connect using HTML formatting. When I save the survey in Connect, the formatting looks correct, however after publishing to ArcGIS Online, the formatting disappears. I found this bug referencing version 3.9 (https://support.esri.com/en-us/bug/the-survey123-web-application-does-not-honor-html-tag-f-bug-00013...). I'm currently using version 3.22.49 and it doesn't seem to be fixed.
This is the HTML formatting I'm using in Connect:
<b>Note: This survey is only intended for those who have received the postcard pictured below.</b>
Please read the instructions before filling out the survey.
By EPA regulatory mandate, we need to document the materials of your water service line. If you received the postcard below stating your service line material is unknown, submit the survey below to avoid potholing your yard. <b>You must submit a photo of the first 18" of your service line as it enters the building.</b>
Here's what my survey looks like in Connect:
VS in Web:
Does anyone have a workaround for this?
Hey @JFiaccoCOL,
Try:
<p><b>Note: This survey is only intended for those who have received the postcard pictured below.</b></p><br><p>Please read the instructions before filling out the survey.</p><br><p>By EPA regulatory mandate, we need to document the materials of your water service line. If you received the postcard below stating your service line material is unknown, submit the survey below to avoid potholing your yard. <b>You must submit a photo of the first 18" of your service line as it enters the building.</b></p>
The web app can be a bit more strict about HTML syntax
Hi Zach,
I tried your suggestion and am getting the same result in the web version.
Connect:
Web:
Hey @JFiaccoCOL,
What version of Survey123 Connect are you using? Can you try appending `?version=latest` to the end of your web app URL (ex. https://survey123.arcgis.com/share/<itemID>?version=latest )?
If using version=latest resolves the issue you can either change the surveys settings to "Always use the latest version", or upgrade your Connect to the latest 3.22 version and republish.
Hey @ZacharySutherby ,
I'm using 3.22.49 and have "Always use the latest version" selected in the survey settings. I also tried appending '?version=latest' to the end of the web app URL but nothing changes.
Thanks!
Hey @JFiaccoCOL,
I'm not quite able to find the combination to reproduce the issue on my end, here is a sample XLSForm that I'm using for testing.
Hi @ZacharySutherby ,
Thanks for sharing the test form. I created and published a new survey using the form you provided. I received an XLS conversion warning since the test field had no label. I ignored the error, published, and it looks like it worked. I guess the HTML formatting is not honored, in the web version, if it's present in the label field rather than the hint field. Is this expected behavior?
I'm having the same issue with in line (span style) formatting not showing up in web survey.