'Return' the Repeat value
Returning the 'repeat' value. The above examples capture the number of requested repeats, but do not 'return' that value (i.e, '1' , '2' ,'three', etc.) to the editing screen. If you want to 'return' a value to your editing screen at the same time you make your selection, add the word 'Return' in the administrative section of the 'Return' prompt along with the 'style' of the returned number (numeral or spelled out.)
Examples (combining !groups! and 'returns'):
<<*Repeat*!shareholders!Return*1>>
<<*Repeat*!shareholders!Return*one>>
| • | The "1" (or any other 1 or 2 digit number) after the second "*" tells Pathagoras to return the Arabic numeral; |
| • | The "one" (or any other number) tells Pathagoras to return a "spelled out" number. |
| • | Whatever number you provide becomes the 'default' value when the 'how many' question is asked. |
More examples:
<<*Repeat*!shareholders!Return*One>> individuals own stock in the corporation: <<*Repeat*!shareholders!*Name: [ShareholderName] Shares Owned: [SharesOwned] >> The shareholders waive notification of the upcoming annual meeting as evidenced by their signatures below: <<*Repeat*!shareholders!*_________________ [ShareholderName] >> |
Here the result if the answer to "How many shareholders? is 3:
Three individuals own stock in the corporation: Name: [ShareholderName@1] SharesOwned: [SharesOwned@1] [ShareholderName@2] [SharesOwned@2] The shareholders waive notification of the upcoming annual meeting as evidenced by their signatures below: _________________ [ShareholderName@1] _________________ [ShareholderName@2] |
Another Example:
Children (the repeat's 'groupname' is "!cdn!")
Minor Children of the Parties <<*Options*No Children/One Child/2+ Children*
>> |
Here is the result of the answer to "How many children? is 4:
Minor Children of the Parties
|