make your links like this :
<a href="#" onclick="if(confirm('There are no fields to generate a report'))
window.location='evalhome.php';else return false;" name="link1"> HOME </a>
if user clicks on it, he will see a confirmation, if he press ok, he will be redirected to evalhome.php
. if not, stays in the same page.