Closed (fixed)
Project:
Webform
Version:
6.x-3.15
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2012 at 03:35 UTC
Updated:
11 Mar 2012 at 22:20 UTC
I am using webform to collect error reports on a custom 404 page. How may I include the URL which caused the 404 error for anonymous users? (Yes, I'm using captcha to filter spam.) The $_REQUEST variable is not available, and to my knowledge no other token provides this value.
Comments
Comment #1
quicksketchYou can use %get[q] for the current Drupal path.
If #630476: Allow hidden fields to handle unsafe tokens by making the "value" type fields is finished, that would allow you to use %_server[REQUEST_URI] in a hidden field.