Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

Hi 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. Please help

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

1 Answer 1

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.