Place the code in the hooks folder into the file called TABLENAME-dv.js

$j(function() {
if ($j(‘input[name=”SelectedID”]’).val()==””) { $j(‘#Link’).hide() }
})