Hi All,
I would like to let users enter keyword(s) into a text box and filter a column using the CONTAINS() function. I have the text box setup already using a multiline option checked and would want to understand how to configure the Formula in the Action Tool. Here is what I have that solves for a IN function but I'd like to do the same for the CONTAINS() function and separate each CONTAINS() function w/ an OR --- but not end w/ the OR (so the formula works).
Here is configuration for the IN function in the Filter Tool:
[URL] in ('keyword')
Here is the configuration in the Action Tool:
IF !ISEMPTY([#1])
THEN Replace([Destination],'keyword',REGEX_REPLACE([#1],'\n',','))
ELSE Replace([Destination],'[URL] in ('keyword')','1=1')
ENDIF
Please let me know if there's any questions!
Best,
Henry