Skip to main content

Working with Labels

Learn how to edit, dynamically change, and add links to field labels in Formulayt

Updated over 2 months ago

This guide shows you how to work with field labels in Formulayt, using the example "I have read and agree to the terms and conditions" throughout.

Editing labels

Labels are the text that appears to users on the form alongside or above the field input. To edit a label:

  1. Navigate to Setup > Fields

  2. Select the field you want to edit

  3. Update the Label field with your desired text

For complete details on field configuration options, see our Managing Fields guide.


Dynamically changing labels

Using rules to change labels

Rules allow you to change field labels based on specific conditions such as user country, campaign ID, or other field values.

Example: Change label based on user country

Trigger:

  • Set to run continuously (since country can change in real-time)

Conditions (IF):

  • Field: country

  • condition: equals

  • Value: US

Actions (THEN):

  • Action: Change field label

  • Field: terms_checkbox

  • New Label: I have read and agree to the terms and conditions

  • Translation Label: TermsAndConditionsUS (identifier for finding this text in the translations area)

Otherwise:

  • Action: Change field label

  • Field: terms_checkbox

  • New Label: I have read and agree to the terms of service

  • Translation Label: TermsOfService (identifier for finding this text in the translations area)

Using translations to change labels

If your labels need to appear in multiple languages, use the translations area:

  1. Navigate to Setup > Translations

  2. Locate the relevant phrase for your field label

  3. Select the language you want to edit

  4. Enter the translated label text

For example, the Spanish version might be: "He leído y acepto los términos y condiciones"

For complete details on translation management, see our Managing Translations guide.


Adding links to labels

Method 1: Using Field Settings to add a link

  1. Navigate to Setup > Fields and select the field

  2. Add the link in HTML to the label field:

html

I have read and agree to the <a href="https://www.companyname.com/terms" target="_blank">terms and conditions</a>.

Method 2: Using translations to add links in multiple languages

  1. Navigate to Setup > Translations

  2. Locate the relevant phrase for your field label

  3. Select the language you want to edit

  4. Add your HTML link to the translation text

For example, the Spanish version might be:

html

He leído y acepto los <a href="https://www.companyname.com/es/terms" target="_blank">términos y condiciones</a>.

This ensures each language links to the appropriate terms page.


Using tokens at scale

Tokens allow you to inject dynamic data into your labels, making it easy to manage variations at scale without creating multiple fields or complex rules.

How it works:

  1. Create a hidden field to store your dynamic value (e.g., different terms and conditions URLs)

  2. Use rules to populate that hidden field based on conditions (language, country, campaign, etc.)

  3. Click the {*} icon in your label field to insert a token

  4. Select your hidden field as the token source

  5. Set a default value if needed

This approach allows you to manage complex variations centrally through hidden fields and rules, rather than maintaining multiple versions of the same label.

For complete details on how to implement tokens, including step-by-step examples, see our Using Tokens to Inject Dynamic Data guide.


Best practices

  1. Keep labels clear and concise

  2. Always provide a default label value as a fallback

  3. Test your rules and translations thoroughly to ensure the correct labels appear in all scenarios

  4. Use descriptive link text (e.g., "terms and conditions" rather than "click here")

  5. Ensure all linked URLs are valid and lead to the correct pages

Did this answer your question?