This topic is locked

Edit Box with AJAX popup search inside value

9/29/2024 5:50:25 PM
PHPRunner General questions
A
asawyer13 authorDevClub member

I am using a Lookup Wizard on a parf number lookup.

I am diplaying the part number column.

Right now if I search for 123 it finds anything that starts with 123.

Is there a way if I search for 123, it will pick up 123 anywhere in the part number?

Alan

Davor GeciDevClub member 9/30/2024

Hello Alan,

yes, you only need to add 1 line of code to the "After application initialized" event:

//This parameter changes the way Lookup Edit box with ajax popup works, so it doesn't just search from the beginning but inside strings like LIKE % searchstring %
$ajaxSearchStartsWith = false;