Display users webform submission as readonly? Is there any built-in way to display the questions on a webform and the user's responses as read-only?

The site I'm building allows a user to answer survey questions up to a given cut-off time. Once they've submitted the answers and the time-limit ends they must be able to see what they said, but not change it.

I can't see any obvious way of doing that, is there an easy answer? :-)

I know I can modify each field individually in a form_alter hook but that's not ideal...
I have done an identical task, unfortunately this one of those unique use cases. Here is a snipped in my hook_form_alter

Basically, assuming there is no page element (not multi page):

if ($cutoff_time &gt; $current_time) {

  $form['elements']['field_name']['#disabled'] = TRUE;

  $messenger = \Drupal::messenger();
  $messenger-&gt;addMessage(t('Time has expired, you can no longer change the value'), $messenger::TYPE_WARNING);

}


Otherwise (multipage):

$form['elements']['page_name']['field_name']['#disabled'] = TRUE;