Building2 Min.

How to use the URL block

Learn everything you need to know to use the URL block in your forms.

When to use

Use the URL block to let your respondents enter a URL to a website, including automated checks for valid addresses.

Screenshot of a URL block in Tripetto
Demonstration of a URL block.

How to use

Add a new block to your form and then select the question type URL. 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.


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

Block conditions

  • URL is empty;
  • URL is not empty.

Evaluate conditions

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


When we mention your filter 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).


You can use the calculator block to perform calculations with given answers. The URL block supports the following calculation operations:

  • Compare - Compare a URL and output a value based on the result of the comparison;
  • Character count - Count the number of characters in a URL;
  • Word count - Count the number of words in a URL;
  • Line count - Count the number of lines in a URL;
  • Count occurrences - Count the number of occurrences of a certain text, character or regular expression in a URL;
  • Convert to number - Convert a URL to a number value.

Discover our form blocks

How to use the...
In this article

    Help us improve