Form template settings

Every form template setting, with its Dashboard label, API part, rules, and defaults.

This page lists every setting on a form template, with its Dashboard label, its API part for POST /v1/formTemplates, and its rules. To create or change a template, see Set up form templates.

The API takes multipart/form-data, so send every value as a string part, such as "true" or "48". Preczn converts each part to its type before it validates the request. For the full request schema, see Create Form Template.

Template details

Dashboard labelAPI partRequiredRule
Template NamenameYesLetters, numbers, spaces, and - _ . , & %
Form TypetypeNoKYC or RFI. Default KYC
DomaindomainYesOne of your platform's approved domains
ExpirationexpirationInHoursYes1 to 2,160 hours. No API default

The template name also identifies the template in the Dashboard. A domain that isn't approved for your platform returns 404. To set up a domain, see Configure a domain name.

A form's type overrides the template's. A KYC form collects a merchant's data for boarding. An RFI (request for information) form collects more data after boarding.

Expiration

expirationInHours sets how long a form link stays open after Preczn creates the form.

  • API: the part is required and has no default. A request without it returns 400.
  • Dashboard: Expiration is prefilled with 72 hours. You can change it before you save.
  • Forms: a form uses its own expirationInHours when you send one. Otherwise it uses the template's value.

Data the merchant already saved stays on the merchant record after the link expires. To let the merchant finish, create a new form. To see what the merchant sees after the link expires, see When a link expires.


Branding

Dashboard labelAPI partRequiredRule
Logologo (file)NoJPG or PNG, up to 250×100 pixels and 2 MB
Faviconfavicon (file)NoICO, PNG, or SVG, up to 64×64 pixels and 512 KB
Page TitleheadingTitleYesLetters, numbers, and spaces
Title ColorheadingTitleColorNoHex color
Accent ColorheadingAccentColorNoHex color
Button Text ColorbuttonTextColorNoHex color
Button AccentbuttonAccentColorNoHex color

A logo larger than 250×100 pixels returns 400 with the message Image dimensions exceed the limit of 250x100 pixels. The Dashboard rejects the file before it uploads. The form shows the logo at up to 160×40 pixels in its sidebar, so a wide logo reads best.

A favicon that breaks its rules also returns 400.

Colors

Each color sets one part of the form:

  • Title color sets the title under your logo.
  • Accent color sets the current step, completed step icons, and other highlights.
  • Button text color sets the text on the primary button, such as Save & Continue.
  • Button accent color sets the primary button's background.

For where the logo, title, and steps sit on the form, see Layout and navigation.

This form uses a green accent color, a dark green title color, a rust button accent color, and white button text:

Boarding form with the current step highlighted in green in the sidebar, two connection steps, and Back, Save Draft, and a rust Save & Continue button along the bottom

The defaults depend on how you create the template. Select the Dashboard tab or the API tab.

The Dashboard prefills every color and always sends them.

ColorFieldPrefilled value
TitleTitle Color#4014be
AccentAccent Color#4014be
Button textButton Text Color#edf0f5
Button backgroundButton Accent#4014be
📘

Check your colors for contrast

The current step always shows white text on the accent color. Choose an accent color dark enough for white text to stay readable, and a button text color that contrasts with the button accent color.


URLs and behavior

Dashboard labelAPI partRequiredRule
Return URLreturnUrlYesURL. The merchant lands here after submitting
Expired Session URLexpirationUrlYesURL. An expired link sends the merchant here
Terms of Service URLtosUrlNoURL. Rainforest forms only
Terms and ConditionsdisplayTosYesBoolean. Shows each connection's terms step
Auto Transmit Merchant DataautoTransmitMerchantDataNoBoolean. Default false
Display New User LogindisplayNewUserLoginNoBoolean. Default false
Display PCI SAQdisplayPciSaqNoBoolean. Default false
MCC CodesmccCodesNoComma-separated MCCs
NAICS CodesnaicsCodesNoComma-separated 2022 NAICS codes
  • Terms of Service URL: on a Rainforest form, this URL replaces Rainforest's terms link on the terms step. It has no effect on forms for other connections.
  • Terms and Conditions: applies to KYC forms only.
  • Auto Transmit Merchant Data: starts boarding when the merchant submits the form. See Automatic onboarding.
  • Display New User Login and Display PCI SAQ: each adds a step for the connections that support it. See Connection steps.
  • MCC Codes and NAICS Codes: limit the codes a merchant can pick. See Merchant classification codes.

Help and support

These settings fill the support window that merchants open from the Help button. The Help button appears only when you set at least one of them.

Dashboard labelAPI partRule
Support MessagesupportTextText shown first in the window
Support URLsupportUrlURL. Opens in a new tab
Support PhonesupportPhone10 digits, or 11 starting with 1
Support EmailsupportEmailEmail address. Opens the merchant's email client

Send supportPhone as digits only. The Dashboard removes any other characters before it saves. The form shows a 10-digit number, or an 11-digit number that starts with 1, as (NNN) NNN-NNNN.

Support window titled How can we help? with a support message, a phone number button, Email Support, and Visit our Website

Field customization

SettingWhere to set it
Show or hide a field or documentShow and hide fields
Length and character rulesField rules and dropdown options
Dropdown optionsField rules and dropdown options
Help text under a fieldAdd help text to form fields
Welcome stepAdd a welcome step

Did this page help you?