String default value with arithmatic sign couldn't be accepted

I’m trying to use a string default value (1 + 1 + 1 = 7 days) at a text type field. But previously it showed only 1 rather than “1 + 1 + 1 = 7 days” as default value when I opened form for data collection. How can I use the string/script “1 + 1 + 1 = 7 days” as a default value?

1 Like

Welcome to the community, @tuhinbd2k_brac! You could do it as shown in the image shared below:

In the survey tab of your xlsform:

Image 1

Data entry screen as seen in Enketo:

Image 2

Reference xlsform:

Default Response.xlsx (9.2 KB)

1 Like

Thank you very much for your kind help.

2 Likes