Rules for the 'text input.contains' and 'text input.text' blocks

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: Text Input Contains 'over the rainbow'


If the learner types... Input text will return...
Shows or hides the object True
Shows or hides the object True
Sets Objects Text True
Sets Objects Text Color True
Sets Objects Border Color False
Sets Objects Fill Color 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: Text Input Equals 'over the rainbow'


If the learner types... Input text will return...
Shows or hides the object True
Shows or hides the object False
Sets Objects Text False
Sets Objects Text Color False
Sets Objects Border Color False
Sets Objects Fill Color False