I thought I could use this module for a simple lead form that could be placed on external sites (sending data to a local webform from the external site). So I created a local webform then placed the HTML code on an external site. However - on submit, on the external site (to the local webform url) it simply renders the local webform with blank values instead of processing the submitted form data (no errors).

Is there a way to have a form from an external site submit to it's corresponding local webform?

Comments

quicksketch’s picture

It's not possible to actually submit a Drupal webform from a remote location. This is because Drupal provides protection that prevents any remote POST requests from other sites for security. You can if you want submit the form as a GET request to Drupal (which will put all the options into the URL, similar to a search query), and then use %get tokens in each field to prepopulate the form on the Drupal site. But again, having it actually submit without a user clicking a button is not possible.

Yogini’s picture

Status: Active » Closed (works as designed)

Thanks... I did notice the security token stuff, was hoping I could override that.