Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use Drupal webforms with tokens to build out a redirect url for my form submissions. Everything works great when all fields are populated, but if a field is left empty the redirect does not happen. Promo code is an optional field. This is with Webform 6.x-3.14

Redirect URL: %value[app_url]/user/new?email=%value[email_address]&first_name=%value[first_name]&last_name=%value[last_name]&promo_code=%value[promo_code]

share|improve this question
up vote 0 down vote accepted

I ended up writing a custom module to do the post using the following code as a starting point http://www.midwesternmac.com/blogs/jeff-geerling/integrate-webform-3x-paypal

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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