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



Form Tools
Search not working - 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: Search not working (/showthread.php?tid=1743)



Search not working - cbrman97 - Nov 9th, 2011

Hello.
I have 2.1.8 installed fine. I've created a form and entered 3 records. Every field in my form is set to be searchable. When I view the form, I see all 3 records. fF I search by the field called "Agent Name" to narrow down the records, it says no records match the criteria. That can't be right when you can clearly see Agent Names of all 3 records when viewing "All Records".

To see it:
1) go to eneix.com/forms
2)user: BE
pass: Online71

View the 3 records. Then search the "Agent Name" field for "Chris". There are 2 records for Chris but the search shows no records found.

What am I missing?!?

Thanks for the help!


RE: Search not working - Ben - Nov 10th, 2011

Hi cbrman,

Ahh... it searches by the option list *value*, not what's being displayed in the dropdown. In your case, the "Agent" dropdown has numeric values for each agent (e.g. Chris = 2), so you need to search by the numeric value to find all of Chris's results.

NOT exactly terrific. Hmm... I'm going to log this as a bug. What should really happen is that the search bar should show a second dropdown containing all the valid values. Or, worst-case, search on the displayed values.

In the meantime, can you change the Option List to store strings for the Option List values instead of the numeric ones? Or are you using a Client Map filter - or have some other reason for the numeric values?

- Ben


RE: Search not working - cbrman97 - Nov 10th, 2011

Ben,
I figured this out while I was waiting for a response. It cost me what little hair I have left!

you are exactly right and I "fixed" it by changing all the values to match the name. I had several options lists to update that way.

Thank you for the response. It doesn't help I'm new to php and mysql or I would have figured it out sooner.

Your suggestions for change sound like a fantastic idea!!

Thanks again!

Bill