I have created a custom Formula field for a Travel object and inserted HYPERLINK formula:

HYPERLINK( "https://apps.fas.usda.gov/visa_requirements/index.asp" , "Link to Foreign Agricultural Service Country Visa Requirements")

It is in the appropriate page layouts. I am Previewing it and when I click on it I get an error message although Syntax is fine.

Any ideas?

Image of page layout preview where when clicked the link opens a new browser with error and the URL when clicked goes to this page:


enter image description here

  • 1
    I think this is because of preview. Save layout and try on actual record.
    – ytiq
    Jan 16, 2020 at 19:50

1 Answer 1


This works fine in both Classic and Lightning. You just can't click it in the Lightning preview mode, I think.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .