Table of Contents |
Links
Overview
Link is the name used to describe an element that navigates you to another page, whether it is to the Dashboard, another form, or an external site.

To add a Link element, go to Base Types > Link and add it to the canvas.
There are other types of link custom types that should be used over the Link base type.
For external links, you should go to Custom Types > Links: Resource Link and add it to the canvas.
For a link to the Dashboard, you should go to Custom Types > Links: Return to Listing and add it to the canvas.
For a link to another Form, you should go to Custom Types > Links: Navigate to Form and add it to the canvas.
Type of Data Stored
A Link stores no data and has no state (unchecked / checked, populated, etc).
Attributes
Link Base Type
Attribute | Description |
---|---|
content (Language Support) | This attribute applies the visible text that will appear in the Link element. This text can be different from the href URL.
For more information on styling within a content attribute, please read the lesson about the Text / Label Base Type. |
href | This attribute should be set to the value of the external URL of the target page that will be opened.
The URL should contain the https:// part of the URL, or unexpected behaviour may occur. |
target | This attribute should always be included and be set to the value of “_blank”. Omitting this attribute will cause the current clevr tab to browse to the link, instead of opening a new tab. |
Links: Resource Link
Attribute | Description |
---|---|
content (Language Support) | This attribute applies the visible text that will appear in the Link element. This text can be different from the href URL.
For more information on styling within a content attribute, please read the lesson about the Text / Label Base Type. |
onclick | This attribute is used to open a new tab to an external website when this element is clicked.
The value of this attribute should be set to the following code, replacing with the URL of the target page, while keeping the quotation marks (“). window.open(“”); The URL should contain the https:// part of the URL, or unexpected behaviour may occur. |
Links: Return to Listing
Attribute | Description |
---|---|
content (Language Support) | This attribute applies the visible text that will appear in the Link element. This text can be different from the href URL.
For more information on styling within a content attribute, please read the lesson about the Text / Label Base Type. |
Links: Navigate to Form
Attribute | Description |
---|---|
content (Language Support) | This attribute applies the visible text that will appear in the Link element. This text can be different from the href URL.
For more information on styling within a content attribute, please read the lesson about the Text / Label Base Type. |
formLinkID | This attribute is required and should have the value set to the formID of the target form.
Please note that the users that are intended to use this type of link will require Rights to the target form, or they will be presented with an error. |
formLinkNewRecord | This attribute is required and should be set to either “true” or “false”.
If this attribute is set to “true” and this link is used to navigate to the target form, it will always create a new record for the person. If this attribute is set to “false” and this link is used to navigate to the target form, it will only create a new record if the Person doesn’t have a record for the target form. If the user already has a record, it will open the existing record. |
formLinkUserRec | This attribute is optional and should be set to either “true” or “false”.
When this attribute is set to “true” and this link is used to navigate to the target form, the record that is opened on that form will be for the User and not the Subject of the Form. If this attribute is omitted or set to “false” and this link is used to navigate to the target form, the record that is opened on that form will be for the Subject of the Form. |