Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Categorieschildren

Live Search

depth

spaceKey

2

OMEDACLIENTKB

allChildren

size

true

large

stylepageWelcome to

placeholderSearch the Omeda

Client

Knowledge Base

sortAndReverse

type

first0

page

The Expressions tab will bring you to our expression builder which will allow you to create simple or complex logic. Expressions can be used for displaying or requiring content on your form, sending emails, or directing users to different pages or different URLS based on defined criteria the visitor meets. For example, if you want the Zip Code field to only be required for subscribers from the United States or Canada, you would create an expression for this. You can create an expression from the Expression tab or you can create them directly from builder.

image-20240520-182613.pngImage Modified

Expression Dashboard

The Expression Dashboard lets you filter down, sort, and search for the already existing expressions. You can also Create, Edit, Copy, or Archive individual expressions here as well.

Expression Builder

Let’s go through all the pieces of Expression Builder to get a better understanding how to edit/create an expression.

Left panel: Lets you search for an existing expression and add it to the current one you’re working on.

image-20240520-182621.pngImage Modified

Title: Name your expression something clear and descriptive so you know what the expression’s purpose is.

image-20240520-182628.pngImage Modified

Canvas: This is where you’ll build your expression. Select the Starting Operator (AND / OR). You’ll be able to add individual Items or Groups, or Individual Items and Groups within other Groups. You’ll also be able to delete Items/Groups. See expression Sample section.

image-20240520-182635.pngImage Modified

Expression Settings: This is where you will select the logic. Choosing which fields and values you want to target. Depending on what Category you select will dynamically display what’s available to use in the remaining fields.

image-20240520-182643.pngImage Modified

Edit

To edit an existing expression, click the ‘Edit’ button on any expression in the action menu.

image-20240520-182653.pngImage Modified

This will open your expression above in the builder. If you need to delete an item, hover over the box and click the ‘Delete’ button:

image-20240520-182705.pngImage Modified

To add an item within a group, select the Add Item+ button within an existing group.

image-20240520-182717.pngImage Modified

To add another group within a group, select the Add Group+ button inside an existing group.

image-20240520-182725.pngImage Modified

To add an individual item, select the Add Item+ button.

image-20240520-182733.pngImage Modified

To create a new group, select the Add Group+ button.

image-20240520-182759.pngImage Modified

Copy

This will copy the expression. You can rename and add or delete any items.

image-20240520-182812.pngImage Modified

Archive

If you want an expression removed from the Active list, select this option:

image-20240520-182825.pngImage Modified

If you try to archive an expression that is being used on a form, you will receive an error letting you know which form(s) the expression lives on. To archived the expression, you will need to remove it off the listed forms first, then archive the expression.

Add

If you want to add an existing query to another query, select ‘Edit’ on the query you are working on, use the search bar in the left panel to search for the query, then select the ‘+’ button on the query you want added to the query you are editing.

image-20240520-182835.pngImage Modifiedimage-20240520-182846.pngImage Modified

Sample

Follow the steps listed below to create a new expression. The goal of the expression in the example is to direct domestic subscribers who requested a print version of a magazine or any subscriber who selected digital, past the payment page so these subscribers are not required to pay.

  1. Navigate to the Expressions tab in the Navigation bar

  1. Select the Create + button

  1. Create a title for your expression in the title text box.

image-20240520-182854.pngImage Modified
  1. Since we’re creating two conditions (USA Print OR All countries Digital), we’re going to start of by creating two groups. To do this, click the Add Group + button twice.

image-20240520-182901.pngImage Modified
  1. Delete the first condition as we wont need it for this expression. If you need to create an expression that starts without a group, you would start your expression there.

  1. Switch the operator between the groups to OR since we’re doing the first group as country = USA and version = print OR the second group as version = digital.

image-20240520-182914.pngImage Modified
  1. Let’s add content into our first group. First, we’ll add Country equals USA. Click on the text in the first group box. The expression settings will appear in the right panel which is where you will define the criteria.

image-20240520-182922.pngImage Modified
  1. In the Expression Settings panel, click on the Category dropdown and select Contact Information. The Category field will drive what displays in the Content drop down.

  1. Next, search for Country and select either the Business or Residential Address Country (whichever one you use on your forms).

  1. If your expression should only be looking at elements of a particular product, select that product from the Product drop down. For this example, we are not looking at the Country field specific to a product so we’ll keep the default of “All Products”.

  1. The operator will be set to “equals”.

  1. We will set the value to “United States”.

  1. Select Save.

image-20240520-182931.pngImage Modified
  1. Now, let’s add the Requested Version equals Print to the first group (Country equals USA AND Requested Version equals Print).

  1. Select the Add Item+ button in the first group.

image-20240520-182939.pngImage Modified
  1. Define the criteria in the Expression Settings panel. For this example:

image-20240520-182946.pngImage Modified
  1. Now we’ll want to add criteria to the second group: Requested Version equals Digital. By defining this criteria in the second group, any visitor who selects digital as the requested version, regardless of what they selected in the Country field, will skip the payment page of our form.

  1. Click on the text in the second group “Start your expression by configuring the content from the right” to begin configuring the Expression Settings.

image-20240520-182956.pngImage Modified
  1. Save and you’re done! Now the expression can be used on any of forms that contain the fields defined in the expression.

Table of Contents

Table of Contents
stylenone