The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
View Filter - Multiple Values with Not Like problem - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: View Filter - Multiple Values with Not Like problem (/showthread.php?tid=4543)



View Filter - Multiple Values with Not Like problem - bhotrock - Aug 13th, 2014

Hi,

I am trying to build a view that filters out (does not display) submissions that have email addresses from certain domains. I am using the pipe character: | to enter the two values like so:

Field: Email
Operator: NOT Like
Value(s): example1|example2

The view does filter out the submissions that have "example1" addresses, but it still includes submissions that have "example2" addresses.

If I reverse the order, then "example2" are filtered out, but "example1" addresses are still shown.

The examples in the documentation only show using the Equals and NOT Equals operators. Does the pipe not work with Like? I can't use Equals because each email address will be different and only has the domain name in common.

I am using core version 2.2.6.

Thanks for any help that anyone can provide!


RE: View Filter - Multiple Values with Not Like problem - bhotrock - Sep 16th, 2014

Hi All,

I just wanted to bump this to see if anyone else has been able to filter using multiple values to work with LIKE or NOT LIKE.

Just trying to figure out if something is broken on my install, or if this functionality is limited to EQUALS and NOT EQUALS operators.
Thanks!


RE: View Filter - Multiple Values with Not Like problem - Joe - Sep 18th, 2014

Hi,

You can actually select the LIKE or NOT LIKE operator from the drop down. However, the OR operator or the pipe character does not work in the views.

Cheers,

Joe


RE: View Filter - Multiple Values with Not Like problem - bhotrock - Sep 22nd, 2014

Thank you Joe!

I wish this was available in the views. But it's good to know that the problem isn't with my configuration. I can move on to finding a work around. Thanks again for your response!