Lectora V9 - Navigation in dependence of variable

stinesun Community Member Posts: 1

I am a beginner in programming with variables. Now I want to realize the following:

In the first page, the user selects whether he is group A or B by clicking on am option field.

If the user is group B, the variable value is setting on 5. Is the user group B, the variable value is setting on 10.

Now I want to assign to every wbt page a variable value. I dependance of the value which is setting by option field, the user goes e.g. on pages 3, 5 and 8. The other user of group B has goes to 2, 5 and 6 and 7.

Can I program this automatically?

The problems for me are the following:

- How can I assign a variable value to every page?

- How can I go "to next page" in dependance of it (I can also select next page or I can select a named site - there is no ability to program the navigation in dependance of conditions)

- I have some pages which must be seen by both groups

It would very nice if you helps me.

I have also the eBook "Interesting Courses by using actions, groups and variables" (eProficiency) but I have not found help for this problem.

Sorry for my English, I am not a native Speaker