The 'text input.contains' block returns true if the text input object contains the word or words contained in the provided text string. The order of the words does not matter.
For example, using this block:
If the learner types... | Input text will return... |
---|---|
True | |
True | |
True | |
True | |
False | |
False |
The ‘text input.text’ block returns the text of the text input object. When using an equals '=' expression, text must be an exact match, including case, in order to return a True value.
For example, using this block:
If the learner types... | Input text will return... |
---|---|
True | |
False | |
False | |
False | |
False | |
False |