Add a Hyperlink to a table column
Use a Hyperlink control to redirect a user to another form or to a control on the current form within a table cell.
For example, a company often provides hyperlinks on a website that redirect a user to a different web page. On a Shoppers Comparison website, a list of recommended suppliers is displayed in a table format. In the last column, each supplier's URL is displayed using a hyperlink control, which, when clicked, brings the user to the supplier's website.
You can use an image for a hyperlink.
- Add columns to a table.
- On the Data type list, select String.
- On the Type list, select Hyperlink.
- On the Action list, select the Redirect action. See Create a Redirect action.
-
To display the hyperlink as an image, do the following:
-
Select
Show button.
The Load image from store option appears.
-
Do one of the following:
-
To use an image from the store, select Load image from store and select the image on the Image path list. To view the preview, click Preview image.
-
To use a custom image, clear Load image from store, and enter an image name, such as abc.png or the URL to the image in the Image path field. The name must match the image name in the database for the image to display at runtime. At runtime, the image will be loaded in relation to the Base Image URL defined in Server Settings> Settings> Forms tab.
-
- Optional. Enter the Alternative text to display at runtime on moving the pointer over the image.
-
Select
Show button.
- Click Save.