How to use both shorttext and longtext variables in a conditional

June 16, 2021

The potential values for a conditionally defined variable must all share a data type. If you have 2 richtext variable and 1 shorttext variable, you won't be able to use all 3 in a conditional. Unless you recast the shortext variable into a richtext type. This FAQ will show you how.

Step 1: Create a Text Block

Text Blocks are a type of logic block that define a richtype variable.

Step 2: Add your shorttext variable as the value for the

All done

Now you have 3 richtext variables which you can use in your conditional.

Hire an Afterpattern expert

Go from idea to launch in weeks.

View services