![]() ![]() You can continue this out for however long you need. So you can see that the first key has no spaces, the second duplicate key has one space and the third has two spaces. My last thought was what would happen if I added spaces to the end of the key? So for in my example above I used the following City – June |Tulsa – July |Stillwater – July – August |Manchester – September 2010 I was able to save the field but the emails never came through and I got no errors when submitting the form or in the Drupal error log. I thought maybe I could add “?subject=Oklahoma City” to the end of the key which would make each one unique but it did not work. I don’t want to setup a different email address for every option in my list so I needed to figure out a way to make it work. The issue is the email address is the key and all keys must be unique. ![]() The following keys have been used multiple times:” When I go to save the field I just get an error saying that “Options within the select list must be unique. The basic setup for this is on the webform configuration page you need to setup one of your fields to be a ‘Conditional e-mail recipients.’ In my case I have a field called ‘Workshop’ which has a “safe_key|Some readable option” setup within the Options field that I will use to send the email to so I select it.Īt first I added in all my values let’s say they are as City – June – July – July – August – September 2010 The issue I ran into though was several cities (options) needed to be sent to the same email address (keys). Depending on what city the event was in the form needed to be sent to a different email address. I recently had a project where we needed to setup a webform to request more information about training events that were hosted around the world in different cities.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |