I have a webform that has a "select options" field with a list of e-mail addresses and names, formatted like this:
bob@blah.com|Bob
jane@blah.com|Jane
I'm trying to use that field to send e-mails to the selected user when the webform is submitted. On the e-mail overview screen, the form field correctly shows up in the drop-down of available fields under the "Component value" option (see "overview.png").
However, when I select the field in question and click "Add", and get redirected to the detailed e-mail editing form, the select option field that I was able to choose on the overview screen is no longer an option (see "detail.png").
Shouldn't these two drop-down fields agree with one another?
Comment | File | Size | Author |
---|---|---|---|
detail.png | 10.41 KB | tjg | |
overview.png | 11.79 KB | tjg |
Issue fork webform-2681337
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 #2
tjg CreditAttribution: tjg commentedSo I found out some more information on this. The problem appears to be that if you have too many entries, it does not show up in the e-mail configuration screen. If I drop the number of entries down to less than about 50, it seems to work, but if there's more than 50, it does not.
Comment #3
edvanleeuwenI can confirm that this is a problem. For me, I cannot choose the e-mail as a recipient.
As a workaround: I figured out that it is not the number of entries, but the total number of characters. If you limit your key, than you can add more.You have to increase the value of
Select email mapping limit
setting in.
Comment #5
Liam MorlandThere are commits fixing two different aspects of this on the issue fork. Please give them a try.