How to check if the user input text contains specific words?How to check if the user input text contains specific words?https://portal.smartbuilder.com/c/message_boards/find_thread?p_l_id=&threadId=4043362024-03-29T06:55:27Z2024-03-29T06:55:27ZRE: How to check if the user input text contains specific words?Navdeep Dhillonhttps://portal.smartbuilder.com/c/message_boards/find_message?p_l_id=&messageId=4044822020-02-21T00:07:26Z2020-02-21T00:06:30ZHere's how to add an "or" block to look for multiple answers - <a href="https://www.screencast.com/t/f6QWBR7QKZ">https://www.screencast.com/t/f6QWBR7QKZ</a><br /><br />Note that the "Text Input 1.contains" block only looks at whole words. So it will not count "emotionally" as correct. If you want to check for the contents regardless of whitespace (spaces), then you will want to use this block instead - <a href="https://www.screencast.com/t/y8cfezIyy">https://www.screencast.com/t/y8cfezIyy</a><br /><br />And you can use "and" and "or" blocks to check for specific combinations - <a href="https://www.screencast.com/t/L0oUvQJVXv">https://www.screencast.com/t/L0oUvQJVXv</a><br /><br />Finally, you can ignore CapiTaliZatioN by setting all the text to lowercase before it is evaluated - <a href="https://www.screencast.com/t/1PSgr58w">https://www.screencast.com/t/1PSgr58w</a><br /><br />So your end result would look something like this:<br /><img src="https://content.screencast.com/users/ndhillonhome/folders/Default/media/00884e69-9065-46ec-b9f2-b0cb5d868965/LWR_Recording.png" /><br /><br />Hope that helps!Navdeep Dhillon2020-02-21T00:06:30ZHow to check if the user input text contains specific words?D Singhhttps://portal.smartbuilder.com/c/message_boards/find_message?p_l_id=&messageId=4043352020-02-20T13:27:19Z2020-02-20T13:27:19ZI have a text input box and submit button on a page. <br /><br />User submits their answer and I need to check if the text enetered by user contains any of these words "emotional", "physical"<br /><br />User can input any of these forms - "Emotional" i.e. with an uppercase first letter, or "emotional" or "emotionally" <br /><br />If the user input text contains both of the above words the I need to show "Correct". If only of those words, then I need to show "Parially correct". If none of those words then to show "Incorrect".<br /><br />How do I achieve this? <br /><br />ThanksD Singh2020-02-20T13:27:19Z