Select to view content in your preferred language

How to display two fields using join

408
1
Jump to solution
12-16-2023 04:48 PM
CamKenny2
Occasional Contributor

I have two questions in a repeat:

Species and PercentCover

Because these are in the repeat, I am using the join to create a running list of the species entered in the repeat.

I have been successful at doing 1 field using join('<br>', ${Species}) outside of the repeat, but I'd also like to display the Percent Cover as well something like this

join('<br>', ${Species},' - ',${PercentCover})

I know this doesn't work.

I tried the concat outside of the repeat and it too works, but only for the current repeat and doesn't keep a running list like join does.

If anyone can help out that would be awesome.

 

0 Kudos
1 Solution

Accepted Solutions
abureaux
MVP Frequent Contributor

You need to concat() the two fields inside the repeat. Then display outside. 

View solution in original post

1 Reply
abureaux
MVP Frequent Contributor

You need to concat() the two fields inside the repeat. Then display outside.