This topic is locked
[SOLVED]

edit box with ajax lookup problem

2/23/2025 1:29:16 PM
PHPRunner General questions
francesco author

I’m using an AJAX lookup field in PHPRunner, but not all values appear because the suggestion list is limited. How can I confirm the value I type if it doesn’t show up in the dropdown? If I don’t confirm the value (e.g., by selecting and clicking it from the suggested list), the search never actually executes. In other words, simply typing a value doesn’t trigger the database lookup, so I’m unable to perform the search for anything that doesn’t already show up in the suggestion list. I'm using version 10.91

lefty 2/23/2025

I had this same issue years ago, I got the results to work more efficiently by
using this

$ajaxSearchStartsWith = false;

in after application initialized event. This way it won't use the first letter but get anything that starts with the first few you type even if it does not start with.

francesco author 2/24/2025

I solved with $suggestAllContent = true; and $ajaxSearchStartsWith = true;
But I lost funcionality of full text search that was useful in other project fields