If you want to only display the link if the field is filled in, you'll need to use an expression. Arcade has a function IsEmpty that would work well here.
var p = $feature.pdfField
if(IsEmpty(p)){
return 'No PDF'
} else {
return p
}
- Josh Carlson
Kendall County GIS