Jump to content

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

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???

Share this post

Link to post
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.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...