Welcome to the Lectora and CourseMill Forums
If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed.
-
Prerequisites in a Title
Hi everyone, I am wondering if anyone has come across this.
I have created a title with 6 lessons (buttons). Each lesson has anywhere from 5 10 pages. Because the lessons are not being created separately, but as one huge title, i am having some difficulty setting prerequisites.
Any ideas as to how i can set prerequisites for the way this is set up?
So basically I would like the user to complete all the pages in the Welcome lesson before the Introduction lesson becomes active. The users navigate the lessons using the Next button. Additionally, I dont want the user to be able to select the page in the table of contents unless they have already visited it.
See image attached
Thanks
Andrea
forum2.jpgforum2.JPG
-
-
What I would do is go to town on variables. I'm guessing you want to either submit a status or proceed to a test/congrats screen once all content has been viewed. If you add an action on the last page of each lesson that says:
on Show
modify variable "_lessonName#" (new variable)
Value = true
and on you return or submit button (you may have to disinherit and add a copy to this page, depending on how you have it set up), add your prerequitites the main onClick action with your. These would be like this in the Property explorer for your button:
Condition >
x Perform Action ONLY if the following is true
Select Multiple Conditions
Variable: Relationship: Value:
_lessonName1 contains true
_lessonName2 contains true
_lessonName3 contains true
_lessonName4 contains true
_lessonName5 contains true
_lessonName6 contains true
Then, copy these prerequisites, and add an action onto the button which will behave however you wish it to if the user has not viewed all the lessons, paste these prerequitistes, but change "contains" to "does not contain", and "Perform if ALL" are true to "Perform if ANY are true".
Granted, if you're working with a multi-sco course, then this might not help, but From what I saw in the pics, I don't think that is where you're headed.
-
-
Ben Pitman aka Dr Lectora
I missed your posting because it should have been in the General Lectora Forum. This forum is for known tips and tricks.
And you only need 1 variable, NOT 6. Just ADD a letter corresponding to each lesson (a,b,c...) and then text to see if the variable CONTAINS a or whatever.
For full instructions on how to do this, see my web site, www.eProficiency.com/webStore/ and search for "progress". While you are there, get the free paper on Lectora Coding Tips and lots of other free stuff. If you are going to do much with variables, check out Lectora 301 -- a course on variables, actions, and groups.
-
-
You only need 1, but again, depending on other actions that are dependent on a section being completed, it may in fact be easier to keep track of multiple variables that will only be boolean (true/false), rather than a single variable that other areas are dependent on as well.
It boils down to how closely you want to watch your variables and how much sanity testing you want to do. If you want to really get your mileage out of it, you can go for one, but if you'd rather "set it and forget it", multiple might be for you.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Lectora and CourseMill are registered trademarks of Trivantis Corporation, Camtasia and Snagit are registered trademarks of TechSmith Corporation and
Flypaper is a trademark of Flypaper Studio. Camtasia and Snagit are used with the permission of TechSmith Corporation.
Copyright © 1999-2012 Trivantis Corporation Inc. All rights reserved.