I've got a new channel for Authors where there are 3 fields:
firstName middleName lastName
and I'm using these fields to generate the Title of the channel entry. However I would like to add a conditional around middleName so that it isn't used if empty and I can avoid have double space between first and last name.
How can I do this?