Content: Insert Condition: True/False
Like a Simple Condition, a True/False Condition allows you to specify the text sent to recipients if the condition is true, but it also allows you to specify the text sent if the condition is false.
It also allows you to define the relationship between what is in the field and what you specify: is it less than or greater than the value you define? Does it contain certain letters and numbers? The ability to specify the relationship makes a True/False Condition more powerful and complex than a Simple Condition.
For more information about conditions in general, see Content: New Content: Inserting a Condition.
If This Field
Select the field you'd like ListManager to examine in order to insert conditional text. See Content: New Content: Inserting a Condition for more information about the fields available to you.
Is
Select the relationship between the value you specify, and what is in the recipient's membership record. The options available are:
= equal to
< less than
> greater than
<= less than or equal to
>= greater than or equal to
<> is not equal to
contains (contains the letters or numbers somewhere in the field
does not contain (does not contain the letters or numbers somewhere in the field
ends with (contains the letters or numbers at the end of the field
begins with (contains the letters or numbers at the beginning of the field.
This Value
The text, date or number that determines whether or not someone should receive the conditional text. Dates should be entered in one of the following formats:
YYYY-MM-DD HH-MM-SS
MM/DD/YY
YYYY-MM-DD
Then Insert This Text
The text that should be inserted into the message if the recipient meets your condition. If the recipient does not, then no text will be included unless you specify one.
(optional) If Not, Then Insert This Text
The text that should be inserted into the message if the recipient does NOT meet your condition.
Inserting a True/False Condition
This example shows how to send a special message to all members who work for the government.
1. While creating content, click insert condition. You'll be taken to the Insert Condition: Simple page by default.
2. Click on the True/False tab.
3. Select Domain_ for If This Field.
4. Select Ends With for Is.
5. Enter .gov for This Value.
4. Create your special message for government workers in the field next to Then Insert This Text.
5. Optionally, you can create a message for everyone else who isn't a government worker.
6. Click on Insert. The conditional content will be inserted into your message:
%%ifboolean domain_ endswith .gov "Government workers are especially important to us!" "No matter who you work for, you're important to us!"%%
More
1. Content: Insert Condition: Simple
2. Content: Insert Condition: True/False
3. Content: Insert Condition: A or B
4. Content: Insert Condition: A and B
5. Content: Insert Condition: Percentage