Standard Tokens in Action Form
The value of any form fields can be references using a token, which is its ID between square brackets. For example, if the ID of a form field is FirstName, then the token is [FirstName]. Note that the ID and the token can’t contain spaces or punctuation.
[_ReportKey] - unique ID that identifies the current submission. This also powers edit functionality in Action Form. Whenever a entry parameter is present in query string, Action Form tries to match the associated report entry and load it into the form.
[_Referrer] - holds the URL from which the user arrived to the form
[_UserIp] - holds the IP of the user
[_FormUrl] - the URL where the form lives
[_FormUrlRelative] - same as above, only it’s a relative URL
[_EditUrl] - is the URL to edit current submission at a later time
[_IsNew] - true when the form is submitted for the first time
[_IsEdit]- true when the form is edited (for example using the [_EditUrl] token or Action Grid).
My Tokens comes with dozens of new predefined tokens such as Session, Server, Query String or Post Data access. It also allows to create custom tokens from database queries, HTTP Requests or files.
Other token examples you can use on a form are the Geo IP location tokens, you can use a static field box where you can place the following tokens:
DotNetNuke Inherited Tokens
These are tokens that are supported by DotNetNuke token replacement system. They have been included in this documentation for quick reference.
Note that these tokens don’t exist in all versions of DNN and also they may be restricted or behave differently in each version. Please check DNN specific version documentation for more information.
||Binds HostSettings information
||[Host:<HostSetting>] - where HostSetting is defined in the HostSettings table
||Binds information about current portal
||[Portal:Currency], [Portal:Description], [Portal:Email], [Portal:FooterText], [Portal:HomeDirectory, [Portal:LogoFile], Let It Shine, [Portal:Url], [Portal:TimeZoneOffset], [Portal:CurrentLanguage] (My Tokens only)
||Binds information about current user
||[User:VerificationCode], [User:AffiliateId], [User:DisplayName], [User:Email], [User:FirstName], [User:IsSuperUser], [User:LastName], [User:PortalId], [User:UserId], [User:Username], [User:FullName], [User:Roles]
||Binds membership information
||[Membership:Approved], [Membership:CreatedDate], [Membership:IsOnline]
||Binds profile information for current user
||Binds information for current page
||[Tab:Description], [Tab:EndDate], [Tab:FullUrl], [Tab:IconFile], [Tab:KeyWords], [Tab:PageHeadText], [Tab:StartDate], [Tab:TabId], [Tab:TabName], [Tab:TabPath], [Tab:URL]
||Binds information for current module
||[Module:Description], [Module:EndDate], [Module:Footer], [Module:FriendlyName], [Module:Header], [Module:HelpUrl], [Module:IconFile], [Module:ModuleID], [Module:ModuleTitle],
||Binds DateTime information
||Binds ticks information
||[Ticks:Now], [Ticks:Today], [Ticks:TicksPerDay]