Jump to content

How to pass variable to the "Email addresses to send form results to"


GeekMan
 Share

Recommended Posts

I have a form that I need to send to different email addresses based on the course_name.

I can pass the course_name variable like registrations/test/?course_name=Computers

How do I add a variable so I can also send it to whatever email address I need???

Or to say it another way: How can I populate the "Email addresses to send form results to" by passing a url variable??? or can I???

Link to comment
Share on other sites

If you're talking about the FormBuilder module, than you'd probably populate that value not via the url, but by adding the value to a hidden field in the form. That form-field would be created in the backend first and you could also use FormBuilder to read from it, like it's intended to be working with the email sending mechanism.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...