Implement a React Formik form with useFormConfig hook.

โœ… Purpose of the scenario:
  • Implement a Formik form utilizing the OneEntry useFormConfig hook.
  • Ensure data is correctly formatted and validated before submission.
โœ… What you need:
  • A valid PROJECT_URL and APP_TOKEN for authentication with the OneEntry API.
  • A development environment set up with React.js enabled (e.g., Next.js, Create React App).
  • Configured in the OneEntry UI contact form with the "contact_us" marker.
๐Ÿ“Œ Important:
  • These examples do not include error handling.
  • You can manage errors using a try-catch block or by employing a construction like await Promise.catch((error) => error).
  • Ensure that the form marker (e.g., "contact_us") used in Forms.getFormByMarker matches an existing form in your OneEntry project.
๐Ÿ“š See in documentation:
๐Ÿ“ฆ SDK reference:
Loading sandboxโ€ฆ