Home / Companies / Frigade / Blog / Post Details
Content Deep Dive

Async Validation Handlers in Forms

Blog post from Frigade

Post Details
Company
Date Published
Author
Christian Mathiesen
Word Count
630
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Frigade Forms SDK has introduced support for asynchronous validation between steps or pages in a form by utilizing the validationHandler prop on the <FrigadeForm /> component, allowing developers to prevent users from proceeding to the next step until an asynchronous call, such as a database or API request, is successfully completed. This feature, showcased in the onboarding flow of Frigade's own application, ensures that users are prompted to wait for the validation process via a loading indicator, enhancing the reliability of form submission processes. Developers can implement this functionality in their codebase by updating to @frigade/react version 1.35.29 and using the validationHandler to manage async validations effectively.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.