Select to view content in your preferred language

HTML text editor for "Button" adds amp;amp; in URL parameters for Survey123 link

862
1
Jump to solution
12-13-2023 12:27 PM
Labels (1)
Teresa_Blader
Frequent Contributor

I'm trying to add a button in a Hub site for a Survey123 with custom parameters. 

Every time I add the link in the href = "..." and click ok, it translates the & to amp;amp;.

This breaks the Survey123 URL parameters link. I have tried encoding it ahead of time with & but then it add amp;amp;amp;amp;amp;amp. It's all chaos!!

How the heckin' do I get the HTML to stop doing this or add a button that will just open up my Survey with the custom URL parameters? 😬😬😬😬😬

Teresa_Blader_0-1702498179477.png

 

Teresa Blader
Olmsted County GIS Specialist
Tags (5)
1 Solution

Accepted Solutions
SophieSturzenegger
Esri Contributor

Hi Teresa

This is a known issue and the fix and will hopefully be implemented soon. 😊 Until then, you can embed links containing the "&" character with certain other types of HTML buttons. For example, the Bootstrap button classes work for me: 

<a class="btn btn-primary" href="#" role="button">Link</a>

View solution in original post

1 Reply
SophieSturzenegger
Esri Contributor

Hi Teresa

This is a known issue and the fix and will hopefully be implemented soon. 😊 Until then, you can embed links containing the "&" character with certain other types of HTML buttons. For example, the Bootstrap button classes work for me: 

<a class="btn btn-primary" href="#" role="button">Link</a>