Select to view content in your preferred language

Changing text color of a survey

310
7
Jump to solution
a month ago
doronwen
Frequent Contributor

Is there a way I can control the default text color of a survey question?
Which field in the XLSForm controls that attribute? 

I'm using ArcGIS Survey123 Connect, Version 3.19.116

 

doronwen_0-1762371768327.png

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Neal_t_k
Frequent Contributor

label, hint or guidance_hint

View solution in original post

0 Kudos
7 Replies
DougBrowning
MVP Esteemed Contributor

Yep you can use HTML tags in the label field like this

<font color="red">Warning  text</font>

Note this can become a pain later in the layer though as it is baked into the attribute table then.  I tend to make a separate note field for these instead.  Then set bind esri column to null and it stays out of the data.

JenniferAcunto
Esri Regular Contributor

@DougBrowning You can use the bind::esri:fieldAlias column to set the field alias so it doesn't have the HTML baked in. I also use it when the survey question is long question and want something shorter for the actual data. 

JenniferAcunto_0-1762373637132.png

 

- Jen
DougBrowning
MVP Esteemed Contributor

Oh yea I forgot about that.  Its kinda new so I forget.  thanks

0 Kudos
DougBrowning
MVP Esteemed Contributor
0 Kudos
doronwen
Frequent Contributor

In which column in my excel table do I paste <font color="red">Warning  text</font>?

0 Kudos
Neal_t_k
Frequent Contributor

label, hint or guidance_hint

0 Kudos