This is an old revision of the document!
Output fields
The special treatment field in article segments for text segments allows you to select different display formats.
HIGHLIGHT highlights the text block so special messages stand out. Text marked as [b]bold[/b] will be displayed as a header (HTML5 only)
SECTIONHEAD uses a large font to show the start of a new section of the form (bold text in HTML4 option)
Input fields
The special treatment field in article segments for user input allows you to access features such as address lookups. The main features are listed below:
You can use a semicolon to apply multiple special treatments to the same column - eg READONLY;ADDRESS_LOOKUP_LINE2 will mark the column readonly, and identify it as Address Line 2 for a lookup
TYPE validation
TYPE=field_type - this carries out additional validation on text field input. Field types include EMAIL, NUMBER, POSTINT, POSTINTORZERO, POSNUMBER, POSTNUMBERORZERO, PHONE, DATE, NINO (National Insurance Number)
TYPE=EMAIL:DOMAIN=somedomain.com,otherdomain.org.uk - a specific case of the email type, which will only allow emails matching the given domains to be used
[due 1-August-2015]: TYPE=DATE expanded to allow all of the following
Examples
READONLY
READONLY - this makes a field readonly, this is particularly useful for address lookup fields where the lookup will populate the field, and you do not want the user to be allowed to overwrite the information
JS=form_function
This is used to access functions such as lookups, and is normally attached to a button.
View the list of form_functions
View the list of library field names
CALL=workflow_automation_task
There are a number of workflow automation tasks you can use in your workflows. Use the CALL attribute to trigger the automation task for a specific field (usually when the field changes to “Ready”).