I have a guest of field that I’m needing to search “firstname lastname” AND “firstnamelastname” using API
For example promoter comes to form page and enters their name. I need a count of all selected lists that has his name. Issue is promoters are not always using correct format causing a space or no space between their names when being inserted.
Here is the snippet of code I’m using.Currently I can’t run both filters at the same time as it returns an error.
Curious if anyone has any ideas. - Thanks in advance.
'api_action' => 'contact_list',
'api_output' => 'serialize',
'filters[fields][%GUESTOF%]' => $myname,
//'filters[fields][%GUESTOF%]' => $mynames,