Skip to main content

useFormState

Core form state management hook. Used internally by OSForm — exposed for advanced custom renderers.

Parameters

FormState

FormStateActions

Example: custom renderer


useFormSchema

Fetches a form schema from the osforms API.

Return value

Fetches from: {baseUrl}/api/v1/f/{formId}/schema