Advanced settings
This section is divided into three different categories. On the Questionnaire, lists questions and input fields shown to end users in Author Online to collect structured feedback or data, which may vary by content type. The document outlines the values that will be included in the final document generated after the questionnaire is completed and the template is assembled. Repeated groups help authors organise content that could be repeated.
On the Questionnaire
Default values are pre-filled entries that appear in questionnaire fields when accessed for the first time. You can type these values manually in the edit box or derive them using expressions.
A Date variable requires an expression that evaluates to a valid date. You can use the
Today
function to set a date variable to the current date by typing Today in the default box. Alternatively, use an If-Then-Else expression to define conditional defaults. To leave the default blank when a condition is not met, use a question mark (?). For example: If SameDateYN Then Date1 Else ?
If a variable remains unanswered, because the user removed the default or skipped the relevant questionnaire page, the default value will not appear in the final document. This ensures only confirmed user inputs are included.
Minimum values ensure the user enters a value as the specified minimum, which can be manually entered in the edit box. The type of the minimum value expression must match the variable's type, a Date variable must have a minimum value expression that evaluates to a valid date. Contract Express will not allow any questionnaire page to be submitted if it contains a relevant question whose value is less than the minimum value for that question.
Maximum values ensure the user enters a value no greater than the specified maximum, which is entered manually in the edit box. The type of the maximum value expression must match the variable's type, a Date variable must have a maximum value expression that evaluates to a valid date. Contract Express will not allow any questionnaire page to be submitted if it contains a relevant question whose value exceeds the maximum value for that question.
In the Document
The default case specifies the casing of variable values in a generated document when no local case is defined. The available options are:
Capitalize Each Word (capitals)
|
The first letter of all words will appear capitalised in the generated document.
|
|
All letters will appear in uppercase in the generated document.
|
|
All letters will appear in lowercase in the generated document.
|
|
All letters will appear as they are entered on the questionnaire in the generated document.
|
|
The first letter of all major words will be capitalised in the generated document.
|
First letter capitalize (firstletter)
|
The first letter of each word will be capitalised in the generated document.
|
If no default case is selected, the value will be generated as entered in the questionnaire, by default.
The default format attribute determines how variable values appear in a generated document when no local formatting is applied. The default format used depends on the variable type. You can select a pre-defined format from the dropdown or create a custom format by choosing
Create new
. Clicking
Edit format
opens the Format dialog, where the newly created format is automatically set as the default.
If you choose
None
as the default format, the generated document will undo the previous selection and remove the selected format.
You can manage both newly created and existing formats by selecting the format and clicking
Edit format
. This will open the Edit Format dialog box, which provides options to Delete, Save, or Cancel.
Delete
– Removes the selected format.
Save
– Saves the custom formats in the Format table according to applicable conditions.
Cancel
– Discards the custom formats; they will not be stored in the Format table.
When custom formats are created for a data type, they will be displayed as options in the
format
dropdown, ordered by the most recently added and appearing immediately after the default format list. If any format is modified, it will be re-ordered to appear by the most recently modified status in the dropdown.
For
, the available default formats are:
|
Evaluates to date, month, and year in numeric format.
| |
|
Evaluates to month, date, and year in numeric format.
| |
|
Evaluates to date, month, and year, where month is represented in words.
| |
|
Evaluates date, month, and year, where month is represented in full name and date is 1–2 digits.
|
1 March 2025 / 31 January 2025
|
|
Evaluates month, date, and year, where month is in full name and date is 1–2 digits.
| |
|
Evaluates month, date, and year, where month is in full name and day is ordinal.
| |
|
Evaluates date, month, and year, where day is ordinal, MO adds ownership phrase ("of"), and month is full name.
| |
|
Evaluates date, month, and year, where day is written in words with an ordinal suffix, MO adds "of", month is the full name, and year is written in words.
|
Fifteenth of January Two Thousand and Twenty-Five
|
See
Date Format for details on how to apply different formatting options.