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
#41550 - 11/29/12 02:28 PM Help with Condition
wojciechm Offline
OL User

Registered: 10/14/11
Posts: 75
Hi,

I'm not sure how to make a text condition that will =true when any character is found in a specified region or location. I tried using the "*" character but it seems to be looking for that character as opposed anything. I also tried " " (space) and then invert the condition but that wouldn't work (so if it is anything but space then = true). I also tried no character in the "String to Find" field but that didn't work. Anyone has a better idea or a ready advance condition to use here? Thanks in advance

Voyteck

Top
#41551 - 11/29/12 04:06 PM Re: Help with Condition [Re: wojciechm]
JFLAIR
Unregistered


Voyteck,

A way to set the condition could be
Code:
=trim(@(region or location))<>''
which will look into your region or location and validate that it is not empty. If it's not empty, it will be true.

Let me know if that helps.
Regards,

Top
#41553 - 11/30/12 08:31 AM Re: Help with Condition [Re: ]
wojciechm Offline
OL User

Registered: 10/14/11
Posts: 75
Thank you for the reply JFLAIR. This condition comes out true whether there is something in the region or not frown Could you please double check it for me? Thanks a lot again

Top
#41554 - 11/30/12 09:01 AM Re: Help with Condition [Re: wojciechm]
JFLAIR
Unregistered


Voytech,

Did you copy/paste the code or did you wrote it? If you wrote it just be aware that there is no spacing between the quotes.

This condition should work.
Regards,

Top
#41558 - 11/30/12 09:42 AM Re: Help with Condition [Re: ]
wojciechm Offline
OL User

Registered: 10/14/11
Posts: 75
yes that was it that space between the ' ' smile Thanks a lot

Top