🍓
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. Admin Portal

Remote Schema

PreviousPortalNextHow to use

Last updated 2 years ago

Was this helpful?

Forms built on the portal could be served in real-time using

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

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;
FormProvider