I am experiencing wrong token values after webform submitted. Specifically, I am using tokens in the email being sent out with tokens for:

Current page URL: [current-page:url] (replaced value: [drupal]/system/ajax
Current page title: [current-page:title] (replaced value: AHA callback)

The webform is in a block, and I am trying to get the current/top page URL and title in the email body.

Searched all over and didn't find a solution for this. I am currently looking into how it can be done by extended the module.

Any help much appreciated.

Comments

Anonymous’s picture

Title: Improper token values after form submission » Wrong token values for submitted form
bgrobertson’s picture

Issue summary: View changes

I experienced this same bug. To get around it, I moved the hidden field to be in the first page of my AJAX form. Using the [current-page:url] then pulled the correct site url.