There are two options.
Option 1. Url Field
As of dbFront 1.1.2.1304, you can simply change the subtype of the field to Url. You can then specify that the field should be shown as a link. dbFront will automatically add a button to the field allowing users to follow the link. Right-clicking on the button also allows opening the link in a new tab or popup.
Option 2. Open URL Action Button
An action button allows greater control and functionality.
To setup an Action Button:
- Create a field that will contain the user entered URL, or a view
field that returns a properly formatted URL.
- Create an ActionButton
- Set it to the Open URL type.
- Setup the URL so that it uses the field created in Step 1.
- Set the visibility of the Action Button so that it is hidden if the field created in Step 1. is null.
For more details see: Open URL Action Button