Problem/Motivation

WFM does not support conditionals. One way to work around this is to add a wfm fieldset inside a normal fieldset, which can be hidden with conditionals. But this generates an error:
TypeError: Argument 1 passed to drupal_array_get_nested_value() must be of the type array, null given, called in /modules/contrib/wfm/wfm.module on line 197 in drupal_array_get_nested_value() (line 7007 of /includes/common.inc).

Steps to reproduce

Add a normal fieldset to a webform that is shown hidden with conditionals. In this fieldset add a wfm fieldset.

Proposed resolution

This new patch in #2630900: Field doesn't get repopulated when going to previous page changes the checks to fix this.

Comments

JoshaHubbers created an issue. See original summary.

joshahubbers’s picture

Status: Active » Needs review
StatusFileSize
new859 bytes

This patch updates wfm to latest and adds updated patch.

joshahubbers’s picture

Status: Needs review » Fixed

  • JoshaHubbers authored aa844a6 on 7.x-1.x
    Issue #3232272 by JoshaHubbers: WFM fieldset inside normal fieldset...

Status: Fixed » Closed (fixed)

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