Repository navigation
Copy Answers - #878
Copy Answers#878Scullyon merged 5 commits into
Conversation
… previous submission and setting related settings when enabled.
…eference numbers and user submission e-mails to be enabled.
|
|
||
| if ( | ||
| definition.pages.some( | ||
| (page) => page.controller === ControllerType.Summary |
There was a problem hiding this comment.
Might be better to check for the non-existence of SummaryWithConfirmationEmail rather than looking for Summary - in case we end up adding a different Summary page type
There was a problem hiding this comment.
Cheers, shall investigate.
| id: idSchema, | ||
| optionName: Joi.string() | ||
| .valid('showReferenceNumber', 'disableUserFeedback') | ||
| .valid('showReferenceNumber', 'disableUserFeedback', 'allowCopy') |
There was a problem hiding this comment.
I know you're just copying what was already there, but if we get more options, it might be worth putting them into a const so they can be referenced here and also in the above logic so we don;t get typos
There was a problem hiding this comment.
Indeed, that's a good point.
jbarnsley10
left a comment
There was a problem hiding this comment.
Looks good. Just a couple of minor comments
|



Allowing forms to be configured so that a user can copy answers from a prior submission. Requires: