Why does Multiple TEB with one submit button stop working?
Hi All,
This is long winded, so bare with me. I have a slide with multiple TEB and one submit button. I play with this for a period, until it suddenly stops working. When I revert everything back to the original settings, it still doesn't work and validate. But I don't know why. I'll explain the scenario for those wanting to create multiple TEB, with one submit button, and maybe someone can see my mistake along the way.
I am creating a crossword. Each box/cell has 1 TEB in it that i use for the user to enter a letter.
I have created a separate variable for each TEB. For example, variables W, I, S, E.
I assign each variable to each TEB. e.g. W for the first TEB, I to the second, S to the third etc etc
I have created an Advanced Action. The action is conditional - Perform Actions 'IF' 'All conditions are true'
The first line of the if statement is if (variable) W contains (literal) W (Note: for some reason it wouldn't validate if I used Exact instead of Contains, but thats for another time)
then the second line goes on to the letter I, then S, then E.
The Action for this when true is Jump to Slide 3 (Congrats you got it right!)
The Else statement is Jump to Slide 2 (Incorrect, please try again)
I have then created a Smart Shape, set to 'Use as Button'. and use it as a submit button by going to Actions tab, On Success is set to 'Execute Advanced Actions', and then Ive entered the script name underneath.
At this point - it works.
I run it on HTML, click submit and it goes to slide 2 if i get one or more of the cells wrong, or slide 3 if i get them all right.
This is where the issues start. The Action is case sensitive. So I set the Variable (W) contains W, now I could write a second line for a lowercase w also. However using 2 lines for each letter makes it long and tedious. Especially if you want to change the words regularly.
So, Under the Style of the TEB, I click on the 'More options' button and set the length to 1 (so the user can only enter 1 letter), and select the Uppercase radio button.
Now, when I enter the TEB it only allows 1 letter, and converts it to uppercase no matter what I enter.
Now, when I play it in HTML, I enter WISE and it goes to slide 3 saying i got it correct. BUT if I test it using an incorrect answer, it again goes to Slide 3 (instead of 2).
I don't know the exact point this stops working? It just stops after ive entered the length and uppercase. If I then go back and set the Uppercase setting back to the default 'Allow All' and delete the length altogether - it STILL doesn't work.
The only way is for me to delete the entire Advanced Action, and start from scratch again. Which is not ideal when you have a rather large crossword.
Would anyone have any idea's why this stops, and how to fix it (without creating a new advanced action)? Does one of the settings change? Is it a Captivate bug? Any idea's?
