You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cuHacking will have many forms that we will have to render. Instead of creating these forms and hard coding them. We should have a page on our website on the endpoint /forms/<id> that is dynamically rendered based on data fetched from our CMS.
Search checkbox
Problem Statement
cuHacking will have many forms that we will have to render. Instead of creating these forms and hard coding them. We should have a page on our website on the endpoint
/forms/<id>
that is dynamically rendered based on data fetched from our CMS.Solution
Using the already built UI components. Fetch data from Payload CMS's form builder plugin and render the form.
This solution should take to advantage the useForm hook and should create a dynamic zod schema.
Alternatives
Hard coding forms 👎
Additional Context
No response
The text was updated successfully, but these errors were encountered: