Building3 Min.

How to use the text (single line) block

Learn everything you need to know to use the text (single line) block in your forms.


When to use

Use the text (single line) block to let your respondents enter a text answer that consists of one line. Mostly used for short text answers, like personal data.

You also can extend the text input with suggestions to let the respondent select from a list of suggestions you give them, while they are typing.

Screenshot of text inputs in Tripetto
Demonstration of a text single line block. The second question shows the usage of suggestions.

How to use

Add a new block to your form and then select the question type Text (single line). You can now customize this block to your needs with the following features.

Basic features

Each question block has basic features to present the block the way you need, for example Name, Description and Help text. And most of the question blocks have common options, like the Required and Exportability options.

More information about these basic features can be found in the help article about our form builder.

Additional features

On top of those basic features, the text (single line) block has the following advanced options:

  • Character count

    By enabling the Character count feature, you can control the amount of characters your respondents can enter. You can set the Minimum and Maximum character count.

  • Autocomplete

    By enabling the Autocomplete feature, you can use the autocomplete functionality of the respondent's browser to help the respondent to fill out the form as quickly as possible. You can select which autocomplete value you'd like to insert, like the name or address of the respondent.

  • Suggestions

    By enabling the Suggestions feature, you can extend your text input with suggestions that popup while the respondent types in your text input (more information).

  • Transform

    By enabling the Transform feature, you can determine how the answered text should be transformed. For example you can capitalize certain parts of the answer, or convert all characters to lowercase/uppercase.

  • Prefill

    By enabling the Prefill feature, you can set a fixed initial value of the text block (more information about prefilling).

Screenshot of the form builder in Tripetto
Advanced settings of the text single line block.
Screenshot of the form builder in Tripetto
Autocomplete options of the text single line block.

Suggestions feature

You can extend your text input with suggestions that popup while the respondent types in your text input. The respondent can quickly select an item from your suggestions list. This way your text input can behave as a combination between a text input and a dropdown box.

To activate this, enable the Suggestions feature. Now you can add/import your list of suggestions that you want your respondents to choose from.

Screenshot of the form builder in Tripetto
List of suggestions in the text single line block.

Logic

Logic is important to make your forms smart and conversational. The text (single line) block can work with the following branch conditions to help you with that:

Block conditions

  • Text matches your filter;
  • Text does not match your filter;
  • Text contains your filter;
  • Text does not contain your filter;
  • Text starts with your filter;
  • Text ends with your filter;
  • Text is empty;
  • Text is not empty.

Filters

When we mention your filter(s) above, there are some different filters that you can use to make the right comparison:

  • Text - Compare with a fixed text that you enter;
  • Value - Compare with another block value entered in the form by a respondent (more info).

Discover our form blocks

How to use the...
In this article

    Help us improve