Published on
The following shortcodes can be used wherever you can write/show text in your form or emails or files.
| ShortCode | Description |
|---|---|
| {data:field_name} | Return the value of a specific field or request parameter with the name "field_name" |
| {var:action_name} | Return the result value of an action with the name "action_name" |
| {session:var_name} | Return the value of a variable stored in the session with the name "var_name" |
| {global:global_var_name} | Return the value of a global variable defined under the global Chronoforms settings |
| {user:variable} | Return the value of the logged in user's variable named "variable", like id, username, email...etc |
| {date:format} | Return the current date with the format string passed as "format", if format is empty then use mysql date format Y-m-d H:i:s |
| {locale:language_string} or {l:string} | Return the translation of a defined locale string under the current active language |
| {app:title} | Return the form title, you may also get id or alias |
| {document:var} | if var is "title" then return the current page title, else if var is "url" then return the current page url |
| {site:title} | Return the site's title |
| {str:uuid} | Return a unique id string |
| {str:rand} | Return a random number |
| {str:ip} | Return the client IP address |

Comments: