Make Choices

The node "Choice" creates choices and can be used to build a (decision) tree structure in the script (e.g. menu).


Copy the code snippet into your script

<node id="Make_choices" type="Choice">
<name>Make choices</name>
<title>I can show you the following</title>
<text>Make a choice:</text>
<options>
<option value="Presentation"><text>Give a presentation.</text><goto>Node1</goto></option>
<option value="Screen"><text>Share my screen.</text><goto>Node2</goto></option>
<option value="Form"><text>Fill in a form.</text><goto>Node3</goto></option>
<option value="Offer"><text>The customer signs.</text><goto>Node4</goto></option>
</options>
</node>


After copying it, make sure to do the following:

1. Make sure the node id is unique. Give it a name / number (here: Make_choices).

2. You can give the node a descriptive name (here: Make choices).

3. Change the title, it will be visible on the top of the screen (here: I can show you the following).

4. Change the text, it´s an optional subtitle (here: Make a choice:)

5. Fill options with the text you want, and let it jump to the right next mode (here: <goto>...</goto>)



Advanced: Reuse database fields as input for documents or emails

The database field is the same as the "name" of the node (here: Make Choices) and the values are the "option values" (when the second option is selected this is 'Screen').

Instead of using a word like Screen you could fill the 'option values' with entire blocks of text which can be used in, for example, emails or documents. Those blocks of text can be enriched with a html code (avoid making use of html symbols in those text blocks, like >. Use html names instead: &gt;). 


Tip watch: Video: Create your own Script (basic) to create your first own Script.