The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Confiforms How to create a line break in multi user field that is displayed in List View?

its moi
Contributor
June 5, 2020

In my form I have a multi user field. In a corresponding list view I want to display all users in one record below each other. Is that possible? CSS on the form field macro or something? Thanks for any help

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
June 6, 2020

Hi

If you are after a CSS only solution then you can place something like this on your page (CSS stylesheet macro or within the HTML macro, style tags)

span[cf-field=delegates]>a::after { 
content: "\A";
white-space: pre;
}

Here I have a field "delegates" that is of type multi-user field. You need to change this to your multi-user field's name

Alex

PS, I should say thank you to Chris, https://css-tricks.com/injecting-line-break/ for this technique

its moi
Contributor
June 10, 2020

Works like a dream :) 

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events