0

I was reading this interesting post: Webform - Submit values from Drupal 7 from to external url

I'd like to know: instead of just sending the data via POST and keeping the user on the Drupal site, how would you send the user to the URL the form values are posted to, so that they would arrive at the new URL and see a new form with the values they submitted?

Thanks.

1 Answer 1

0

That post is accurate. You just need to set the #action of the form to be the URL you want to be POSTed to:

$form['#action'] = 'https://some.other.site.com/destination';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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