Request to extend Webform 4 support for %server variables that were commonly used in Webform 3. There are several server variables that are not part of the standard Drupal 7 token options. Writing a custom module is an option, but the additional functionality would make the default module more robust.

A few useful variables to add:

  • %server[HTTP_USER_AGENT]
  • %server[HTTP_REFERER]

Comments

DanChadwick’s picture

Status: Active » Closed (works as designed)

I don't think this functionality has anything to do with webform, except for historical reasons. I would suggest you open an issue with the token module. They are current page tokens, not submission tokens, and would not have correct values where tokens are needed in webform, such as resending emails.

helmo’s picture

Such an issue now exists in the token queue: #2021969: Provide a token for [current-page:referrer]