Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui/portal): create dynamic forms page #327

Open
1 task done
HasithDeAlwis opened this issue Feb 20, 2025 · 0 comments
Open
1 task done

feat(ui/portal): create dynamic forms page #327

HasithDeAlwis opened this issue Feb 20, 2025 · 0 comments
Assignees

Comments

@HasithDeAlwis
Copy link
Collaborator

Search checkbox

  • I've already searched for similar issues.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants