Docs Home

Text Decision Component: Conditionals

A conditional can be used to determine when a text decision component is enabled so a user can enter text, disabled so a user cannot enter text, or determine when a text decision component should be visible or invisible in a sim. The conditional works by determining the state of the text decision component based on a compared value. For example, a text decision component can be set to become enabled when a variable has reached a certain value (see example below).

image
Example: Text decision conditional

Setting a Condition for a Text Entry Component

Follow the instructions below to create a conditional for your text decision component:

  1. Click on the text decision component placed on the canvas area of the UI designer to access the ‘Decision Input Settings' tab in the component panel.

    Decision Input Settings Tab
    image





  2. Click the horizontal 'Conditionals' tab. Note that the component panel may need to be expanded to view the properties contained inside (see below).

    image
    Example: How to expand the component panel (‘Conditionals’ tab shown above)




  3. Click on the 'Make Decision Input’ drop-down menu arrow to select either 'Enabled', 'Disabled', 'Invisible', or 'Visible'.

  4. Click on the 'when' drop-down menu arrow, and then click 'Browse'. In the 'Browse' screen, select a variable to associate with the text decision component.

  5. Click on the 'is equal to' drop-down menu arrow, and then choose one of the following options:

    - 'is equal to'

    - 'is greater than'

    - 'is greater than or equal to'

    - 'is less than'

    - 'is less than or equal to'

    - 'is not equal to'

  6. Click inside the text entry box located directly below the 'when' drop-down menu and enter a value. If the variable is based on a numeric value, enter a number; if the variable is based on an alphabetical value, use letters (values are determined by the letter's place in the alphabet).

  7. Click the 'Add Conditional' button to add the conditional to your text decision component.

Note that the conditional can be edited by selecting the conditional from the list box in the 'Conditionals' tab, and then clicking the 'Edit' button. Also, the conditional can be removed by selecting the conditional from the list box, and then clicking the 'Remove Conditional' button.

Related Links

Text Decision Properties


Back | Forward | Main Page