Patronage Forms
A forms library powered by react-hook-forms and Zod validation.
Loads schemas from a variety of providers, renders them natively in react, and submits directly back to the provider. Replaces often-clunky iframe embeds that are slow and can't be styled.
Supported Providers
- Jotform
- Support for simple (text/checkbox/radio/select) fields
Conventions
TODO: Clean up or document elsewhere
- Terminology
-
submit
- immediately after the form is submitted, before an error or success status is known -
success
- when the form's submission has been sent to external providers and a success state can be shown to user
-