IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#32961 - 05/18/10 04:52 PM Check for 2 conditions
Adam Delaney Offline
Junior Member

Registered: 05/21/09
Posts: 15
Loc: Iowa City
I would like to setup a variable image that is inserted based upon 2 variables, can this be done (possibly with nested loops)?

Top
#32962 - 06/11/10 10:17 AM Re: Check for 2 conditions
Anonymous
Unregistered


Hi,

It is certainly possible to use several variables in a single expression. For example, an image box can have this expression as the image file name:

IF( @Country@="US" AND @gender@="male","US_Male.jpg","other.jpg")

i.e. display US_Male.jpg if country=US and gender=male, otherwise display other.jpg


Hope this helps!

Benoit

Top