Hi,
ops, sorry for my reply
(missing something)
Yes, this is not possible with a simple way, but there is an alternative.
you can add a text field (hidden on profile, edit profile and registration) that contains these 3 values and search by this field.
so if you have:
- location: "value1"
- city: "value2"
- postcode: "value3"
then new field will contains "value1 value2 value3"
to fill value in this new field you need to write a simple plugin based on our skeleton plugin, follow these steps:
- Download, Install and Enable Skeleton Plugin (you will find it at
http://docs.easy-profile.com/index.php/article/triggers)
- remove samples functions: triggerFieldAvatarUpdate, triggerProfileUpdate
- add function like this:
public function triggerProfileUpdate($user,&$data,$changed,$isNew)
{
$value='';
if( isset( $data[ 'location' ] ) ) $value .= $data[ 'location' ];
if( isset( $data[ 'city' ] ) ) $value .= $data[ 'location' ];
if( isset( $data[ 'postcode' ] ) ) $value .= $data[ 'location' ];
$data[ 'newfieldalias' ] = $value;
}
in this code I assumed following field alias:
location -> location
city -> city
postcode -> postcode
new field -> newfieldalias
NOTE:
This code is not tested and not supported, this is only for example purpose.
Docs about API to do this at
http://docs.easy-profile.com/index.php/article/triggers