The locator already does this for the user fields. If the user field is empty, it will not print the field label or the value of the field.
I am attching a set of results_list.php and results_details.php files to this post. You can download these 2 files and upload them to your locator's root directory.
With the new files in place, you can put the following placeholders inside your results_list_format.htm and results_details_format.htm templates.
{telephonelable}
{faxlabel}
{emaillabel}
{websitelable}
Like this:
CODE
<tr>
<td><font class="normal">{telephonelabel} {telephone}</font></td>
</tr>
And it will print out like this if there is a value in the field:
Phone: 555-1212
Fax: 555-3434
Email: email@site.com
Web: www.site.com
It will print nothing if the field is empty.
These fiels are for v2.5 only
Hope this helps! Let me know if there are any problems with the new files.