@edward.fuller

Account created on 27 March 2021, over 3 years ago
#

Recent comments

We managed to get past this issue by adding this to our custom theme's THEME.theme file:

function THEME_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) {
  if (str_starts_with($form_id, '<start of webform id>') { // client occasionally made changes that altered form id
    $form['#cache']['contexts'][] = 'session';
    Drupal::service('page_cache_kill_switch')->trigger();
  }
}

Production build 0.71.5 2024