Skip to main content

Dynamically Change a Field Label in Response to User Actions

Learn how to make your forms respond intelligently to user selections by dynamically changing field labels when specific conditions are met.

Updated over 9 months ago

Using rules, you can configure Formulayt forms to react dynamically to user actions. This guide explains how to change field labels based on user inputs.

Creating dynamic label rules

Here's how to change a field label in response to user selections:

  1. Navigate to the field you want to modify in the manage fields area

  2. Add a new rule with the following settings:

    • Set trigger to Continuously so it reacts in real-time

    • Add your conditions based on other field values

    • Configure the actions to change the field label

Example: Event registration form

In this example, we'll modify a comments field label based on dietary requirements:

  1. Navigate to the comments field in the manage fields area

  2. Add a rule with these settings:

    • IF the field value for dietary requirements is yes AND the Form Type is Event Registration

    • THEN change the label of this field to My Dietary Requirements

    • OTHERWISE reset the label of this field back to its original value

  3. Save the rule and push the changes live or preview them to test

Testing your dynamic labels

Locate the relevant gate and preview it to verify that your rule is working correctly.

Did this answer your question?