Unify Applications
Logo
Reusable Forms & Fields

Reusable Forms & Fields

Logo

6 mins READ

What Are Reusable Forms and Fields?

picker-checkbox-fileupload-form.png
picker-checkbox-fileupload-form.png

Beyond the form and field components you place on a page, UnifyApps provides two centrally managed libraries for sharing components across apps:

  • The Forms library — "Create and manage reusable forms to use across your applications."

  • The Fields library — "Create and manage reusable fields to use across your forms."

Build a standard form (such as a customer record) or a standard field (such as a phone number with the right validation) once, in one central place, so your team works from the same definition.

Note: Where to find them: AI Applications → Forms / Fields

The Fields Library

The Fields library is a table of reusable field definitions. Each field has a Field Name, Field Type, and Description. Fields are versioned — you publish a new version to release changes.

Supported Field Types

A reusable field can be one of 25 types. The Form block offers 27; the two not offered as reusable fields are Array and Object:

  • Text

  • Text Area

  • Number

  • Integer

  • Date

  • Time

  • Date Time

  • Single Select Dropdown

  • Multi Select Dropdown

  • Checkbox

  • Switch

  • Email

  • Password

  • Slider

  • Pin Input

  • Phone Number

  • Currency Input

  • Rich Text

  • Radio Group

  • Rating

  • Checkbox Group

  • Code Editor

  • File

  • Key Value Pair

  • JSON Schema

Creating a Reusable Field

  1. Navigate to AI Applications → Fields.

  2. Click Create Field.

  3. Enter a Field Name, Description, and select a Field Type.

  4. Click Open in Builder to configure the field's details — label, placeholder, default value, validation rules, and any type-specific options.

  5. Publish the field when ready.

For the builder's Content and Input tabs, see Field Builder.

Field Versioning

Each field has an Overview and a Versions tab so you can track changes over time. When you update a field:

  • Open the field in the builder and make your changes.

  • Publish a new version to release the changes.

  • Check the Versions tab. Each version lists its Version Number, Version Notes, Published By and Published On.

Tip: Add a version note when you publish. It shows in the Version Notes column of the Versions tab, so your team can tell what changed in each version.

The Forms Library

The Forms library is a table of reusable form definitions. Each form has a Form Name and Description.

Creating a Reusable Form

  1. Navigate to AI Applications → Forms.

  2. Click Create Form.

  3. Enter a Form Name and Description.

  4. Build the form using the form builder — add fields, configure layout, validation, and events.

  5. Your edits save automatically.

To change a reusable form later, edit it in the Forms library.

Managing the Libraries

Search and Filter

Both libraries are tables with search by name. Use the search box to find a specific form or field by name when you have many entries.

Editing and Deleting

Each row in the library has actions:

  • Edit — rename a form; rename or change the description of a field.

  • Delete — remove a form or field from the library.

Empty State

When no fields exist yet, the library shows a "No Fields Yet" prompt — "Create reusable fields and use them across your forms." Click the create button to get started.

Reusable vs. In-Page Components

Aspect

In-Page Form / Field

Reusable Form / Field

Where it lives

Only on a specific page

Centrally managed in AI Applications → Forms / Fields

Versioning

Not versioned

Fields are versioned; publish new versions to release changes

Best for

One-off, page-specific forms

Standard forms and fields you want defined once (e.g., customer records, phone-number fields)

Best Practices

Tip: Standardize common fields first. Identify fields that appear in many places — phone numbers, addresses, status dropdowns — and build them as reusable fields with consistent validation before building your forms.

Tip: Use descriptive names. Name your reusable fields and forms clearly so others on your team can find and understand them without opening each one. Include the context in the name — e.g. "Customer Phone Number" rather than just "Phone".

Tip: Use descriptions. Both forms and fields have a Description field. Use it to document what the form/field is for, who uses it, and any constraints or special behaviors.

Step-by-Step Examples

Create a Reusable "Phone Number" Field

  1. Navigate to AI Applications → Fields.

  2. Click Create Field. Enter Name: "Customer Phone Number", Type: "Phone Number".

  3. Click Open in Builder. Set Label: "Phone Number", make it required (Is Optional: off), and add a validity condition for format.

  4. Publish the field.

Create a Reusable "New Customer" Form

  1. Navigate to AI Applications → Forms.

  2. Click Create Form. Enter Name: "New Customer Form".

  3. In the form builder, add fields: First Name (Text), Last Name (Text), Email (Email), Phone (Phone Number), Company (Text).

  4. Configure validation, layout, and submit behavior. Your edits save automatically.

Publish a New Version of a Reusable Field

  1. Navigate to AI Applications → Fields and find the field to update.

  2. Click Open in Builder and make your changes (e.g., add a new validation rule).

  3. Publish the new version and add a version note.

  4. Open the field's Versions tab to confirm the new version is listed.

FAQs

When should I create a reusable field vs. a reusable form?

Create a reusable field when a single input needs to be shared and kept consistent across many forms — for example, a phone number field with specific validation. Create a reusable form when an entire form structure (multiple fields, layout, and submit logic) needs to appear identically in multiple places, like a standard contact form used in several pages. Start with reusable fields; wrap them in a reusable form only when the whole structure is repeated.

What happens when I publish a new version of a reusable field?

Publishing creates a new version of the field. It appears on the field's Versions tab with its Version Number, Version Notes, Published By and Published On, so you can track how the field changed over time.

Is there a limit on how many fields a reusable form can contain?

There is no documented hard limit. Large forms (20+ fields) are harder to maintain, so consider splitting a complex form into smaller, focused forms.