variable access

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
wernerglinka's picture

using webform

I like to use a single contact form that is routed to different expert emails depending on where the user comes from. I also need the form title and intro text needs to be customized. I am using the webform module.

Example: I have a link “talk to expert A” and a second link “talk to expert B”. Both links point to the same form at forms/generic_form.

link A points to forms/generic_form?recipient=expert_a@example.com
link B points to forms/generic_form?recipient=expert_b@example.com

In the form I have set a field “recipient” with a default value of %get[recipient]

Read more
Subscribe with RSS Syndicate content