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

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 :) 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events