Display text items from a list alongside eachother

Hi there,

I am experimenting with showing text items in a list, but currently, I’m unable to display each text item alongside each other. Essentially, my goal is to fetch numerous pieces of text from records in a database and put them together in a list as if they exist as the same sentence / paragraph.

How can I configure the layout to ensure that this is the case. Currently, each text item is going onto its own line.

I assume this is a repeated group, instead make a formula that concats to the end.

for x in lines
pargarph = paragrph + x

something along those lines.

im curious why is your data stored like this?

Thank you,

Do you mean add the formula to the text in the repeated items? You’re correct, it is a repeated group - I’m using the list element.

Here’s my more specific use case that perhaps you can help with:

The entire text is a student’s answer they have provided to an assessment. I’m storing different parts of the overall answer in a database, because for each specific part of the answer, I want to provide pieces of feedback on where they scored marks. Therefore, when the user hovers over different parts of the answer, they will see different feedback text in another block.

However, the overall answer itself (an array of the ‘sub-answers’ needs to display as the answer in it’s entirety (e.g. not line by line)

Ahh in that case what I suggested won’t work, instead format your list horizontal and set wrap elements to true. that way each section is still split up. You might need to mess with the spacing a little to get it to look right you could either use padding or the colom and row gaps to do that.

Thank you very much, that worked. Can you think of a way whereby if the entire block of text (item) doesn’t fit on the rest of the line, it shows part of the text on the same line and then carries over the rest of the text onto a new line when it runs out of width. Or will it always carry over the entire item if it can’t fit that item on the line?

You could split it by word. So you would have your first related group of the sections and then in each section break up each one by word. I think it’s split(item, “”)