You are here: Content > Creating New Content > Content: Insert Condition > Content: Insert Condition: A or B

Content: Insert Condition: A or B

 

Like a True/False Condition, an A or B Condition allows you to specify the text that is sent to recipients if the condition is true or if it is false, and allows you to specify the relationship (equal to, greater than, etc.) between what is in the field and the value you specify.

 

It also allows you to add additional conditions, so if a recipient meets the requirements of anyof your conditions, the text you specify is sent.

 

For example, let's say you've been using the Comment_ field to contain information about recipients' interests in sports. You can use an A or B condition to include your conditional text to anyone whose interest is skating or hockey. If a recipient has expressed an interest in either sport, the text you specify will be sent.

 

If you'd like to send a message to those who have shown an interest in both skating and hockey, you'll want to use an A and B Condition.

 

For more information about conditions in general, see Inserting a Condition.

 

 

If This Field

Select the field you'd like ListManager to examine in order to insert conditional text. See Inserting a Condition for more information about the fields available to you.

 

Is

Select the relationship between the field and value you specify. 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

 

OR Is

Selects another relationship between the field and value you specify. The options available are the same as for "is" (above).

 

More

If you'd like more values, select More. Each time you select More, another OR Is and This Value pair of fields will be added.

 

Fewer

If you've added too many values using more, and would like to remove them, select fewer. Each time you select fewer, the last OR Is and This Value pair of fields will be removed.

 

Then Insert This Text

The text that should be inserted into the message if the recipient meets your condition(s). 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(s).

Inserting an A or B Condition

 

This example shows how to send a special message to all members have shown an interest in skating or hockey, which has been recorded in the ListManager Comment_ field.

 

1. While creating content, click insert condition. You'll be taken to the Insert Condition: Simple page by default.

 

2. Click on the A or B tab.

 

3. Select Comment_ next to If This Field.

 

4. Select Contains next to Is.

 

5. Enter skating next to This Value.

 

6. Select Contains next to OR Is.

 

7. Enter hockey next to This Value.

 

8. Create your special message for skating and hockey fans in the field next to Then Insert This Text.

 

9. Optionally, you can create a message for everyone else who isn't a skating or hockey fan. None is included in this example

 

10. Click on Insert. The conditional content will be inserted into your message:

 

%%ifboolean comment_ contains skating OR comment_ contains hockey "The Iceland rink will be closed for Zamboni repairs."%%

 

More

 

1. Content: Insert Condition

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