Display word ALERT if the company name is more than 20 characters

Display word ALERT if the company name is more than 20 characters

You can set the default value of a field to the following to display the word ALERT if it is more than 20 characters.

!!![$][20][30]#[=]#[][ALERT]

If you still want to display the field being tested you should use the custom fixed value and set the default value of this new field to:

[%Invoice Customer%][$][20][30]#[=]#[][ALERT]

This will test the Invoice Customer field.

    • Related Articles

    • When using the Find Macro how do I find the position (location) of a word within the text?

      It can be useful to find the location of a word or character within other text when using macros. To do this put a ? in both the returned values for the macro. For example, if you want to find the location of a word with a sentence use the following: ...
    • How to display different logos in emails for different sales channels

      The best approach is to use an embedded macro in the html email text. To be easily read in emails, it is best to reference a logo on a website. For example, the following will display a different logo for Ebay, Amazon and your own eCommerce website ...
    • What macros can I use in an email?

      Macros within emails You can use macros within emails by putting a #!# around the macro. All the data field macros can be used as well. A full list of these is available at the link below: List of macros These can be used to display different values ...
    • How to display currencies not supported (e.g. zł or kr)

      By default, One Stop Order Processing can't show all currency symbols on the invoice. If you need to add in currencies not supported you should use the following approach. 1. Amend the invoice template you are using (In the Invoice Options tab in the ...
    • How to have a company logo on the main invoice and also on the label

      The following article explains how to have a company logo on the main invoice and also on the label. This feature is available in the Lite,Professional, Premium and Managed subscriptions of One Stop Order Processing. You can add Logos to your invoice ...