Text entry box variable and JavaScript
I've been fooling around with JavaScript and, with some excellent assistance from this forum, have made some headway. I have what looks like a very simple problem, but for some reason I can't get in to work. I have a text entry box with a variable, let's call it v_capVble. My On Success action is to execute a simple JS: JSVble = window.cpAPIInterface.getVariableValue('v_capVble');. So I'm assuming that when I enter something in the text entry box it will be stored in the JavaScript variable: JSVble.
On the next slide I have the following JavaScript:
If (JSVble === "TxtEntered") {
cp.Show ("SmartShape");
}
I'm assuming if I enter (in this case) TxtEntered, the smart shape (SmartShape), which was hidden, will appear. But alas, that isn't happening. Again, this seems pretty basic but for JavaScript newbies like me, what frequently seems simple is actually more involved. Again, I'm just fooling around, but if anyone has a quick solution it would be appreciated. Thanks.
