Configure Links

Use the link control to insert a URL into a form. You can specify the value for the link URL or configure the URL value to change dynamically based on the payload. For example, a URL link that contains an order item could change based on the order ID, which could be in the payload.

  1. From the Basic Palette, drag and drop a Link control onto the canvas.
  2. Select the control and edit its properties on the Properties pane's General tab.
    Field Description

    Name

    Defines an internal name for the control. It’s an internal identifier that you’ll use to identify the control.

    Label

    Specifies the control name that displays to a user.

    Static

    Select this option to use the value in the Default Label field as the control name when the form loads. This is the default selection.

    Dynamic

    Select this option to assign the control name dynamically when the form loads. If you select this option, you must create a data attribute in the Data pane and link it to the control using the Label Binding field. When the form loads, the value of the data attribute is fetched from the payload and assigned as the control name.

    Note:

    If the attribute value is not available in the payload, then the value in the Default Label field is used as the control name.

    Label Binding

    Defines a link between the control’s label and a data attribute. Specify an attribute for this field by selecting an option from the autocomplete list or entering a valid binding.

    Default Label

    Sets a label to display to users when the form loads. The value in this field is used as the control name in the following contexts:
    • When you select the Static option in the Label field.

    • When you select Dynamic option in the Label field but the binding value is not available.

    Value Binding

    Defines a link between the control and a data attribute. Data attribute bound to the control, either automatically when Auto Binding is enabled or manually using autocompletion.

    Computed Value

    Set this property to apply a computation to the control. See Create Computed Controls.

    Default Value

    Sets a value to display to users when the form loads and the current control value is empty.

    Open

    Specifies whether you want the link to open in the current tab or in a new tab.

    Anchor

    Select this check box to enable linking to specific controls in the current form. When you select this check box, the Default Value field changes to a drop-down menu that lists names of all controls present in the form. Select a control name to which you want to link. All Basic Palette, Money, Phone, Image, and Video controls , if present in the current form, appear in the Default Value field. However, controls within repeatable sections, tables, or imported from other forms (unless detached) do not appear in the drop-down list.

    Note:

    If the URL value for the link is set from binding or events, the value selected in the Default Value field is overridden.

    Hide

    Select this check box to hide the control. For example, you might hide a control by default, but configure another control that when selected triggers an event that displays the hidden control.

    Events

    Specifies events that trigger actions and conditions. You can customize the control’s behavior by configuring events. See Add Dynamic Behavior to Forms.

  3. On the Styling tab, edit the control's styling properties.
  4. Click Preview to try out using the control.