Text Variables

Overview#

A step in your form may need to show a dynamic piece of text depending on custom logic or collected data.

Example#

For example, you might need to display the user's name after collecting it on a previous step.

In your Feathery dashboard, you can denote a text variable with double curly braces like: {{first-name}}.

If the text variable matches the ID of the field of interest, Feathery will automatically populate it with the right value. You can also create custom variables and set their value manually through lifecycle functions (e.g. onSubmit) by calling context.setValues({<customFieldID>: <customFieldValue>})