I have a
Resource content type that has a
File Attachment. The first is required, the latter two are optional. The goal is for the administrator to create a new piece of content and link to either an internal (or external) page OR a PDF/Word file.
What I would like is have the
Title be a link to either the page link or file location based on whichever is empty.
Right now, in the view, I have Title, Link and File Attachment fields exposed but hidden. The Title field has Rewrite Output enabled, but how do I set it to link to either a web page or file path based on the empty value for the field?
Inside Rewrite Output, I can add either
[file_attachment], but this is not conditional.