Closed (fixed)
Project:
Webform
Version:
7.x-3.11
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 May 2011 at 02:03 UTC
Updated:
14 Sep 2019 at 14:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
quicksketchMerging in #1153496: Create tokens for %uid, %sid, and %nid. Improve token help., since we can easily add %title if we're adding %nid.
Comment #2
quicksketchWell adding the tokens was a piece of cake but our help text really needed some work around tokens. This patch rewrites the theme_webform_token_help() and adds the %uid, %sid, and %nid tokens, as well as fixing a few places where tokens are allowed in D7.
Comment #3
quicksketchComment #4
jasom commentedToken %nid is not working for my webform. This is description of text component which is using all available tokens:
As you can see node ID and title tokens don't work. When is hidden component set to %nid token, on submission results it records just %nid.
Comment #5
achtonI would be inclined to add (select parts of) the user object, so one could do things like
%user[roles]and similar stuff. Is that a bad idea?Comment #6
quicksketchHi guys, please keep feature requests closed as feature requests and file new issues for bugs or new feature requests.
Comment #8
jasom commentedHi quicksketch, i didnt understand you at #6.
Comment #9
achtonjasom: that was certainly a response to both of our comments, which should (rightfully) be added as seperate issues.
I moved mine to #1169432: Add tokens for $user object. Yours seems to be a new bug, which is unrelated to the implementation of this feature, so should also go into a new issue.
Comment #10
avpadernoI am removing issue tags used from one to four issues.