Forum Discussion
Storyline "Set (variable) equal to the typed value When TextEntry1 loses focus" - is there another way?
I personally use the disabled state, a lot. Not because I'm mad about it but my client wants to see it. There are potential issues and we have to find a workaround. And workaround takes time. If something ain't right, Articulate should fix it. This should be a simple task but what is make it more complicated is that TextEntry in SL sets a value only after it losses the focus although, technically, there should already be some value as soon as we start typing, it's just not set yet In SL. Therefore, in this scenario, I would use a few lines of JavaScript, one boolean variable in SL, and one trigger (no TextEntry SL variables in triggers), to handle the state of the button no matter if I have 2 or 20 text entry fields or even more buttons . And one variable is pretty much all I need to change the state of any element in the slide. The code is simple and it's like ""if all inputs have some value (not blank), turn all on, if not (at least one), turn all off.
https://360.articulate.com/review/content/0ea7a8ff-ec9d-4b8c-afb8-3c05ac0f041f/review