Post

3 followers Follow
0
Avatar

Preg_match_gf in Podio?

Hi, I have a problem with a calc fied. I need to find a specific word within a text string. I've been watching and through globiflow it can work with "preg_match_gf", but I need to be able to use it in Podio by calc field

Jose Antonio Moyano

Please sign in to leave a comment.

3 comments

0
Avatar

Hello Jose, 

do you need to check if the text contains that word - and then run a calculation (if found show /do that if not show/do this)? 

To check if text contains the word: 
@text.indexOf("word") > - 1 ? show this : show that

Rainer
 

Rainer Grabowski 0 votes
Comment actions Permalink
0
Avatar

if (@YOUR FIELD.indexOf("YOUR WORD") >-1) {

YOUR ACTION 

}
ELSE

{

EXAMPLE 

}

kareem ahmed asfour 0 votes
Comment actions Permalink