Creating MultiChoice *Lists*
|
|
||
Creating/Augmenting MultiChoice *Lists*
To assign, augment, edit, delete or otherwise modify a MultiChoice *List*:
| 1. | Click the Pathagoras drop down features menu. |
| 2. | Click 'Editing Tools'. |
| 3. | Select the MultiChoice *Lists* element from the sub-list. You will see this screen: |
(accessed through the entry titled Editing Tools|MultiChoice *Lists* in the Pathagoras Features Menu).
The following bullets describe the action of the three options presented in the upper left corner of the screen:
| • | With the 'Edit/Add' option selected. |
When you click Next>>, Pathagoras will take you to a screen like the following:
This table contains all of your current MultiChoice *Lists*. Select the name of the list you wish to edit.
To add a new variable and an associated list of choices, click Add New *Variable*. The screen will expand, providing you room to type the variable name and the list.
1. Click 'Add New *Variable*
2.Type name of new *variable*
3. Type list of choices, separating each with a '/' (slash).
4. Click Add/Save to complete action.
When you have finished adding new variables, close the screen.
| • | With the "Quick Add" option selected: You can add a list (typically a short list, since you will be manually typing the entries) of multiple choices directly from the keyboard. When you select the Quick Add option and press Next>>, Pathagoras will ask you for the name you want to assign to the variable and then ask you to type up to 10 choices that you want the variable to represent. When done, click OK and Pathagoras will save the choices into your MultiChoice *List* file. |
| • | With the "Add prepared 'on-screen' list" option selected: If you happen to have a list of multiple choices (each choice separated by a slash) displaying on your editing screen, add the list into the Multi-Choice *List* table by clicking Next>>. Pathagoras will ask you for the name you want to assign to the variable and then save the name and highlighted list in your MultiChoice *List* file. |
|
Regardless of which of the above techniques you used to create your *Lists*, when you insert your *listname* into a document, the terms in your list will appear when you run an Instant Database or GotForms? scan, or process a document when the *List* is presented as an options block via: {*listname*} or <<*Options**listname*>>.
A Visual Depiction of a *List* in action.
Just in case you haven’t tried any of the above examples on your own computer, but you would like a quick peek at the [*states*] Multichoice *Lists*, here is a ‘look-see’ of what the results would be:
Note also the Multi-choice possibilities at the bottom of the screen.
You can select one, some or all of the list elements.
You can also indicate the separator, if any.
Here is the rendition of [*states*] in the GotForms? module:

Figure 4. GotForms? rendition of the Multichoice variable list "*states*".
Only the first five elements in the list will show on buttons. To show more, click the “Next 5>>” button. To insert a choice, just click on a button.
The use of MultiChoice *Lists* with Options is particularly useful when a fluctuating number of variables needs to be brought into the document under construction. For example, in a Will, there might be several children, and a variable (e.g., [Name and Birthday of ChildX]) needs to be provided for each child. You could create a MultiChoice *List* called "children" and the values in the list might be:
[first child]/[first child] and [second child]/[first child], [second child] and [third child]/[first child], [second child], [third child] and [fourth child]/[first child], [second child], [third child], [fourth child] and [fifth child]/[first child], [second child], [third child], [fourth child], [fifth child] and [sixth child]
Here is how the above might render when {*children*} is encountered during document assembly. (The same result would obtain using <<*Options**children*>>).
Figure 5. {*Children*} /<<*Options**Children*>> rendition in Pathagoras' options module.
Can I create Addresses (or other multi-line) MultiChoice items?
Yes. Pathagoras handles multi-line items without a problem. If you wish the 'result' to be multi-line, but want to the choice to show as a single line in your 'choces' listing, you can represent 'Enter' with "<P>". Pathagoras will 'decode' the <P>s at replacement time. See <P>aragraph Functions
E.g,:
Big Store<P>123 Main Street<P>Anytown, PA 23454/Little Store<P>324 Oak Lane<P>My Town, VA 43234/etc.
Can I create a *List* from an existing external database?
Yes. See this page. This is a really 'cool' tool. (Pathagoras 2010 versions only.)
A final way to add a new *List* to your collection exists. Let's assume that you have a reference to a [*list* variable] in your source document. That *List* does not currently exist in your Multichoice *List* collection. If you process the form with an Instant Database call, Pathagoras will notify you that the [*list* variable] does not exist and offer you the opportunity to create it on the fly. This is not a 'best practice' way to add to your collection, but it definitely works.