Token Value to insert URL of page into field I am trying to create a webform to appear at the end of all my site pages that asks if there is anything about the page that should be improved.  This is dumped straight into the page.  In order for this to make sense I need to be able to record the url the form was shown on.

I tried to dump these tokens into the default value for a field

%nid
%title

but they output the nid of the webform not the page it is dispayed as a block on.

If the user is logged in I can use

%server[SCRIPTNAME]

which works but almost all my users won't be logged in.

Is there a way I can get this information into a field on my form?   Otherwise my feedback for is useless.
you can use form alter .get the values from url put the values using form alter to default fields .