Hi Minesh,
Thanks it works ! Last question if I want to put a message if there's no town availalble, can I make a conditionnal statement on the view itself ?
As the field ville is belonged to repeating field group and we are checking if [types field='ville'][/types] is empty, we can not display the name of the ville as the value is not available, its empty.
So, we can add the conditional statements as given under to the following view.
=> hidden link
<h1>Some advocate in the same town </h1>
[wpv-conditional if="( '[types field='ville'][/types]' eq '' )"]
Not another advocate available
[/wpv-conditional]
[wpv-conditional if="( '[types field='ville'][/types]' ne '' )"]
[wpv-view name="avocat-same-ville" currentcity="[types field='ville'][/types]"]
[/wpv-conditional]