I searched the forum already and I can't seem to find what I need to help me with my use case. I have a table Participant_Registration_tbl1 that has 10 fields pertaining to what system a participant works in (for example, System_1, System_2, System_3...System_10). I opted to separate our options for specific questions as unique fields instead of using multi select listboxes, essentially. I want to create a tabular report that displays a column showing all the systems that the person selected. Data type is text and uses the text of the field (so for example, System_1 might be [@field:healthcare] and the data when selected would be 'Health Care'. I want to use a virtual field to concatenate these fields to display into one column, ideally in a bulleted list (although I know that's asking a lot). Next best case would be to concatenate them together using commas, but I don't want it to show a bunch of commas and spaces if the person only selected one out of 10 options. Is there any way to do this?
To summarize, if the person selected both 'Health Care' and 'Social Work' but no other options of the 10 fields, I want it displayed as:
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Lauren
Hi everyone,
I searched the forum already and I can't seem to find what I need to help me with my use case. I have a table Participant_Registration_tbl1 that has 10 fields pertaining to what system a participant works in (for example, System_1, System_2, System_3...System_10). I opted to separate our options for specific questions as unique fields instead of using multi select listboxes, essentially. I want to create a tabular report that displays a column showing all the systems that the person selected. Data type is text and uses the text of the field (so for example, System_1 might be [@field:healthcare] and the data when selected would be 'Health Care'. I want to use a virtual field to concatenate these fields to display into one column, ideally in a bulleted list (although I know that's asking a lot). Next best case would be to concatenate them together using commas, but I don't want it to show a bunch of commas and spaces if the person only selected one out of 10 options. Is there any way to do this?
To summarize, if the person selected both 'Health Care' and 'Social Work' but no other options of the 10 fields, I want it displayed as:
OR:
Health Care, Social Work
but NOT:
Health Care, , , Social Work, , , , , ,
Thanks in advance!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.