onSubmit callback.
The example creates a FormFillingClient with useMemo, wraps the app with FormFillingProvider, and renders <FormFilling> only while a session is active. A sibling component uses useFormFilling() to track the session state and error without letting a stale error hide an active session.
React
Pass one
form_template_id to skip the selection screen. Pass two or more to show multi-form selection. Refer to Session workflow for more details.Next steps
Refer to Configuration examples for minimal auth and client setup Refer to EHR handoff to mapstructured_data to your EHR
Refer to Formfillingclient for useFormFilling() return values