I have a name pattern like this:
%1 %2, %3
For example:
John Doe, CEO
But all fields are optional, so I might end up with:
John Doe,
In this case I want to omit the comma, if %3 is empty.
Something like:
%1 %2{if !empty(%3)}, {/if}%3
Is this possible with RealName module somehow?
Comments
Comment #1
Actron commentedExecution of PHP code would solve this problem:
#871492: Allow PHP execution in the name pattern
Comment #2
hass commented