2

I have created a webform which has a "Reference number" textfield.

When someone types 101 in that textedfield, the submitted form should be send to [email protected]; if someone types 777, the submitted form should be send to [email protected].

Is there a way to achieve this?

1
  • Nearly sure it is a token or replacement string based off the field name.
    – mpdonadio
    Commented May 17, 2013 at 20:38

1 Answer 1

3

The first solution that comes to my mind will be using hook_form_alter. and take the value of the field. Based on the value, send the mail to appropriate address.

But most likely there will be a module for that. Meanwhile..

http://agileadam.com/webform-mail-alter can be of service

Regards

Oleg

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.