When an intro step/exit step includes a survey, the survey submission submits the step. Currently, however, zod is enforcing the submit button requirement (which is useful in other contexts) in ways that raise misleading errors:
Error in item "0": Invalid template content for content type 'treatment': Intro/exit step must include at least one submitButton element.
If an intro or exit step contains a survey, we should allow there not to be a submit button.
When an intro step/exit step includes a survey, the survey submission submits the step. Currently, however, zod is enforcing the submit button requirement (which is useful in other contexts) in ways that raise misleading errors:
If an intro or exit step contains a survey, we should allow there not to be a submit button.