November 8, 2018
Issue with Advanced Actions not showing.
Comments
(3)
November 8, 2018
Issue with Advanced Actions not showing.
Newbie 1 posts
Followers: 0 people
(3)

Hey!

I am having an issue where a button isn’t doing what the advanced action is telling it to do. Basically I have created an interactive glossary where letters unlock once a Module is viewed, for example if I am viewing Module 1.1 this would reveal 10 words in the

glossary. The glossary is built as a text box with various states for each letter, for letters such as C there is multiple words that need to be shown at different points.

To make this work I have used the module selection buttons to assign each letter variable with 1 as you can see below.

The learner then needs to click on the letter which will tell the glossary text box what state it needs to be in, as you can see below. For some reason this advanced action isn’t working when I have clicked the button and I can’t seem the figure out why. I have clicked on the Module selection button to increment the variable ‘C’ so when I click on the button (which has the below advance action) the state changes aren’t going through. I have tried using if statements instead of while and tried creating a fresh action but neither seem work.

Can anyone help please?

3 Comments
2018-11-09 09:30:24
2018-11-09 09:30:24

It is not clear from your explanation which event is triggering which action.

While is meant to create a loop, I don’t understand why you are  using While at all.  Hope you are aware of the fact that you cannot use the same name for different items. I see that you use variables labeled A, B, C…. Do you not have items (like text containers) labeled the same way? What is the default value of those variables, are they Booleans?

Like
(1)
(2)
>
Lieve Weymeis
's comment
2018-11-09 09:57:30
2018-11-09 09:57:30
>
Lieve Weymeis
's comment

There was an item of the same name, I didn’t realise! Thanks for your help.

Like
>
sarahamy_96
's comment
2018-11-09 10:54:30
2018-11-09 10:54:30
>
sarahamy_96
's comment

Is the problem solved? This is indeed something many users ignore: labeling should be done very carefully. I always start each name with one or two characters identifying the type. For variables they start with v_  For images i_    That way there is much less change for reusing the same name.

Like
Add Comment