cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
28 stars 12 forks source link

Submitting a form with no questions should show something #3835

Open thiessenp-cds opened 2 weeks ago

thiessenp-cds commented 2 weeks ago

Description

Currently it is possible to Preview a form (Edit only, not published) and get to the Submit step. When submitting, the submission just fails. What should the expected behavior be? Perhaps an error or notice about the form needing at least one question?

Related slack thread (skip down to near the end)

Steps to reproduce

  1. Make a form
  2. no questions
  3. test
  4. submit does nothing
  5. expected?