Control Visibility and Labels for Phone & Mobile Fields

Email signatures often include fields such as Phone, Mobile, and Email.
If these fields are empty, they should not appear in the signature.

Crossware provides dynamic fields that only display when a value exists in Azure AD, helping keep signatures clean and professional.

Available Dynamic Fields

The following fields automatically hide when no value is present:

  • MobileAndDescription

  • PhoneAndDescription


Customising Field Labels

You can modify how these fields are displayed (e.g., change Phone to P: or Mobile to M:).

Steps

  1. Navigate to Fields

  2. Select the Formula tab

  3. Click the formula field you want to modify (e.g., MobileAndDescription)

  4. Update the label as needed (e.g., change Mobile: to M:)

  5. Click Save

image-20260323-193426.png

Example: Mobile Field
Only displays when a mobile number exists
Custom label applied (M:)

C#
string strMob;
strMob = "(!mobile!)";
if (strMob == "")
{
    return "";
}
else
{
    return "M: " + strMob;
}

Example: Phone Field
Only displays when a mobile number exists
Custom label applied (P:)

C#
string strPhone;
strPhone = "(!Phone!)";
if (strPhone == "")
{
    return "";
}
else
{
    return "P: " + strPhone;
}

Testing the Field

After saving the Formula Field:

  1. Insert it into your signature design.

image-20260323-194127.png
  1. Use Preview Signature or Send Test Email to confirm:

    • Fields only appear when populated

    • Labels display correctly

Only the Phone field is displayed, as the Mobile field is empty.

image-20260323-194555.png

Both the Phone and Mobile fields are displayed when both fields are populated.

image-20260323-194738.png