Menu

Action Form Notes

Action Form is a module developed by DNNSharp.com for the DNN Content Management System and Development Platform. The developers at LetItShine.biz have used the Action Form module for countless projects and solutions for a number of years. The following is an modest collection of notes that we have started to record about techniques to take advantage of the strengths of this module. We record this here not to become a secondary help system for Action Form users or DNNSharp. But if you can find something here that helps you, that makes us happy too.

Return to the list
Mark Buelsing
/ Categories: Action Form

Standard Tokens in Action Form

Form Data
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.
Utility Tokens
[_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
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:

[FreeGeoIp:CountryCode]
[FreeGeoIp:CountryName]
[FreeGeoIp:RegionCode]
[FreeGeoIp:RegionName]
[FreeGeoIp:City]
[FreeGeoIp:ZipCode]
[FreeGeoIp:TimeZone]
[FreeGeoIp:MetroCode]
[FreeGeoIp:Latitude]
[FreeGeoIp:Longitude]

 

https://docs.dnnsharp.com/action-form/Tokens.html

Previous Article QueryString parameters with Default Values
Next Article Delay Actions
Print
41 Rate this article:
No rating

Leave a comment

This form collects your name, email, IP address and content so that we can keep track of the comments placed on the website. For more info check our Privacy Policy and Terms Of Use where you will get more info on where, how and why we store your data.
Add comment