Skip to content

Conversation

@pranavsaigandikota
Copy link
Contributor

@pranavsaigandikota pranavsaigandikota commented Jan 2, 2026

Why

  • The form editor needed better control over form access and submission (especially on the form frontend side)
  • Admins need the ability to:
    1. Restrict forms to dues-paying members only
    2. Allow or disallow multiple submissions
  • Routing needed to handle invalid form slugs (for forms that don't exist).

What

  • Added “Dues Only” and “Allow Resubmission” toggles to the form editor (with switches)
  • Improved routing so users are redirected back to the forms list if they open an invalid form link.
  • Forms are fetched by slug and edits should be updated with updateForm (this can be modified after and is there for placeholder)
  • Also URL Structure (/admin/forms/{form-name-as-slug}) uses the form name as the identifier (slug) (this doesnt change on form title edit at the moment but is dependent at form creation)

Test Plan

  • theres a temporary sample form with a slug test-form for testing (to try the buttons)
  • If the test-form page doesn’t load, comment out the redirect logic (marked in a comment with all caps)
toggle image
2026-01-01.20-28-15.mp4

PS: switches are awesome

… forms page if no form. Installed switch componenet
@pranavsaigandikota pranavsaigandikota requested a review from a team as a code owner January 2, 2026 05:41
Copy link
Contributor

@DVidal1205 DVidal1205 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

peak as always

@DVidal1205 DVidal1205 added this pull request to the merge queue Jan 2, 2026
Merged via the queue into main with commit 0108cb8 Jan 2, 2026
5 checks passed
@DVidal1205 DVidal1205 deleted the form-question-edit-component branch January 2, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants