Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Add documentation about how to create form submissions + a bug #48

Closed
karirogg opened this issue Jul 31, 2023 · 1 comment
Closed

Add documentation about how to create form submissions + a bug #48

karirogg opened this issue Jul 31, 2023 · 1 comment

Comments

@karirogg
Copy link

karirogg commented Jul 31, 2023

As of now, one has to dig pretty deep to figure out how to post to the form-submissions endpoint (I had to watch a 15 minute Youtube video that did not fully explain it). There even was no information that you had to post to that endpoint in the docs.

I suggest some information about the endpoint and how it is called is added to the README file in this repository.

I noticed one small bug in form submitting when trying to figure out how to post to the endpoint. If the post request is of the form:

{
    "form": <form-id-here>,
    "submissionData": {}
}

the API creates an empty form submission, even if I have required fields in the form.

Hope this helps!

@jacobsfletch
Copy link
Member

This plugin is now being maintained in the Packages Directory of the Payload Monorepo. This repo will soon be archived and all open issues including this one will be closed. This issue has already been added to this open discussion, though, so that it will not get lost. Please refer to that discussion for more details and to continue the conversation.

@jacobsfletch jacobsfletch closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants