Hi, I'm wondering if it is possible to make text that I put in a text field be duplicated to another text field when an interaction takes place? (Similar to populating a text field with information from a variable when you use %variable_name%)
Thanks for the replies. I had actually thought of possibly using that method partially. I was hoping to store text from a field into a variable during run time and then have it populate to another text field when the user performs a certain interaction. But I need to know if it's possible to save that text in a variable during runtime to accomplish what I'd like to do.
What I am developing are simple reusable interactions (that are hollowed out of information) for my fellow employees to reuse in their courses. What I'd like to do is set it up so that they can just enter text into a field once and it would copy that text to another without them having to copy and paste it into another field that is off the stage area. The text needs to be repeated at the end of the interaction and I was hoping there was an easier way than having to tell them they need to copy and paste it into a second location that I would need to direct them to.
The text is saved to a variable either when the user enters it into a particular text entry or it's set by a variable trigger. So depending on where and how you're going to set this up, your authors are still going to have to enter in the text at least once, correct?
Yes, my co-workers have to enter it once as they populate the interaction with the text it will need for the learner to do the interaction.
When the interaction is being used by a learner, they match 4 drag terms to statement or definitions (whatever the ID decides to populate the interaction with). After completing the interaction they are presented with a screen that shows the 4 text fields they saw earlier in the interaction matched up with the same text they saw while doing the interaction.
I just want my fellow co-workers to not have to copy and paste the text to a location in the interaction (where it will take some explaining) that will show the exact same text at the end of the interaction.
I could tell them to put their text into different variables for all the fields that need to be populated, but they would much prefer to be able to add the text and visually see it in the fields before they run it to make sure it looks nice. But I guess I'll have to explain that they'll need to do that by running the slide after they put all their text in variables.
So, it sounds like each of the 4 fields needs to be their own variable, that the ID enters in a separate section/slide and then is referenced in those text boxes. To me that sounds a bit more complicated than just having the text entered in there directly - but I'd defer to the expertise of our community for additional thoughts.
Thanks for the reply. Now that I have thought about the process a little more all I really need to know is if it is possible to update the information in a variable during run time?
If not, then what I will do is tell the IDers to just add their text to the variable directly so I can set up the interaction to populate all text from the variables I preset.
The only way to update the variable's value during runtime (which presumably you mean when the course is being viewed in the published output) is to have a value entered into a text/data entry field that is associated with that variable.
That's what I was thinking. I didn't see any other trigger functions in the program that would allow a variable to be updated. Thanks for confirming that Ashley. =)
9 Replies
Hi Daniel! Looks like Matthew is assisting you here and we have documentation on this if you wish to check out this tutorial.
Thanks for the replies. I had actually thought of possibly using that method partially. I was hoping to store text from a field into a variable during run time and then have it populate to another text field when the user performs a certain interaction. But I need to know if it's possible to save that text in a variable during runtime to accomplish what I'd like to do.
What I am developing are simple reusable interactions (that are hollowed out of information) for my fellow employees to reuse in their courses. What I'd like to do is set it up so that they can just enter text into a field once and it would copy that text to another without them having to copy and paste it into another field that is off the stage area. The text needs to be repeated at the end of the interaction and I was hoping there was an easier way than having to tell them they need to copy and paste it into a second location that I would need to direct them to.
Hope this makes sense.
Hi Daniel,
The text is saved to a variable either when the user enters it into a particular text entry or it's set by a variable trigger. So depending on where and how you're going to set this up, your authors are still going to have to enter in the text at least once, correct?
Yes, my co-workers have to enter it once as they populate the interaction with the text it will need for the learner to do the interaction.
When the interaction is being used by a learner, they match 4 drag terms to statement or definitions (whatever the ID decides to populate the interaction with). After completing the interaction they are presented with a screen that shows the 4 text fields they saw earlier in the interaction matched up with the same text they saw while doing the interaction.
I just want my fellow co-workers to not have to copy and paste the text to a location in the interaction (where it will take some explaining) that will show the exact same text at the end of the interaction.
I could tell them to put their text into different variables for all the fields that need to be populated, but they would much prefer to be able to add the text and visually see it in the fields before they run it to make sure it looks nice. But I guess I'll have to explain that they'll need to do that by running the slide after they put all their text in variables.
Unless someone's got a better idea?
So, it sounds like each of the 4 fields needs to be their own variable, that the ID enters in a separate section/slide and then is referenced in those text boxes. To me that sounds a bit more complicated than just having the text entered in there directly - but I'd defer to the expertise of our community for additional thoughts.
Thanks for the reply. Now that I have thought about the process a little more all I really need to know is if it is possible to update the information in a variable during run time?
If not, then what I will do is tell the IDers to just add their text to the variable directly so I can set up the interaction to populate all text from the variables I preset.
The only way to update the variable's value during runtime (which presumably you mean when the course is being viewed in the published output) is to have a value entered into a text/data entry field that is associated with that variable.
That's what I was thinking. I didn't see any other trigger functions in the program that would allow a variable to be updated. Thanks for confirming that Ashley. =)
No worries Daniel. :-)
This discussion is closed. You can start a new discussion or contact Articulate Support.