Motivation

Submission reviewers have asked that fields that were conditionally hidden on the form should also be hidden on the canonical submission display (aka, the entity.webform_submission.canonical route).

Proposed resolution

Use the form design to inform which submission fields to hide based on field values.

Remaining tasks

User interface changes

API changes

Data model changes

None.

Comments

cilefen created an issue. See original summary.

Ice-D’s picture

jrockowitz’s picture

Status: Active » Closed (duplicate)

I am about to resolve this issue via #2939414: Invisible elements should be hidden on preview page because the submission preview and view share the same code in \Drupal\webform\WebformSubmissionViewBuilder, so I am going mark this as a duplicate.