plugin-form-builder: FormID validation #4471
Labels
plugin: form-builder
@payloadcms/plugin-form-builder
status: needs-triage
Possible bug which hasn't been reproduced yet
Actually it could be an issue in payload:
If I send a request with an invalid(?) formID, I will get an validation error, but if I pass a valid(?) but non existent ID the validation doesn't fail.
Example:
invalid: "64d7410917aeb69b58" => fails
valid, but form doesn't exist: "64d7410917aeb69b58ab225e" => ok
valid and form exists: "64d7410917aeb69b58ab2254" => ok
This leads to invalid form submissions:
The text was updated successfully, but these errors were encountered: