# Welcome 🍓

Wizard infrastructure for web applications

## Overview

Tutim is a wizard-form infrastructure, especially for web applications.

As developers ourselves, building many or complex wizards is always painful. We had to rebuild a form infrastructure multiple times from scratch.\
Now we’re building it for the last time, for everyone :)

We saw dozens of wizard use cases, like: onboarding, integrations, interactive input editor, new entity, dynamic form, billing information and more.

Tutim is focused on developers’ experience (flexibility, API-first), while unlocking form conversion optimization through a no-code admin panel.\
Privacy and security are guaranteed as your data remains on your backend only.

Tutim product has 3 parts:

1. [React Library](https://www.npmjs.com/package/@tutim/headless) - save up to 90% of your time building wizard forms
2. Admin panel - configure conditional branching, localization, validations, a/b testing, and much more
3. Cloud - optional backend, with an on-prem option

{% embed url="<https://lottiefiles.com/130138-json-to-form>" %}
JSON to form engine
{% endembed %}

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-10c05d52ff6585b15b4ce4231304e0239d6d5c83%2Ffile.drawing%20(1)%20(1)%20(1).svg?alt=media" alt="" class="gitbook-drawing">

## Why Tutim

**Building forms in applications is complicated.**

At first, it seems like just throwing a few input fields, but in reality, it's just the beginning.

Wizard requirements become more sophisticated with conditional branching, versions, save drafts, and more. PMs and designers have endless requests to make updates or improve localization.

Tutim gives you your own in-house headless form builder that's fully integrated with your component library and design system.

The SDK is designed to significantly reduce development time and let you focus on what matters.

Everybody on your team can create, edit, and publish wizards regardless of their technical background.

## Get Started

This guide is for you - to get started with Tutim quickly and easily.

{% content-ref url="/pages/ffpQPHFqQlA005AsRUP3" %}
[First wizard example](/overview/example)
{% endcontent-ref %}


# First wizard example

## Result

In 2 minutes you'll get a basic form in your React project:

<figure><img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-b3ba09e743f016cbb6e3c92df05d35269d21fc4d%2Fimage%20(1).png?alt=media" alt=""><figcaption><p>The example form</p></figcaption></figure>

## Step1: Install

To use `TutimWizard`, install the `@tutim` libraries in your React project.\
You can do this using npm or yarn:

```bash
npm install @tutim/fields @tutim/headless @tutim/types
```

```bash
yarn add @tutim/fields @tutim/headless @tutim/types
```

## Step 2: Run

To create a form using `TutimWizard`, you will need to define the form schema.\
In this example, the schema is hard-coded in `config`, but you can craft your wizard in the portal

```jsx
import { TutimWizard, defaultFields } from "@tutim/fields";
import { FormProvider } from "@tutim/headless";

// The form's schema
const config = {
  fields: [
    {
      key: "fullname",
      label: "Full Name",
      type: "text",
      isRequired: true
    },
    { key: "date", label: "Pick a date", type: "date" },
  ],
};


// Your App
const App = () => {
  return (
    <div className="App">
      <FormProvider fieldComponents={defaultFields}>
        <TutimWizard onSubmit={console.log} config={config} />;
      </FormProvider>
    </div>
  );
};

export default App;
```

Voilà! 👨‍🎨

## Next steps

1. Craft your own form schema with [the builder](https://app.tutim.io) or [manual configuration](/api-reference/form-config):
2. Use your own design system with [`FormProvider`](/react-sdk/formprovider)
3. Have a question? [Join our Discord](https://discord.tutim.io) :)

###


# Tutim Tools

How tutim should be used

## Overview

Tutim offers 3 different products to get your forms done:

1. **SDK**
2. **Portal**
3. **Cloud backend**

Whether you use the SDK on its own or take advantage of the additional features offered by the Portal and Cloud products, you can save development time and enable non-technical team members to collaborate on form creation and management.

## Products

### **1. SDK: React form library**

{% content-ref url="/pages/qU8PbovNCQw0jrosjSYS" %}
[How to use](/react-sdk/concepts)
{% endcontent-ref %}

The SDK is a react form library that allows you to easily create beautiful multi-step forms with maximum flexibility and performance.

With the SDK, you can save development time and customize forms that meet your specific needs.

### **2. Portal: Management layer on top of the SDK**

The Portal is a management layer that sits on top of the SDK. It allows you to create, manage, and serve form schema (in JSON format) to use within your SDK using a drag-and-drop form builder. This feature is especially useful for team collaboration, as it allows non-technical team members to contribute to form creation without needing to write code.

### **3. Cloud (Backend form submissions and integrations) (closed-beta)**

The Cloud product handles all of the backend form submissions and integrations for you, taking the burden off of your development team.

This feature is also useful for enterprise users, who can choose to have the Cloud service run on-premise for added security.

## Summary

Whether you need the flexibility and performance of the SDK, the collaborative features of the Portal, or the convenience of the Cloud service, this solution has the tools you need to build the wizards your application needs.

***


# Concepts

## Overview

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-8fe1f9c891a3e01eac0c9fb4099a3a4cfad2f6da%2Ffile.drawing%20(2)%20(1).svg?alt=media" alt="" class="gitbook-drawing">

Tutim provides a powerful structure for working with wizards and data. We understand that everyone has their own way of describing wizards, so we want to introduce you to the terminology we've developed.

This guide will walk you through the core concepts and entities on our platform, as well as their relation to each other. Tutim is an API-first platform, meaning every entity described below can be accessed with an API endpoint.

## Form

Also referred sometimes as Wizard, to emphasize the focus on multi-step forms.

Forms are a list of submissions, an API endpoint, and a set of form fields.

We refer to this set of fields as the schema of the form

The form schema is in JSON format, and can be built using the form builder or by writing it from scratch

Every wizard on Tutim is publicly available at a unique URL tutim.io. In addition, wizard schemas can be fetched through our API and then rendered natively into your application or website using our SDK.

## Field

A field is an element of a form (like a question).

In Tutim there are multiple field types, referred also as input types.

Field examples are Text, Select, Date, etc.

All fields have a key and a display name.

Fields have few global properties (props) such as their initial visibility, whether it is required or not, its default value, etc.

Some fields may also have specific props that are relevant only to that kind of field.

{% hint style="info" %}
Field is a major component. Find more details about it:
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td><a data-mention href="/api-reference/field-config">Field Config</a></td><td></td></tr><tr><td></td><td><a data-mention href="/api-reference/fields">Fields &amp; props</a></td><td></td></tr></tbody></table>

### Keys

Each field also has a `key` that is used to represent the answer to it in each submission with your form and API integrations. Like always, try to choose an informative key for your field so you can easily recognize it later.

When you add a field to a form in the Tutim Builder, Tutim will attempt to generate this `key` for you once you're done typing the question title.

When you change a question `key`, do it with caution, as new submissions with an answer to that question will use the new `key`, but old submissions will remain as they were with the old one.

### Validations

Validate that an input stands in a certain rule.

Validations examples are isRequired, minLength, regEx pattern, etc

For each validation, you can define the error message to display to the respondent, to make it easier to fix.

## Styling

As a headless components library, Tutim let you easily configure the wizard UI to your preferred style.

A default MaterialUI design system is used for fast visualized output and can be easily replaced through Tailwind CSS

Use your own design system through the following implementation:

{% content-ref url="<https://github.com/tutim-io/docs/blob/main/overview/broken-reference/README.md>" %}
<https://github.com/tutim-io/docs/blob/main/overview/broken-reference/README.md>
{% endcontent-ref %}

## Templates

Tutim provides a forms templates library so you don't have to start from scratch.

Need a feedback survey? We have it ready for you.

After you cloned the template, feel free to make any customizations you need


# Portal

The admin portal is available for free!

{% embed url="<https://app.tutim.io>" %}
Tutim portal link
{% endembed %}

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-8b3a044b95aeec0f1cf0791eea855a2d7cb5fb96%2Ffile.excalidraw.svg?alt=media" alt="Tutim portal screenshot" class="gitbook-drawing">

You can find:

1. Most of the SDK capabilities, available through GUI
2. Team collaboration
3. Form config management:
   1. Serve wizards' schemas
   2. Version control
   3. Layout control and multi-steps
   4. Validations
4. Advanced features: **(coming soon)**
   1. Conditional branching
   2. Forms backend
   3. Templates
   4. A/B testing


# Remote Schema

Forms built on the portal could be served in real-time using [FormProvider](/react-sdk/formprovider)

add `clientId` to your `FormProvider Options`

use `formId` in your forms instead of config in `TutimWizard` , `useForm` or if you want to manipulate the config, you could also use it with `useFormConfig`.

#### Example

```jsx
import { TutimWizard, defaultFields } from "@tutim/fields";
import { FormProvider } from "@tutim/headless";

const App = () => {
  return (
    <FormProvider
      fieldComponents={defaultFields}
      options={{ clientId: "INSERT_CLIENT_ID_HERE" }}
    >
      <TutimWizard onSubmit={console.log} formId="INSERT_FORM_ID_HERE" />
    </FormProvider>
  );
};

export default App;
```


# How to use

How to use tutim with react

## Overview

Tutim library allows you to easily create and manage web applications wizards.

You can find the library here:

{% embed url="<https://www.npmjs.com/package/@tutim/headless>" %}

## How to use

Form configuration is always fully customizable with no-code.

When speaking about the coded form implementation, we consider 3 main parts: **TutimWizard, FormProvider, and CustomField**

* [`TutimWizard`](/react-sdk/tutim-form) handles the wizard's logic and UI for you, offering the least flexibility but the quickest and easiest way to get a fully functional wizard up and running from a configuration.
* [`FormProvider`](/react-sdk/formprovider) load once per application, handles fields customizations and loading, remote schemas, and global configurations
* [`CustomField`](/api-reference/fields/customfield) - generate any field that you like and re-use it everywhere by naming alone! Field logic and wizard logic is handled for you and received as props and usable via hooks.

## Summary

Thank you for trying out Tutim!


# TutimWizard

## Overview

`TutimWizard` is a component that provides a simple interface for defining the fields and multi-step form behavior, while handling the infrastructure and user interface for you

## Installation

To use `TutimWizard`, you will need to install the `@tutim/fields` and `@tutim/headless` libraries in your react project. You can do this using npm or yarn:

```bash
npm install @tutim/fields @tutim/headless @tutim/types
```

```bash
yarn add @tutim/fields @tutim/headless @tutim/types
```

## Basic example

To create a multi-step form using `TutimWizard`, you will need to define the fields that you want to include in your wizard. You can do this by creating a `config` object with a `fields` property, which is an array of field objects. Each field object should have a `key`, `label`, and `type` property.

Here is an example of how to use `TutimWizard` to create a simple form with two text input fields:

[Open with CodeSandbox >>>](https://codesandbox.io/s/tutim-examples-5ny73h)

```jsx
import React from 'react';
import { FormProvider } from '@tutim/headless';
import { TutimWizard, defaultFields } from '@tutim/fields';

const config = {
  fields: [
    { key: 'firstName', label: 'First Name', type: 'text' },
    { key: 'lastName', label: 'Last Name', type: 'text' },
  ],
};


const App = () => {
  return (
    <div className="App">
      <FormProvider fieldComponents={defaultFields}>
        <TutimWizard onSubmit={console.log} config={config} />;
      </FormProvider>
    </div>
  );
};

export default App;
```

This will render a form with two text input fields, labeled "First Name" and "Last Name". When the form is submitted, the data entered into the fields will be logged to the console.


# FormProvider

## Overview

`FormProvider` is a component that allows you to define the wizard fields that you want to use in your react application. It provides a way to specify the field components that will be used to render the wizard fields, and allows you to use either the default field components provided by the `@tutim/fields` library, or your own custom field components.

## Installation

To use `FormProvider`, you will need to install the `@tutim/headless` library in your react project. You can do this using npm or yarn:

```bash
npm install @tutim/headless
```

```bash
yarn add @tutim/headless
```

You will also need to install the `@tutim/fields` library if you want to use the default field components provided by the library. You can do this using npm or yarn:

```bash
npm install @tutim/fields
```

```bash
yarn add @tutim/fields
```

## Basic example

To use `FormProvider`, you will need to wrap your react application with the `FormProvider` component and specify the field components that you want to use. You can do this by passing a `fieldComponents` prop to the `FormProvider` component, which should be an object with keys that match the `type` of the fields you want to use, and values that are the field components themselves.

For example, you can use `FormProvider` to specify the default field components provided by the `@tutim/fields` library, or you can create your own custom field components and use them in the wizard.

Here is an example of how to use `FormProvider` to specify the default field components provided by the `@tutim/fields` library:

```jsx
import { FormProvider } from '@tutim/headless';
import { defaultFields, TutimWizard } from '@tutim/fields';

const App = (): JSX.Element => {
  return (
    <div className="App">
      <FormProvider fieldComponents={defaultFields}>
        <TutimWizard onSubmit={console.log} config={{ fields: [{ key: 'field1' }] }} />
      </FormProvider>
    </div>
  );
};

export default App;
```

This will render a form with a single field, using the default field component provided by the `@tutim/fields` library. When the form is submitted, the data entered into the field will be logged to the console.

## Remote schema example

Forms built on the [`Admin Portal`](https://github.com/tutim-io/docs/blob/main/react-sdk/broken-reference/README.md) could be served in real-time using the `FormProvider`

add `clientId` to your `FormProvider Options`

use `formId` in your forms instead of config in `TutimWizard` , `useForm` or if you want to manipulate the config, you could also use it with `useFormConfig`.

```jsx
import { TutimWizard, defaultFields } from "@tutim/fields";
import { FormProvider } from "@tutim/headless";

const App = () => {
  return (
    <FormProvider
      fieldComponents={defaultFields}
      options={{ clientId: "INSERT_CLIENT_ID_HERE" }}
    >
      <TutimWizard onSubmit={console.log} formId="INSERT_FORM_ID_HERE" />
    </FormProvider>
  );
};

export default App;
```

You can customize the form fields by creating your own custom field components and using them

## Advanced example

You can customize the form fields by creating your own custom field components and using them with `FormProvider`. To do this, you will need to define the custom field components and add them to the `fieldComponents` object passed to the `FormProvider` component.

For example, you can create a custom field component that renders a button that increments a number when clicked, and use it in the form by specifying the `type` of the field as `'custom-field'`:

```javascript
import { FormProvider } from '@tutim/headless';
import { Field, FieldComponents, InputType } from '@tutim/types';

export const CustomField: Field = ({ inputProps, fieldConfig }) => {
  const { value, onChange } = inputProps;
  const onClick = () => onChange(value + 2);
  return (
    <button type="button" onClick={onClick}>
      {fieldConfig.label}: {value}
    </button>
  );
};

const fieldComponents: FieldComponents = {
  [InputType.Text]: ({ inputProps }) => <input {...inputProps} />,
  'custom-field': (fieldProps) => <CustomField {...fieldProps} />,
  // add any type of input and reference it by 'type'
};

const App = (): JSX.Element => {
  return (
    <div className="App">
      <FormProvider fieldComponents={fieldComponents}>
        <TutimWizard
          onSubmit={console.log}
          config={{
            fields: [
              { key: 'textField', label: 'Text Field', type: 'text' },
              { key: 'customField', label: 'Custom Field', type: 'custom-field', defaultValue: 0 },
            ],
          }}
        />
      </FormProvider>
    </div>
  );
};

export default App;
```

This will render a form with two fields: a text input field and a custom field that renders a button. The custom field will increment its value by 2 every time the button is clicked. When the form is submitted, the data entered into the fields will be logged to the console.


# Next & Gatsby

Tutim supports SSR and SSG. See these examples:

{% embed url="<https://github.com/tutim-io/tutim-examples>" %}

\* Make sure to not import `@tutim/fields` and don't use `defaultFields` on SSR

Need more support? We'll be happy to assist through our [Discord](https://discord.tutim.io)


# Form Config

{% hint style="info" %}
Look also at **Field Config** - this is the interesting part where you build the form:
{% endhint %}

{% content-ref url="/pages/rg8NzWmaDEkxyNdOKj0F" %}
[Field Config](/api-reference/field-config)
{% endcontent-ref %}

## Overview

```jsx
import { FormConfig } from '@tutim/types';
```

This is an interface representing the configuration for a form. It includes the following property:

```typescript
interface FormConfig {
  formId: string;
  fields: FieldConfig[];
  layout?: FormLayout;
  logic?: FormLogic;
}
```

* `fields`: An array of [`FieldConfig`](/api-reference/field-config) objects representing the fields in the form.
* `formId`: (optional) Id string to represent the form
* `layout`: (optional) still under development, documentation isn't ready yet
* `logic`: (optional) still under development, documentation isn't ready yet


# Field Config

## Overview

```jsx
import { FieldConfig } from "@tutim/types";
```

This is an interface representing the configuration for a single form field.

Form field is also known as a question or an input field.

FieldConfig includes the following properties:

```typescript
interface FieldConfig {
  key: string;
  type: InputType;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  options?: Option[];
  defaultValue?: any;
  children?: { fields: FieldConfig[] };
  Field?: Field;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `options`: (optional) An array of `Option` objects for use with `InputType.Select` and `InputType.Radio` fields.
* `defaultValue`: (optional) The default value for the field.
* [`children`](/api-reference/fields/nested-children): (optional) A nested set of fields for use with `InputType.Object` fields or `InputType.Array`.
* [`Field`](#field): (optional) A Field Component, use in order to replace the default (global) field set for this `type`, can only be used with `InputType.Custom.`

## InputType

```jsx
import { InputType } from "@tutim/types";
```

This is an enumeration of the various types of inputs that can be used within a form field. The possible values are:

```typescript
enum InputType {
  Text = "text",
  Select = "select",
  Radio = "radio",
  Switch = "switch",
  Checkbox = "checkbox",
  Number = "number",
  Date = "date",
  Password = "password",
  TextArea = "text-area",
  Json = "json",
  MultiText = "multi-text",
  Object = "object",
  Array = "array",
  Custom = "custom",
}
```

* `Text`: A single line text input.
* `Select`: A dropdown menu for selecting a single option from a list.
* `Radio`: A group of radio buttons, allowing the user to select a single option from a list.
* `Switch`: A toggle switch for selecting a boolean value.
* `Checkbox`: A single checkbox for selecting a boolean value.
* `Number`: A numerical input.
* `Date`: A date input.
* `Password`: A password input.
* `TextArea`: A multi-line text input.
* `Json`: A text input for entering JSON.
* `MultiText`: A multi-line text input with the ability to add and remove additional lines.
* `Object`: A field containing a nested set of fields.
* `Array`: A field containing an array of fields.
* `Custom`: A custom field allows you to define your input component.

## Option

```jsx
import { Option } from "@tutim/types";
```

This is an interface representing a single option within a `Select`, `Radio`, or `Checkbox` field. It includes the following properties:

```typescript
interface Option {
  value: string | number;
  label: string;
  disabled?: boolean;
}
```

* `value`: The value of the option.
* `label`: The label to display for the option.
* `disabled`: (optional) A boolean value indicating whether the option should be disabled.

## Validation

```jsx
import { Validation } from "@tutim/types";
```

This is an interface representing the validation for a form field. It includes the following properties:

```typescript
interface Validation {
  value?: number | boolean | string;
  message?: string;
}
```

* `value`: (optional) The value to validate against.
* `message`: (optional) The error message to display if the field fails validation.

## Field

```jsx
import { Field } from "@tutim/types";
```

This is an interface representing a custom form field. It includes the following properties:

```typescript
type Field = (props: FieldProps) => JSX.Element;
```

* `props`: The properties [`YourCustomField`](/api-reference/fields/customfield) gets, return any JSX field

## Children

```jsx
import { FieldConfig } from "@tutim/types";
```

This is an interface representing the configuration for object components. it includes an array of fields used as children of the field. Can be used with [`InputType.Object`](https://github.com/tutim-io/docs/blob/main/api-reference/object-children.md) or [`InputType.Array`](/api-reference/fields/array). It includes the following properties:

```typescript
interface Children {
  fields: FieldConfig[];
}
```

* `fields`: An array of fields used as children of the field


# Fields & props

### Array

This is a bit more sophisticated field so we created a page with more details here:

{% content-ref url="/pages/4c1PBiIfZGiqrkSTfmw1" %}
[Array (list of objects)](/api-reference/fields/array)
{% endcontent-ref %}

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-4082944781c05a3904c21618aaa1444f1087e589%2Ffile.drawing%20(10).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Array;
  children: { fields: FieldConfig[] };
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `children`: A nested set of fields for use with `InputType.Object` or `InputType.Array` fields.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Checkbox

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-073fa122253ef1797cfb5d9514957a8c28601ce0%2Ffile.drawing%20(12).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Checkbox;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Custom

This is a bit more sophisticated field so we created a page with more details here:

{% content-ref url="/pages/oPhTtMMaBOgxvyWWDCfT" %}
[Custom](/api-reference/fields/customfield)
{% endcontent-ref %}

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Custom;
  Field: Field;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
  options?: Option[];
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `Field`: Field component
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.
* `options`: (optional) An array of `Option` objects for use with `InputType.Select`, `InputType.Custom`and `InputType.Radio` fields.

### Date

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-7972c0316f0376290b072f715f129500a32b8b42%2Ffile.drawing%20(3).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Date;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Json

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-47248aec4e8ddab84fddee65b398d15df5f10a96%2Ffile.drawing%20(9).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Json;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### MultiText

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-821cc1224865cb191769832597236928e1dd15e0%2Ffile.drawing%20(7).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.MultiText;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Object

This is a bit more sophisticated field so we created a page with more details here:

{% content-ref url="/pages/k3SlG9ISETSa6JFBJP0d" %}
[Object](/api-reference/fields/nested-children)
{% endcontent-ref %}

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-27e5d6530eff889ba4d5923f55086ae15333847b%2Ffile.drawing%20(8).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Object;
  children: { fields: FieldConfig[] };
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `children`: A nested set of fields for use with `InputType.Object` or `InputType.Array` fields.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Number

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-628eb83620ac3e7ecd80083d3b454b1d78d37ceb%2Ffile.drawing%20(2)%20(3).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Number;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Password

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-5cb30ffec0aaee13a8fb2dbfa189d553e7750a00%2Ffile.drawing%20(14).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Password;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Radio

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-b560a4f5610df7ffe53d3d94a95a2160f1bbf8e0%2Ffile.drawing.svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Radio;
  options: Option[];
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `options`: (optional) An array of `Option` objects for use with `InputType.Select`, `InputType.Custom`and `InputType.Radio` fields.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Select

Also known as Dropdown, Dropdown menu, or Dropdown list

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-de448762218f0597ae9f152b91d18987748e7d55%2Ffile.drawing%20(11).svg?alt=media" alt="Select field with Tutim default visualization" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Select;
  options: Option[];
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `options`: (optional) An array of `Option` objects for use with `InputType.Select`, `InputType.Custom`and `InputType.Radio` fields.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Switch

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-37974e3d1c50150109fe920648388b9d59a5f0e4%2Ffile.drawing%20(6).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Switch;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Text

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-6937d271df8bd49a52b2b8d4fc3984016fbdaf30%2Ffile.drawing%20(4).svg?alt=media" alt="Text field with Tutim default visualization" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Text;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### TextArea

<img src="https://3527258519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJW1wNmC313vP7hweP31e%2Fuploads%2Fgit-blob-dc4b003ff6f120663a0406c4b8e49b088a20e115%2Ffile.drawing%20(5).svg?alt=media" alt="" class="gitbook-drawing">

```typescript
interface FieldConfig {
  key: string;
  type: InputType.TextArea;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

###


# Object

## Overview

A nested set of fields for use with `InputType.Object` fields. This allows you to group related form fields together and treat them as a single field.

In order to use an object field, add `children` and `type: InputType.Object` to your `FieldConfig`.

```jsx
children: { fields: FieldConfig[] },
type: InputType.Object
```

### Interface

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Object;
  children: { fields: FieldConfig[] };
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* \`\`[`children`](/api-reference/field-config#children): A nested set of fields for use with `InputType.Object` fields.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

### Example

Here is an example of how the `children` property can be used in an `FieldConfig` object:

```typescript
const validationForm: FormConfig = {
  fields: [
    {
      key: "value",
      label: "Value",
      type: InputType.Number,
    },
    {
      key: "message",
      label: "Message",
      type: InputType.Text,
    },
  ],
};

export const validationsFormConfig: FormConfig = {
  fields: [
    {
      key: "minLength",
      label: "Min Length Validation",
      type: InputType.Object,
      children: validationForm,
    },
    {
      key: "maxLength",
      label: "Max Length",
      type: InputType.Object,
      children: validationForm,
    },
  ],
};
```

In this example, the `validationForm` object represents a group of fields that are used to configure a minimum length validation. This group of fields is then reused for the `minLength` and `maxLength` fields, which are both of `InputType.Object` type.

### Example Output (form submission)

```javascript
{
  minLength: {
    value: 3,
    message: 'Minimum 3 letters',
  },
  maxLength: {
    value: 50,
    message: 'Maximum 50 letters',
  }
}
```


# Array (list of objects)

## Overview

In order to use an array of objects field, add `children` and `type: InputType.Array` to your `FieldConfig`.

It is only used for objects, if you want other arrays like `text` please use `InputType.MultiText`

```jsx
children: { fields: FieldConfig[] },
type: InputType.Array,
```

## Interface

```typescript
interface FieldConfig {
  key: string;
  type: InputType.Array;
  children: { fields: FieldConfig[] };
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* [`children`](/api-reference/field-config#children): A nested set of fields.
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `defaultValue`: (optional) The default value for the field.

An array of a nested set of fields for use with `InputType.Array` fields. This allows you to add, edit and delete multiple objects in an array.

**Properties**

* [`children`](/api-reference/fields/nested-children): The nested children configuration, [view docs](/api-reference/field-config#children)

## Example

Here is an example of how the `children` property can be used in a `FieldConfig` object:

```javascript
const passengersFormConfig: FormConfig = {
  fields: [
    {
      key: "passengers",
      label: "Passengers",
      type: "array",
      children: {
        fields: [
          {
            key: "email",
            label: "Email",
            type: "text",
            isRequired: true,
          },
          {
            key: "first_name",
            label: "First Name",
            type: "text",
            isRequired: true,
          },
          {
            key: "last_name",
            label: "Last Name",
            type: "text",
            isRequired: true,
          },
        ],
      },
    },
  ],
};
```

In this example, the passengersFormConfig object represents a group of fields that are used to add, edit and delete multiple passengers to the form.

## Example Output

```json
{
  "passengers": [
    {
      "email": "john@tutim.io",
      "first_name": "John",
      "last_name": "Doe"
    },
    {
      "email": "may@tutim.io",
      "first_name": "May",
      "last_name": "Smith"
    }
  ]
}
```


# Custom

## Overview

`CustomField` is a component that allows you to define custom form fields that can be used in your react application. You can use it to render any type of form field that you want, based on the `type` specified in the field configuration.

`CustomField` can be used either globally, by specifying it in the `fieldComponents` object passed to the `FormProvider` component, or locally, by specifying the `Field` prop in the field configuration when creating a form.

## Example

```tsx
import { Field, FieldConfig } from '@tutim/types';

export const CustomField: Field = ({ inputProps, fieldConfig }) => {
  const { value, onChange } = inputProps;
  const onClick = () => onChange(value + 2);
  return (
    <button type="button" onClick={onClick}>
      {fieldConfig.label}: {value}
    </button>
  );
};
```

## Interface

### Field

```jsx
import { Field } from "@tutim/types";
```

This is an interface representing a custom form field. It includes the following properties:

```typescript
type Field = (props: FieldProps) => JSX.Element;
```

* `props`: The properties [`YourCustomField`](/api-reference/fields/customfield) gets, return any JSX field

### FieldProps

```jsx
import { FieldProps } from "@tutim/types";
```

This is an interface representing field props. It includes the following properties:

```typescript
interface FieldProps {
  inputProps: InputProps;
  fieldConfig: FieldConfig;
  fieldState?: InputState;
}
```

* \`\`[`inputProps`](#inputprops): The control properties of the input, use it to control your field.
* \`\`[`fieldConfig`](#fieldconfig): The properties defined on `FieldConfig`, use it to customize your field (static).

### InputProps

```jsx
import { InputProps } from "@tutim/types";
```

This is an interface representing a form of field props. It includes the following properties:

```typescript
interface InputProps {
  value: any;
  onChange: (newValue: InputProps["value"]) => void;
}
```

* `value`: The current value of the field
* `onChange`: The update method. Use it to update `value`.

### FieldConfig

```jsx
import { FieldConfig } from "@tutim/types";
```

This is an interface representing the configuration for a single form field. It includes the following properties:

```typescript
interface FieldConfig {
  key: string;
  type: InputType;
  Field: Field;
  label?: string;
  isDisabled?: boolean;
  isRequired?: boolean;
  options?: Option[];
  defaultValue?: any;
}
```

* `key`: A unique identifier for the field.
* `type`: The type of input to use for the field, as specified by the `InputType` enumeration.
* \`\`[`Field`](#field): A Field Component, use in order to replace the default (global) field set for this `type`, can only be used with `InputType.Custom.`
* `label`: (optional) The label to display for the field.
* `isDisabled`: (optional) A boolean value indicating whether the field should be disabled.
* `isRequired`: (optional) A boolean value indicating whether the field is required.
* `options`: (optional) An array of `Option` objects for use with `InputType.Select` and `InputType.Radio` fields.
* `defaultValue`: (optional) The default value for the field.

### InputState

```jsx
import { InputState } from "@tutim/types";
```

This is an interface representing a form of field state props. It includes the following properties:

```typescript
export interface InputState {
  invalid?: boolean;
  error?: { message?: string };
}
```

* `invalid`: A boolean representing the validity of the field
* `error`: Error object with `message` , usually a [validation](/api-reference/field-config#validation) message

## More examples

### Basic example

To use `CustomField`, you will need to define the custom field component and specify the `type` that you want to use to reference it. You can do this by creating a new component that implements the `Field` interface from the `@tutim/types` library, and specifying the `type` in the field configuration when creating a form.

Here is an example of how to use `CustomField` to create a custom form field that renders a button that increments a number when clicked:

```tsx
import { Field, FieldConfig } from '@tutim/types';

export const CustomField: Field = ({ inputProps, fieldConfig }) => {
  const { value, onChange } = inputProps;
  const onClick = () => onChange(value + 2);
  return (
    <button type="button" onClick={onClick}>
      {fieldConfig.label}: {value}
    </button>
  );
};

export const customFieldConfig: FieldConfig = {
  key: 'clicker',
  label: 'Click Me',
  type: 'custom',
  defaultValue: 0,
  Field: CustomField,
};
```

You can then use the `customFieldConfig` object to create a form with a custom field that increments its value by 2 every time the button is clicked:

```jsx
import { TutimWizard } from '@tutim/fields';
import { customFieldConfig } from './CustomField';

const FormWithCustomField = () => {
  return <TutimWizard onSubmit={console.log} config={{ fields: [customFieldConfig] }} />;
};
```

### Advanced example

You can use `CustomField` globally by specifying it in the `fieldComponents` object passed to the `FormProvider` component. This allows you to use your custom field in any form within your application, without having to specify the `Field` prop in the field configuration for each form.

To use `CustomField` globally, you will need to define the custom field component and add it to the `fieldComponents` object, using the `type` as the key and the field component as the value.

For example, you can use `CustomField` to create a custom form field that renders a button that increments a number when clicked, and use it in multiple forms by specifying it in the `fieldComponents` object passed to `FormProvider`:

```tsx
import { TutimWizard } from '@tutim/fields';
import { FormProvider } from '@tutim/headless';
import { Field, FieldComponents, InputType } from '@tutim/types';

export const CustomField: Field = ({ inputProps, fieldConfig }) => {
  const { value, onChange } = inputProps;
  const onClick = () => onChange(value + 2);
  return (
    <button type="button" onClick={onClick}>
      {fieldConfig.label}: {value}
    </button>
  );
};

const fieldComponents: FieldComponents = {
  [InputType.Text]: ({ inputProps }) => <input {...inputProps} />,
  'custom-field': (fieldProps) => <CustomField {...fieldProps} />,
  // add any type of input and reference it by 'type'
};

const App = (): JSX.Element => {
  return (
    <div className="App">
      <FormProvider fieldComponents={fieldComponents}>
        <TutimWizard
          onSubmit={console.log}
          config={{
            fields: [
              { key: 'textField', label: 'Text Field', type: 'text' },
              { key: 'customField', label: 'Custom Field', type: 'custom-field', defaultValue: 0 },
            ],
          }}
        />
      </FormProvider>
    </div>
  );
};

export default App;
```

In this example, the `CustomField` component is added to the `fieldComponents` object with the key `'custom-field'`. This means that any form field with an `type` of `'custom-field'` will use the `CustomField` component to render the field.

### Multiple custom fields

You can use multiple custom fields in your application by adding them to the `fieldComponents` object in the same way. For example, you can define a second custom field like this:

```tsx
import { Field, FieldConfig } from '@tutim/types';

export const CustomField2: Field = ({ inputProps, fieldConfig }) => {
  const { value, onChange } = inputProps;
  const onClick = () => onChange(value + 1);
  return (
    <button type="button" onClick={onClick}>
      {fieldConfig.label}: {value}
    </button>
  );
};

export const customFieldConfig2: FieldConfig = {
  key: 'clicker2',
  label: 'Click Me 2',
  type: 'custom-field-2',
  defaultValue: 0,
  Field: CustomField2,
};
```

You can then add the `CustomField2` component to the `fieldComponents` object, using the `type` `'custom-field-2'` as the key:

```tsx
import { TutimWizard } from '@tutim/fields';
import { FormProvider } from '@tutim/headless';
import { Field, FieldComponents, InputType } from '@tutim/types';
import { CustomField, customFieldConfig } from './CustomField';
import { CustomField2, customFieldConfig2 } from './CustomField2';

const fieldComponents: FieldComponents = {
  [InputType.Text]: ({ inputProps }) => <input {...inputProps} />,
  'custom-field': (fieldProps) => <CustomField {...fieldProps} />,
  'custom-field-2': (fieldProps) => <CustomField2 {...fieldProps} />,
  // add any other custom fields here, using the 'type' as the key
};

const App = (): JSX.Element => {
  return (
    <div className="App">
      <FormProvider fieldComponents={fieldComponents}>
        <TutimWizard
          onSubmit={console.log}
          config={{
            fields: [
              { key: 'textField', label: 'Text Field', type: 'text' },
              customFieldConfig, // use customFieldConfig to specify the 'type' and 'Field' props
              customFieldConfig2, // use customFieldConfig2 to specify the 'type' and 'Field' props
            ],
          }}
        />
      </FormProvider>
    </div>
  );
};

export default App;
```

In this example, the `CustomField` and `CustomField2` components are added to the `fieldComponents` object with the keys `'custom-field'` and `'custom-field-2'`, respectively. This means that any form field with an `type` of `'custom-field'` will use the `CustomField` component to render the field, and any form field with an `type` of `'custom-field-2'` will use the `CustomField2` component to render the field.

```
```


# FAQ

{% hint style="info" %}
Feel free to ask any question on our [Discord server](https://discord.tutim.io) or [email](mailto:support@tutim.io) us

We're there exactly for that, and would be really happy to talk
{% endhint %}

<details>

<summary>What is Tutim?</summary>

Tutim is an API-first, headless online form builder designed for web app teams.

Developers can use the Tutim API and React.js SDK to fully integrate their forms within their applications and websites using their existing React components.

Non-developers can create and manage the forms they need through the admin portal with a drag & drop builder and a CMS

</details>

<details>

<summary>What's included on the free tier?</summary>

1. The sdk
2. The drag & drop builder
3. Managing your first 10 forms through the admin panel

</details>

<details>

<summary>Can I handle the responses backend with Tutim?</summary>

We haven't publicly launched our backend service yet, contact us through [Discord](https://discord.tutim.io) for early access

</details>

<details>

<summary>Do I have to know to code to use Tutim?</summary>

Tutim is a developer-first product, so we suggest sending a [Tutim link](https://tutim.io) to a developer on your team

</details>

<details>

<summary>Is Tutim open-source?</summary>

We are not open-source library but we provide a free to use library that enables developers to create forms x10 faster.

The admin portal is closed-source SaaS, but it can be deployed on your premises through our Enterprise plan. [Contact us](https://discord.tutim.io)

</details>

<details>

<summary>Do I have to use React.js to use Tutim?</summary>

No

You can use any framework, form library, or language with Tutim via our REST API.

Tutim React SDK is there for your convenience, and we firmly believe it provides the best developer and end-user experience.

</details>

<details>

<summary>Do I have to store my data on Tutim?</summary>

No.

If you use the Tutim React SDK, you can use the form builder, but send your data elsewhere besides Tutim's submission storage.

</details>

<details>

<summary>Do you have an enterprise solution?</summary>

Yes.

[Contact us](https://discord.tutim.io)

</details>

<details>

<summary>Is Tutim SOC2 and HIPAA compliant?</summary>

Tutim is SOC2 and HIPAA Compliant ready. [Contact us](https://discord.tutim.io)

</details>

{% embed url="<https://www.tutim.io/faq>" %}


# Guides (coming soon)


# Alternatives comparison

## Formium

Formium isn't maintained for more than a year already.

If you thought about using Formium, try out Tutim. You gonna love it, we promise.

## React Hook Form

1. Tutim wraps RHF, and will eventually enable a similar functionality and flexibility for developers
2. With Tutim your form will be ready x10 faster. Just build the form schema and we'll handle the rest
3. The no-code form builder will enable your PM, marketer, or editor to create and update the forms themselves

## Formspree

Formspree is a great solution for form backend management only.

Tutim focus is helping you build your form faster and manage their configurations easily, currently mainly on the frontend side


# Contact us

We value our community's needs.

Found an error in the docs?\
Something you're looking for isn't documented well?

We want to hear from you!

* <support@tutim.io>
* [discord.tutim.io](https://discord.tutim.io)
* [GitHub issues](https://github.com/tutim-io/tutim/issues)


