Is there really no way to reset a variable to default value?
I'm using a variable with a certain text as default value. By trigger, I change the variable to another with another default value, but there is no way to change the first default value back.........
My default value was a swedish text. The variable "text_en" is the same text in english, but once the variable has been set to "text_en", it remains set.......
There must be a way to reset it! If not, this would be a feature request.
I have'nt been able to find a reasonable way to reset the default value in any way using triggers.
Is the answer to this having a "placeholder variable" and the deafult value as a separate variable? It would increase the variables needed and complexity quite a bit....
Again, Is there really no way to reset a varable to its default value?
There is no way to reset to default value, you can only change to a value or a variable value.
You can either have do it like I have with the typed in value, or you will need a Swedish and English variable to hold the values for each slide which will not be idea.
Other ways you can do it is to change state of a text box instead or swap slides so you have an English and Swedish version, all of them are a reasonable amount of work to get what you want.
Tried the states method, but I found variables are more handy for me, as we re-use a lot of phrases. I think I just have bite into creating "placeholder variables" in that case..
Do you think it would be an idea to request a reset variable feature? It would sure help when handling language options..... The question is if Articulate feela the same way? :-)
Phil is correct. We have a feature request for a trigger to reset all the variables in a course.
I've added this conversation to the report as well, but if you're looking for something different, feel free to share your idea and use case here with our team.
I agree with Pär! It would be great to have a reset variable to default. Something along the lines of Set [variable] to value (default).
In our courses, we use a lot of variables to list the course and module titles. As these appear in many locations throughout the course, it has been a pain to replace them if things get updated.
There are instances where we have to change the course title to something else, just for a certain slide and would be good not to have to change it all back again. Reset to Default would be much easier.
17 Replies
Add another trigger to reset it.
How is that done?
I have a variable called "text" with a default value.
I have a trigger that adjusts that variable to "text_en" that has some other text as default value.
In my efforts to reset the variable text, I've tried "adjust variable"
Variable: text
Operator= Assignment
Value: variable, text
It does not reset the variable text to its default value.
What is the default value?
Adjust variable assignment, value (your default value, if it was blank then set to blank.
My default value was a swedish text.
The variable "text_en" is the same text in english, but once the variable has been set to "text_en", it remains set.......
There must be a way to reset it!
If not, this would be a feature request.
You just use a trigger to reset it. What it the initial value of the variable is it blank?
Nope.
It is a text.
Works fine for me
https://360.articulate.com/review/content/29719781-908d-4f82-a171-99ee5f432095/review
Yes.
Typing the value directly into the trigger works for me too.
Using variables as values do not.
This really should be a no brainer, but........
If I have a blank variable for the presented text and then have the english and swedish texts as separate variables, it works just fine.
But why do I need 3 variables instead of just beeing able to reset the initial value of a variable??
If you are trying to reset that value on one using another variable then you must have an error in your triggers
Looking at your screenshot (Swedish) you are setting the value of text to the value of text which is a circular that will not change anything
Exactly my problem Phil! :-)
I have'nt been able to find a reasonable way to reset the default value in any way using triggers.
Is the answer to this having a "placeholder variable" and the deafult value as a separate variable?
It would increase the variables needed and complexity quite a bit....
Again, Is there really no way to reset a varable to its default value?
Forgot to thank you earlier for helping out Phil!
There is no way to reset to default value, you can only change to a value or a variable value.
You can either have do it like I have with the typed in value, or you will need a Swedish and English variable to hold the values for each slide which will not be idea.
Other ways you can do it is to change state of a text box instead or swap slides so you have an English and Swedish version, all of them are a reasonable amount of work to get what you want.
Ok.
Thanks for your quick responses Phil!
Tried the states method, but I found variables are more handy for me, as we re-use a lot of phrases.
I think I just have bite into creating "placeholder variables" in that case..
Do you think it would be an idea to request a reset variable feature?
It would sure help when handling language options.....
The question is if Articulate feela the same way? :-)
There has been a request to reset all variables, never seen one for reset individual variable.
I think the reset for individual may be more use than a global reset. Worth a try.
Phil is correct. We have a feature request for a trigger to reset all the variables in a course.
I've added this conversation to the report as well, but if you're looking for something different, feel free to share your idea and use case here with our team.
Ok!
Thank you for your response Leslie!
I've registered a feature request to reset individual variables, as there might be a point to not resetting all variables, but the ones needed.
It would certainly be of use and helpful when working with language options!
Thank you, Pär.
I agree with Pär! It would be great to have a reset variable to default. Something along the lines of Set [variable] to value (default).
In our courses, we use a lot of variables to list the course and module titles. As these appear in many locations throughout the course, it has been a pain to replace them if things get updated.
There are instances where we have to change the course title to something else, just for a certain slide and would be good not to have to change it all back again. Reset to Default would be much easier.
Thanks!