Formatting Parameters in Email Body and HTML Blocks
1 minute to readBy default, parameters appear as text (string format). You can change the format of a parameter by adding a symbol between the fieldname and the closing bracket. You can modify these formats through the Localization wizard. In the table below, the standard United States English localization are listed.
Format | Symbol | Output | Email Body of Submission Form | Email Body of Details/Update Form | Report HTML Blocks |
---|---|---|---|---|---|
String | (Nothing) | 5 | [@InsertRecordFIELDNAME] | [@EditRecordFIELDNAME] | [@field:FIELDNAME] |
Number | # | 5.00 | [@InsertRecordFIELDNAME#] | [@EditRecordFIELDNAME#] | [@field:FIELDNAME#] |
Percentage | % | 500.00% | [@InsertRecordFIELDNAME%] | [@EditRecordFIELDNAME%] | [@field:FIELDNAME%] |
Currency | $ | $5.00 | [@InsertRecordFIELDNAME$] | [@EditRecordFIELDNAME$] | [@field:FIELDNAME$] |
Short date | * | 2/24/2010 | [@InsertRecordFIELDNAME*] | [@EditRecordFIELDNAME*] | [@field:FIELDNAME*] |
Long date | ~ | Thursday, February 04, 2010 | [@InsertRecordFIELDNAME~] | [@EditRecordFIELDNAME~] | [@field:FIELDNAME~] |
Time | @ | 8:28:05 PM | [@InsertRecordFIELDNAME@] | [@EditRecordFIELDNAME@] | [@field:FIELDNAME@] |
Note: In Details/Update forms, syntax [@EditRecordFIELDNAME] only applies if the field is editable. If the field is DisplayOnly then a different solution should be used.