Select to view content in your preferred language

Calculated time does not honor input text color

119
1
Jump to solution
03-24-2025 10:25 AM
S_-_EvanRaskin__GISS_
Regular Contributor

I have built a survey in Survey123 Connect that is for nighttime data collection (bat monitoring), and have therefore selected a black background with light text colors. However, I have one time question populated with a calculate using now(), and that text shows up in a dark blue color that is nearly invisible against the black background, instead of the light green that I have selected as the input text color. Users can tap the field to see the calculated time, but would be nice if the text would just appear in the specified color. I realize that I could hide the calculated field and use a note field to display the calculated time to the user in the color of my choice, but it needs to be editable in case the time of arrival does not correspond to the time that the survey is launched. I can imagine various complicated workarounds, but don't want to add unneeded complexity to the survey. Anyone know a way that I can make the calculated time appear in the same text color as all other text input?

Populated by calculate:

S__EvanRaskin__GISS__0-1742836651037.png

Populated by user entry:

S__EvanRaskin__GISS__1-1742836683574.png

Selected input text color:

S__EvanRaskin__GISS__2-1742836704231.png

 

 

 

0 Kudos
1 Solution

Accepted Solutions
S_-_EvanRaskin__GISS_
Regular Contributor

Moving the now() expression from the Calculate field to the Default field fixed this problem, although the once(now()) expression I had originally used does not work in the Default field.

View solution in original post

0 Kudos
1 Reply
S_-_EvanRaskin__GISS_
Regular Contributor

Moving the now() expression from the Calculate field to the Default field fixed this problem, although the once(now()) expression I had originally used does not work in the Default field.

0 Kudos