If statement contains multiple key words to test
-
Greetings,
Is it possible to include multiple keywords in “contains” parameter of an if statement?
Here’s the example that is provided in documentation:
[if field=title,content contains='some keywords']
Can I have something like?
[if field=title,content contains='.mp3, .mp4']
That way I can test scenarios like if a url entered contains a .mp4 or .mp3. I’ve tried tweaking the short-code in many different ways, but not getting any luck.
Can you please advise?
Thanks,
Kendell
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘If statement contains multiple key words to test’ is closed to new replies.