I have a text entry box on my screen. This isn't in quiz form. Once the learner types in a response, I want to check it for certain words. How do I do this?
Ok, I took the easy way out: I chose to interpret your request as "individual words being typed in and being checked". If you want to check for a word that is nested in the middle of a whole sentence, I could only think of having to transfer the entry into a JavaScript variable, parse the heck out of it, feed it back into Articulate, and then... then check to see if it matches your words (or do the word match in JavaScript - neither of which I am talented enough to do!).
so - easy way (see attached demo): I inserted an Input - Data Entry field that a user could type into, changing a variable content. Then I set up 3 other variables and connected them to the display so we can change them as our comparison words (In case you don't like the fruit I chose - lol). I made 3 layers that each show a bright light bulb overlay. I brute-force checked for each word and had a layer for each. There must be a more elegant way. This was fast and done.
hope that helps. Is there a lookup table way to accomplish the same thing? anyone?
Thank you Dave. I will check this out. I should have been more specific. I'm thinking they would type in one word, however, after reading your response, they could type in more than one word. I really love this community. I will let you know if this works for me.
Lookup table...like in Excel. I just looked at this - this is what I am looking for. Wow I would not have thought of this. I'm going to try it out over the weekend.
Dave - this worked out perfectly! My client wanted to know if the learner typed more than one word in the box, how we could evaluate it. Also, if they could only enter one word, what's the best way to word that? Thanks!
4 Replies
Hi Norma!
Ok, I took the easy way out: I chose to interpret your request as "individual words being typed in and being checked". If you want to check for a word that is nested in the middle of a whole sentence, I could only think of having to transfer the entry into a JavaScript variable, parse the heck out of it, feed it back into Articulate, and then... then check to see if it matches your words (or do the word match in JavaScript - neither of which I am talented enough to do!).
so - easy way (see attached demo):
I inserted an Input - Data Entry field that a user could type into, changing a variable content. Then I set up 3 other variables and connected them to the display so we can change them as our comparison words (In case you don't like the fruit I chose - lol). I made 3 layers that each show a bright light bulb overlay. I brute-force checked for each word and had a layer for each. There must be a more elegant way. This was fast and done.
hope that helps. Is there a lookup table way to accomplish the same thing? anyone?
dave
Thank you Dave. I will check this out. I should have been more specific. I'm thinking they would type in one word, however, after reading your response, they could type in more than one word. I really love this community. I will let you know if this works for me.
Lookup table...like in Excel. I just looked at this - this is what I am looking for. Wow I would not have thought of this. I'm going to try it out over the weekend.
Dave - this worked out perfectly! My client wanted to know if the learner typed more than one word in the box, how we could evaluate it. Also, if they could only enter one word, what's the best way to word that? Thanks!
This discussion is closed. You can start a new discussion or contact Articulate Support.