I need to show users's phone number in a mail signature. Some have data in Phone and some have not. Instead of leaving a blank line, I would like to be able to set a default value instead When no data, I need to have a fallback value (office number).
If the user has a job, it will display the name ; otherwise, it will display '---'. For Phone2, it will display content of Phone2, otherwise 'sorry, no mobile'
Hi,
I need to show users's phone number in a mail signature.
Some have data in Phone and some have not.
Instead of leaving a blank line, I would like to be able to set a default value instead
When no data, I need to have a fallback value (office number).
Here's the mail template I use for my tests:
<p>@Name@<br />
Job:@C_Job_ID<C_Job.Name>:---@<br />
T: @Phone@<br />
M: @Phone2:sorry, no mobile@<br />
@EMail@</p>
If the user has a job, it will display the name ; otherwise, it will display '---'.
For Phone2, it will display content of Phone2, otherwise 'sorry, no mobile'
Regards,
Nicolas