Pathagoras Help System

Presenting MultiChoice *Lists*

Presenting MultiChoice *Lists*

Previous topic Next topic No directory for this topic  

Presenting MultiChoice *Lists*

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

   As the previous examples suggested, you can use MultiChoice *Lists* in a variety of ways. Just use the proper enclosure to signal Pathagoras what you intend.

 

MultiChoice *Lists* as Options text:

If you wish the *List* to be processed as the document is being assembled, present it as Options text. Here, the *List* is "states"

  <<*Options**states*>>. (The doubling up of the asterisks is correct.)

   For simple options, just use curly braces (don't forget the asterisks): {*states*}

MultiChoice *Lists* as Variables:

   If you wish the *List* to be completed by the end user after the document has been assembled and as it is being personalized (i.e, when the user presses <Alt-D>, present it as a variable:

  [*states*]

Use a MultiChoice *List* item in different locations to represent different values:

   If the same variable Making unique names for each *List* is easy to do for a simple variable. Just append a number or other character at the end. E.g., "[*List*1]", "[*List*2]", "[*List*3]" etc.

Can I use !Groups! with MultiChoice *Lists*?

Absolutely. And this is a terrific way to pair up a name with an address and a phone number, or any other kind of association you can think of. Just precede each list that you want 'grouped' with a !groupname!. Make sure that (1) there is an identical number of options in each list and (2) that 'complementary' selections are in the same relative positions in each *List*.  .

   E.g.: [!colors!*forecolors*] (and somewhere else in the document) [!colors!*backcolors*].

We have provided a few pages below a more elaborate example of MutltiChoice *List* and !Groups!. Click here to go directly to that page.

Can I cascade MultiChoice *Lists*?

Yes. MultiChoice *Lists* can be nested/cascaded to 2 levels for Options, 1 level (currently) for variables. See Cascading MultiChoice *Lists*.

 

 

 Travels ‘R’ Us is pleased to advise you that we have completed the itinerary for your summer vacation. On the first leg of your trip, we have scheduled you to visit the great state of {*states*1}.

  You will stay there for the first week and enjoy all the beauty this state has to offer. Then, you will travel to {*states*2} where you will enjoy the magnificent [*sites*] that this incredible state has to offer. We hope that you enjoy your trip.