Set up form templates
Configure appearance, behavior, and branding for Preczn-hosted boarding forms
A form template sets how your boarding forms look and behave: branding, return URLs, expiration, terms, and which fields merchants see. Every form you create starts from a template, so set up at least one before you create forms. Create and edit templates in the Dashboard or through the API.
A template can't change the form's steps or their order, field labels and input types, or which fields are required. Your connections decide those. For every setting and its rules, see Form template settings.
Prerequisites
- A domain approved for your platform. See Configure a domain name.
Create a template
Choose how you'll create the template. Select the Dashboard tab or the API tab.
- In the Dashboard, go to Settings > Boarding Forms.
- Select Create Template.
- On the Appearance & Behavior tab, fill in the required fields: Template Name, Form Type, Domain, Expiration, Page Title, Return URL, and Expired Session URL. The color fields are prefilled.
- Optional: Upload a Logo and Favicon, set the terms and support settings, and turn on the features you need.
- Optional: On the Field Customization tab, choose which fields merchants see. See Field customization.
- Select Create Template.
To start from an existing template, select Clone in its row on the Boarding Form Templates list, and then select Clone & edit.
-
Send
POST /v1/formTemplatesasmultipart/form-data. See Create Form Template.Include the required parts:
name,domain,expirationInHours,headingTitle,returnUrl,expirationUrl, anddisplayTos. Send every value as a string part, and uploadlogoandfaviconas file parts. -
Save the template
idfrom the response. You pass it asformTemplateIdwhen you create a form.
{
"id": "{formTemplateId}",
"name": "{templateName}",
"domain": "https://{yourBoardingDomain}",
"expirationInHours": 72,
"type": "KYC"
}The response is abbreviated.
If you omit the color parts, Preczn applies the API defaults, which differ from the Dashboard's. See Colors.
When to turn on auto-transmit
Leave Auto Transmit Merchant Data off while you board your first merchants, so you can review each submission and start onboarding yourself. When you're comfortable with what merchants submit, turn it on. See Automatic onboarding.
Field customization
The Field Customization tab controls which fields and documents merchants see, sets rules for some fields, and adds help text. Through the API, send the matching dotted parts, such as businessInfo.fields.website.display. The dots are part of the part name, not nested objects.
Show and hide fields
The Field Customization tab lists every field and document on the form. Turn each one on or off, or use Show All and Hide All for a section. Through the API, send {field}.display as "true" or "false".
The Field Customization tab, with one section open. Hidden fields show as struck through.
Your connections, not the template, decide whether a field is required. Hide only fields that your connections don't require.
Field rules and dropdown options
Some fields accept extra rules. Select Edit on the field to set them.
- Length and character rules: set a minimum and maximum length, and which letters, numbers, spaces, or special characters are allowed. These rules apply to DBA Name, Legal Name, TIN, Website, Product/Service Description, Business Title, and Drivers License Number. Through the API, send
fieldConstraints.minLengthandfieldConstraints.maxLengthtogether. - Dropdown options: limit the choices merchants see for TIN Type, Business Type, Owner Type, Account Type, Country, and GreenSky Primary Business Category.
The drawer that opens when you select Edit on a field with length and character rules.
To add a line of guidance under a field, see Add help text to form fields.
Change a template
Choose how you'll change the template. Select the Dashboard tab or the API tab.
- In the Dashboard, go to Settings > Boarding Forms, and open the template.
- Change the settings.
- Select Save Updates.
- Send only the parts you want to change to
PATCH /v1/formTemplates/{formTemplateId}. See Update Form Template.
A change applies only to forms you create after you save it. See Template inheritance.
Template inheritance
When you create a form, the form copies the template's settings at that moment. Later changes to the template don't reach forms that already exist. To give a merchant the updated settings, create a new form.
You can override some settings on one form, such as returnUrl, expirationUrl, expirationInHours, and type, by sending them when you create the form. The template keeps its own values. The form always takes its logo, favicon, and domain from the template. For every setting a form accepts, see Create Form.
flowchart TD
T["Template<br/>returnUrl: /done<br/>expirationInHours: 24"] -->|"1. Copy"| F["Form<br/>returnUrl: /done<br/>expirationInHours: 72"]
R["Create form request<br/>expirationInHours: 72"] -->|"2. Override"| F
In this example, the form keeps the template's returnUrl and uses the request's expirationInHours.
Test and live templates
A template belongs to test mode or live mode, matching the API key or Dashboard mode you create it in. A form must use a template in the same mode as its merchant and API key. Otherwise, the request returns 401. After you finish testing, create the template again in live mode.
FAQ
I updated my template. Why don't merchants see the change?
Existing forms keep the settings they were created with. Create a new form to give the merchant the updated version. See Template inheritance.
Can I rename a field label?
No. Field labels are fixed. To tell merchants what to enter, add help text under the field.
Do I need separate templates for KYC and RFI forms?
No. Set type when you create each form. You can keep one template for your branding and use it for both form types.
Why doesn't my form show a Help button?
The Help button appears only when the template has at least one support setting. See Help and support.
Next
Create a boarding form from your template.
Updated about 9 hours ago
