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โฆ
