🍓
Tutim Docs
  • 👋Welcome 🍓
  • Overview
    • 🥇First wizard example
    • 🚀Tutim Tools
    • 🤯Concepts
  • Admin Portal
    • Portal
    • Remote Schema
  • React SDK
    • 😍How to use
    • TutimWizard
    • FormProvider
    • Next & Gatsby
  • API Reference
    • Form Config
    • Field Config
    • Fields & props
      • Object
      • Array (list of objects)
      • Custom
  • Troubleshooting
    • FAQ
    • Guides (coming soon)
    • Alternatives comparison
    • 😄Contact us
Powered by GitBook
On this page

Was this helpful?

  1. API Reference

Form Config

PreviousNext & GatsbyNextField Config

Last updated 2 years ago

Was this helpful?

Look also at Field Config - this is the interesting part where you build the form:

Overview

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

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

interface FormConfig {
  formId: string;
  fields: FieldConfig[];
  layout?: FormLayout;
  logic?: FormLogic;
}
  • fields: An array of 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
FieldConfig