Select to view content in your preferred language

HTML formatting not carrying over from Connect to Web

1017
10
04-18-2025 08:47 AM
JFiaccoCOL
Emerging Contributor

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:

JFiaccoCOL_0-1744991004660.png

 

VS in Web:

JFiaccoCOL_1-1744991045940.png

 

Does anyone have a workaround for this?

 

0 Kudos
10 Replies
ZacharySutherby
Esri Regular Contributor

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

Thank you,
Zach
JFiaccoCOL
Emerging Contributor

Hi Zach,

I tried your suggestion and am getting the same result in the web version.

Connect:

JFiaccoCOL_1-1745251492178.png

 

Web:

JFiaccoCOL_0-1745251467822.png

 

0 Kudos
ZacharySutherby
Esri Regular Contributor

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. 

Thank you,
Zach
0 Kudos
JFiaccoCOL
Emerging Contributor

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.

JFiaccoCOL_0-1745254350503.png

JFiaccoCOL_1-1745254413495.png

Thanks!

 

0 Kudos
ZacharySutherby
Esri Regular Contributor

@JFiaccoCOL

What browser are you using when you see the behavior? 

Thank you,
Zach
0 Kudos
JFiaccoCOL
Emerging Contributor

@ZacharySutherby 

I'm seeing the same behavior in Chrome and Edge. 

Thanks!

0 Kudos
ZacharySutherby
Esri Regular Contributor

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. 

Thank you,
Zach
0 Kudos
JFiaccoCOL
Emerging Contributor

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?

0 Kudos
ehahn_nifc
New Contributor

I'm having the same issue with in line (span style) formatting not showing up in web survey.  

0 Kudos