Hello all,

I've looked for this answer for 2 days before posting, which means I'm a noob and should know the answer! But I don't.

I have a list of faculty/staff members in a view. I need to hide the middle name value if empty. Right now it shows up as "[node:field-namee:field-middle-name]" when empty. Help?

Thanks.

Comments

WorldFallz’s picture

What is the code you use to generate the name?

pvsa’s picture

I used [node:field_namee] to show the field collection of First, Middle, and Last name. So if I don't input a middle initial the name shows as "John [node:field-namee:field-middle-name] Doe".

But realized another way to go about this... I'm still learning. I can use the Name as a field instead of Computed Name. Before, I didn't know how to make that a link but I got it. Thanks.