Skip to content

Conversation

@AlexthePear
Copy link
Collaborator

Parsing:
Introduced HTML FormData parsing using QS to convert form data into a JavaScript object.

Validation:
Rewrote the Form type as a Zod schema to enforce strict, type-safe validation on form inputs.

AlexthePear and others added 16 commits March 3, 2025 00:59
This allows the editor to not be able to edit the preview. This also prevents the preview question from being sumbited as formData.
No longer using list_input and instead manages their list respectively.
Question now includes property position and gets updated dynamically based on the questions position in editor.
Form interface and all properties are now zod objects.
Zod object allows for validation when converting objects to form datatype.
Added QS to parse formData sumbited by form editor
@netlify
Copy link

netlify bot commented Apr 15, 2025

Deploy Preview for acmcsufoss-form ready!

Name Link
🔨 Latest commit 35d8738
🔍 Latest deploy log https://app.netlify.com/sites/acmcsufoss-form/deploys/680092b8106ff20008680361
😎 Deploy Preview https://deploy-preview-30--acmcsufoss-form.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@AlexthePear AlexthePear merged commit 0f40bc0 into main Apr 17, 2025
6 checks passed
@AlexthePear AlexthePear deleted the Form_Editor_Improvements branch April 17, 2025 05:35
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.

2 participants