If...then...else

S

Steve B.

I am currently using "If...then...else" statements to
return a merge field, if a certain condition is met. Does
anyone know if there is a way to specify 2 conditions
instead of just 1? Sometimes I need to specify if EITHER
of these 2 conditions are met and other times I need to
specify if BOTH OF these 2 conditions are met.

Thanks for any guidance.

Steve B.
(e-mail address removed)
 
G

Greg Maxey

Steve,

You have to use nested if fields and the order will determine if it is
evaluated AND or OR.

Example Bookmark A - True or False
Bookmark B - True or False

The AND field code looks like this:

{ IF A = "True" "{ IF B = "True" "True" "False" }" "False"

The OR field code looks like this:

{ IF A = "True" "True" "{ IF B = "True" "True" "False"}"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top