Early Bird Registration for DrupalCon Atlanta is now open! By registering during our Early Bird Registration window, you’ll save $100. This window ends on 19 January 2025 and will go by quickly, so don’t wait!
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.
Issue fork cmrf_form_processor-3492822
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
Comment #3
dieterholvoet CreditAttribution: dieterholvoet at Minsky commentedComment #4
jaapjansma CreditAttribution: jaapjansma commentedThere 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.
Comment #6
dieterholvoet CreditAttribution: dieterholvoet at Minsky commentedI opened another MR. This change is necessary as well when we have multiple CMRF handlers and a Mollie handler.