DocsForms

Form fields

Every kind of field — text, email, phone, dates, choices, files, signatures, ratings and more — with validation, defaults and their own messages.

Field types#

FieldWhat it collects
InputOne line: text, email, phone, number, website (URL), password, date, time, or date and time.
ParagraphSeveral lines: messages and descriptions.
DropdownOne option from a list, or several with multi-select.
ChoicesRadio buttons (pick one) or checkboxes (pick several), as a list, a row, columns or buttons.
ConsentOne checkbox to accept terms or opt in, with a link in its text.
File uploadOne or several files, with allowed types and size limits. Uploads are private.
RatingStars, hearts or a number scale.
Range sliderA value between a minimum and a maximum, like a budget.
SignatureSigned with a finger, pen or mouse; saved as an image.
NameFirst and last name, with optional prefix, middle name and suffix.
AddressStreet, city, state, postal code and country.
Hidden fieldA value sent with the form but not shown: a campaign, the page title, the logged-in user.

A field’s settings#

  • Label, placeholder, description and name. Names are unique in a form: a duplicate gets _2, and renaming a field updates the logic, actions and tags that used it.
  • Options for choices and dropdowns: values, labels, defaults, bulk editing and limits (at least / at most).
  • Validation: required, lengths, patterns (with presets), number and date ranges, file types and sizes.
  • Messages that replace the site’s default wording for this field.
  • Default values — which can be dynamic data, like the logged-in user’s email.
  • Logic: show, hide, require or set this field depending on others. See Conditional logic.

Validation#

The same rules run in the visitor’s browser, for instant feedback, and again on the server, which never trusts the browser. Site-wide messages are in Settings → Forms (“This field is required.”, “Please enter a valid value.”…).