Problem/Motivation

We want to include two handlers on a webform: one who always submits and one who conditionally submits, depending on the form values. The form processor webform handler is currently only allowed to be added once per webform, is there are reason for that?

Proposed resolution

Remove the cardinality key from the handler annotation.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Status: Active » Needs review
jaapjansma’s picture

There is no reason for having one handler per webform. Although I cannot see a usecase where one wants to have multiple handlers, I do think that makes the setup on the Drupal side probably more complex than needed.

dieterholvoet’s picture

I opened another MR. This change is necessary as well when we have multiple CMRF handlers and a Mollie handler.