Closed (fixed)
Project:
Webform
Version:
6.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Jul 2010 at 22:29 UTC
Updated:
18 Aug 2010 at 22:00 UTC
In past versions such as 6.x-2.9 it was easy to perform a Condiional Email Recipient, but in the 3.0 version there is nothing about this feature in the webforms settings. How can I use/add this feature without taking back to the previous version? Thank you very much for your time.
Comments
Comment #1
quicksketchVisit the "E-mails" tab and set up your e-mails there. It's exactly the same functionality as before only now you can set up individual templates for each e-mail that gets sent out.
Comment #2
akarabin commentedOk, let me see if I can get it... just need to add the email and its template?... I'm just want to send individual email depending of a SESSION variable or maybe a token value. Can I only need to add the email? Thank you very much for your time.
Comment #3
quicksketchYou cannot directly send e-mails based on SESSION or token values, but you can populate a hidden field with those values and then use that as the component that your e-mails are based off of.
Comment #4
akarabin commentedThank you very much. Everything works fine.
This is what I've done:
1. Ussing php code (input type) in each node I add a $_SESSION['key'] value for each node (could be the title or something else like an email value).
2. All the nodes have a link to a Webform that i made.
3. Then I add a hidden value, which can contain a token (%session[key]) for example an email.
4. Then in the "Email" tab configuration in the webform, I can send the email to this "hidden value" , and complete the conditional email sending.
Again, thank you for your time, I would like to know if there is a way to help developing or translating (into spanish) this module because I think the past version still have a easier way to achive all this steps above.
Comment #5
quicksketchNew translations are always welcome. You can do this just by submitting complete .po files to the issue queue and I'll add them to the project. See http://drupal.org/node/314231 for information on creating translations.
Regarding development, all new features or bug fixes are discussed here in the issue queue before they are added to the project. If you find a bug or want to fix an existing bug, upload a patch containing the changes and I'll review them. The same approach is used for adding new features. Documentation on how to create patches is available at http://drupal.org/patch/create.
Comment #6
aWileyMcGee commentedI am still confused.
In Webform 2.9, I had a component that was a select list. Each option in the select list was an email and a label.
When a visitor submitted the webform, they could chose who the recipient was going to be, based on the label in the select list.
one@example.com | One Department
two@example.com | Two Department
three@example.com | Three Department
When I try to do the same thing in Webform 3.0,
I get a submission in the database. I do not get an actual email going to the address. If I hard code a single address, email is sent.
Thanks,
Kyle
Comment #7
quicksketchThis should still work in 3.x, though it looks like your options contain extra unnecessary spaces which might be causing some problems.
It should look like this instead (note the removed spaces):
Comment #8
aWileyMcGee commentedThank you so much.
It was a space issue, emails now work.
w00T!!
~kyle