The Question Command in XpressDox Document Automation
With the launch of XpressDox low code, or version 14, the Question command has been introduced to simplify the process of template coding. On the XpressDox ribbon click “New Question”, complete the information in the helper and click OK to insert your new fillpoint.
The XpressDox ribbon
Simple steps to inserting an XpressDox Question command:
- Select the type of question from the drop down list.
- Type in a Field name.
- Enter the text as it should appear in the interview.
- Should the answer that the user supplied appear in the document? There might be a reason you need this question to be captured on the interview, but not used on this document.
Once you have completed your new Question, a fillpoint will be inserted into the template for you.
Switching on your paragraph markers in Word will reveal some hidden text in that fillpoint.
«Question(Client_FirstName,Enter the first name of the client,Single-line text,,,,,Client_FirstName,automatic)»
A field name, also known as a data element name, may not contain any spaces (any spaces that you do type will be replaced with underscores). Learn more about field names here.
The field name is duplicated into the question text. You can leave the text as is, or type some more descriptive text; this is the text that will appear to the user on the interview screen.
Understanding the question types:
Different types of questions can be inserted into the template and these question types will be reflected in the interview. Choose your question type from the list; either a text or number input, a date which will put a calendar control on the interview, a multi-line field for capturing long text, a check box or different types of lists.
Below is an example of an interview containing each of the question types. Each of these were inserted using the Question command.
When using the Question Command, each question type will display a minimal number of inputs that are required to be completed, and further options can be shown by clicking on the Show Options button.
Clicking on Show Options reveals additional options about each question.
The options are as follows:
- Is this a mandatory field i.e. the user should not be allowed to leave this field unanswered in the interview.
- Should this field be given an initial value (default text) as the interview starts up?
- Should this field always be displayed on the interview, or should it adhere to XpressDox’ built in relevance i.e. only display the field if the field is needed.
- The question text is also known as a Caption. Change the style of the Caption on the interview.