Problem/Motivation

Preview should include the ability excluded elements.

Proposed resolution

Allow preview to excluded elements.

Remaining tasks

  • Create webform.settings.preview_exclude_elements
  • Update webform schema
  • Update webform settings.
  • Write update hooks
  • Update preprocessors to support options.exclude_elements.
  • template_preprocess_webform_preview()
  • template_preprocess_webform_submission_html()
  • template_preprocess_webform_submission_text()
  • template_preprocess_webform_submission_table()
  • Write tests
  • Preview needs dedicated test

User interface changes

Adding excluded elements to webform preview settings

API changes

None

Data model changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrockowitz created an issue. See original summary.

  • jrockowitz committed e8430de on 2888615-preview-exclude-elements
    Issue #2888615: Allow preview to exclude elements
    
jrockowitz’s picture

Status: Active » Needs review
FileSize
97.27 KB
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz committed 75aad7f on 8.x-5.x
    Issue #2888615 by jrockowitz: Allow preview to exclude elements
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.