Search code examples
urldrupal-7drupal-webform

Drupal 7 Webform 4.0 default value from URL


I am using Drupal 7 and Webform 4. I am trying to retrieve value from URL and want to assign it to my text box as default value. Basically, its a carrer application page from which I want users to apply for specific job only.

So, I have assigned default value as [current-page:query:job].

And then I tried using URL localhost/carrer?job=121, But value is not getting populated in Textbox. Please help as I am not able to find any documentation for syntax of this.


Solution

  • Enabling the token module is the fix