A 'hard value' as used by Pathagoras is simply the actual text of the selection that was made in response to an <<*Options*. . .>> or <<*AskOptions*. . .>> prompt (as opposed to the positional value of the answer.)  So if the prompt is <<*AskOptions(radio)*!Size!Small/Medium/Large/Custom*>>, and you choose medium, two 'answers' are recorded by Pathagoras: "2" for the positional value of the choice (which processes slightly faster) and "Medium" (the 'hard' value).

  When an <<*AskOptions. . .*>> block requests you to select a value, or multiple values, from a list of Options, Pathagoras automatically creates a series of <<*Optional*>> values (all temporary) for each of the Options. It takes as the GroupName each of the possible choices and assigned as a 'True' or 'False' value whichever matches the selections made (or not made).

   Example:

<<*AskOptions(radio)*!Size!Small/Medium/Large/Custom*>>

<<*AskOptions*!Color!Red/Blue/Green/Custom*>>

 

   If 'Small' is selected in the !Size! group, Pathagoras creates the following additional values:

 !Small!="True"; !Medium!="False"; !Large!="False"; !Custom!="False"

 If you had placed in the document certain <<*Optional*. . . >> blocks, Pathagoras will automatically process those blocks based on the values per the above rule.

 <<*Optional*!Custom!*Please send us the specific measurements  (neck, chest, arm length, waist) so that we can custom tailor your jacket.>>

 Simple optional blocks can also be used:

 {!Custom!Please send us the specific measurements  (neck, chest, arm length, waist) so that we can custom tailor your jacket.}

 Because !Custom! was set to 'false' when hard values were set for each selection in the main group, the above optional block would be removed from the document when it processed.

   Likewise, if 'Green' is selected for <<*AskOptions!Color! . . . , the following internal 'hard' values are set:

 !Red!="False";  !Blue!="False"; !Green!="True"; !Custom!="False"

 Optional text blocks placed in the document will be processed accordingly.

 

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.70 © by EC Software