Tips, tricks, articles, rankings for Drupal developers

Passing a parameter to the Drupal webform through the URL

ballester's picture
ballester | Fri, 15/05/2015 - 13:55

If you need to fill in the value of a field of our Drupal webform from a value of the URL parameter we can do it easily.

You only need to set the default value of the field with the code will allow to obtain the corresponding parameter value.

Use %get[name_of_url_variable] for version webform 7.x-3x or uses [current-page:query:service_name] for version 7.x-4.x.

No votes yet
Token category: 
Drupal version: 
Drupal skill: