Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Text & scale fields: Short text, Long text, Website, Slider

The four free-form question types in dForms: Short text, Long text, Website and Slider. Learn how placeholders work, how to set a minimum and maximum length on Long text, how the Website field validat

These four types live in the Text group of the question gallery. Use Short text for a one-line answer, Long text for a paragraph, Website for a validated web address and Slider for a number on a scale. This page covers the settings each one offers and what respondents see.


Step 1: In the editor, click Add question under the canvas. In the Add a question dialog, look at the Text group: Short text (One line), Long text (Paragraph), Website (Validated URL) and Slider (Rating scale). Click a tile to drop that question into your form.

The Add a question dialog with the Text group highlighted: Short text, Long text, Website and Slider
The Text group of the question gallery.

💡 Tip: You can change the type later. In Question settings, open the Question type select and pick another type. The question keeps its place in the list.


Short text and Long text

Short text shows a single-line input. Long text shows a multi-line box for longer answers. Both store exactly what the respondent typed.

Step 2: Select the question in the Questions list. Type the question on the canvas (Type your question…) and, if you want, a helper line (Add a description (optional)). In Question settings, fill in Placeholder: the ghost text shown inside the empty input. The canvas updates as you type.

A Short text question on the canvas with the Placeholder field highlighted in Question settings and the ghost text visible inside the input
The Placeholder appears inside the input on the canvas and in the live form.

What you can set on both types:

Setting
Where
What it does

Required

Question settings

On by default. Respondents cannot continue with an empty answer.

Placeholder

Question settings

Ghost text shown inside the input while it is empty. Leave empty for none.

Default answer

Advanced settings

Pre-fills the answer when the link carries no value for this field. A value in the URL always wins over it.

Field key

Advanced settings

The name the answer is stored under, the URL parameter that prefills it, and the token you type between brackets to recall it later.

Hidden question

Advanced settings

Hides the question and fills it from a matching URL parameter.

Answer length

Question settings (Long text only)

Minimum characters and Maximum characters for the answer. See below.

Neither type can award points. If you need a scored answer, use a choice question or a slider.

💡 Tip: Long text is a good place to ask an open question such as "Anything else we should know?". Because it is Required by default, turn Required off if you want it to be optional.

Answer length (Long text)

A Long text question has an Answer length section with two boxes: Minimum characters and Maximum characters, each from 1 to 10,000. Fill in one or both; leave a box empty to drop that end. With both empty, the question has no length rule and shows no counter.

The Answer length section of a Long text question with Minimum characters 50 and Maximum characters 500
Answer length appears only on Long text.

What respondents see once a limit is set:

  • A live counter under the box, for example 32 characters, or 32 / 500 when there is a maximum. While the answer is under the minimum, the counter adds the minimum, as in 32 / 500 · 50 minimum.

  • The box stops accepting text at the maximum.

  • Trying to continue with fewer characters than the minimum shows Your answer is too short. Spaces at the start and end do not count toward the minimum. An optional question left empty is not held to it.

  • Your answer is too long. appears if the answer is over the maximum, for example when it came prefilled from the link.

The live form showing a Long text answer with the counter 32 / 500 · 50 minimum under the box
The counter follows the form's theme and language.

The maximum is also checked when the form is submitted. An answer that is too long is refused with One of your answers is longer than this form allows. Shorten it and try again.


Website

Website collects a web address and checks that it looks like one before the respondent can continue. Like Short text, it accepts a Placeholder in Question settings; leave it empty for none, or set something like acme.com to show the shape you expect.

What respondents experience:

  • They can type a bare domain such as acme.com or www.acme.com, or a full address such as https://acme.com/pricing. Anything with a domain and a valid ending (.com, .io, .co, and so on) is accepted.

  • When they leave the field, dForms adds https:// automatically if it was missing. acme.com becomes https://acme.com, and that is the value stored in the submission and sent to integrations.

  • If the text is not a valid address (for example acme with no ending, or an ftp:// link), the form shows Enter a valid website address. and stays on the question.

The live form showing a Website question with the text acme typed in and the error Enter a valid website address.
An incomplete address is refused. The respondent fixes it and continues.

Website questions offer the same settings as Short text (Required, Placeholder, Default answer, Field key, Hidden question) and cannot award points.


Slider

Slider asks for a number on a scale. Respondents drag a handle (or use the keyboard) and see the current value in a large pill above the track, with the minimum and maximum printed at the ends.

Step 3: Select the slider question. In Question settings, under Slider, set the four values:

Setting
Default
What it does

Min

0

The lowest value the handle can reach.

Max

100

The highest value the handle can reach.

Step

1

How much the value moves per notch. Use 10 for 0, 10, 20…; use 5 for 0, 5, 10…

Default

50

Where the handle starts. If the respondent never touches the slider, this is the value that is submitted.

A Slider question on the canvas with the Slider section highlighted in Question settings: Min 0, Max 500, Step 10, Default 50
The canvas previews the scale as you edit Min, Max, Step and Default.

The editor warns you inline when the four values do not make sense together. Fix the value and the warning disappears:

Warning
When it appears

Default sits outside 0-500. Respondents will see 500 instead.

Default is below Min or above Max. The live form clamps it to the nearest bound.

Max is below Min. The slider has nothing to move along.

Max is smaller than Min.

Min and Max are the same, so the handle cannot move. Respondents can only answer 0.

Min equals Max.

Step must be greater than 0. Browsers ignore anything else and move in steps of 1.

Step is 0 or negative.

The Slider settings with Default set to 600 and the warning Default sits outside 0-500. Respondents will see 500 instead.
A default outside the range triggers a warning right under the fields.

Unit label. To print a unit next to the number (for example leads / month), open Advanced settings, turn on Vary the question by a field under Dynamic question and fill in Slider unit label for each variant. The label is part of the dynamic question feature, so it can change with an earlier answer. See Dynamic questions (variants).

The live form showing a slider with the value 50 and the unit label leads / month in the pill above the track
What respondents see: the value pill with its unit label, the track and the 0 and 500 ends.

More about sliders:

  • Scoring. A slider can award points by range (for example 0 to 49 gives 0 points, 50 and up gives 10). Set the ranges in Logic > Scoring. See Scoring.

  • Logic. Show, hide and branching rules on a slider use Equal to, Greater than, Less than and Between. See Show & hide conditions.

  • Prefill. The Prefill from URL block in Advanced settings shows a ready-made example such as ?leads=5. A value in the URL replaces the Default.


What's next

Last updated