I am looking to break up my instance name so that inbox labels are more easy to read. I have tried both:
concat (${Site_ID},"\n",${Desc_})
and
concat (${Site_ID},"<br>",${Desc_})
with no luck. The hope is to have each of the labels look like:
----------------------------------------------
Site ID:
Site Description
-----------------------------------------------
Solved! Go to Solution.
Hmm, I tested and added a <br> tag to the instance name of one of my surveys and it worked. Here's the syntax I used:
concat("<b>", "Site: ", "</b>", ${project_site}, "<b>", "<br>", " Sampling Date: ", "</b>", format-date(${sampling_date}, '%Y-%m-%d'), "<b>", " Point ID: ", "</b>", ${sampling_point})
and here's what the output looks like:
-----------------------------------------------------------
Site: Sample Site Name
Sampling Date: 2023-07-14 Point ID: K
-----------------------------------------------------------
You are actually checking the inbox within the Survey123 field app, correct? Not just the preview in Survey123 Connect?
Hmm, I tested and added a <br> tag to the instance name of one of my surveys and it worked. Here's the syntax I used:
concat("<b>", "Site: ", "</b>", ${project_site}, "<b>", "<br>", " Sampling Date: ", "</b>", format-date(${sampling_date}, '%Y-%m-%d'), "<b>", " Point ID: ", "</b>", ${sampling_point})
and here's what the output looks like:
-----------------------------------------------------------
Site: Sample Site Name
Sampling Date: 2023-07-14 Point ID: K
-----------------------------------------------------------
You are actually checking the inbox within the Survey123 field app, correct? Not just the preview in Survey123 Connect?
I'm not sure if the spaces made a difference, but I tried again and this ended up working as intended:
concat("<b>", ${Site_ID}, "</b>", "<br>" ,${Desc_})
Thank you both for the response!
- Mike