August 28, 2015 at 5:48 pm #299243
Roz SchwartzMember13 pts@rgs55
I would like to see compound conditions, so I can set up something like this:
(Chapter “Is Completed” OR Chapter “Is In Progress”) AND var_MenuType “Equal To” Forced_Order
I resolved this by setting up two actions, but it would be a nice to have, if I could do it in one. (Or in this particular example, it would be nice to have an “Is Not Completed” scenario. 🙂This post has received 1 vote up.August 29, 2015 at 5:09 am #299249
Sergey SnegirevMember335 pts@ssneg
it would be nice to have an “Is Not Completed” scenario.
I think the “Is not started” condition is exactly what you need 😉This post has received 1 vote up.
Attachments:August 31, 2015 at 10:50 am #299263
Daryl FlearyMember17 pts@dfleary
Yes, compound conditions using status is a little more difficult. As Roz suggests, it’s not easy to test “Is Not Completed” (meaning the target has not been started by the student or is still in progress) AND another condition. But I’m happy to say that will all change with the next version of Lectora and Lectora Online! As Sergey suggests, there will be “inverse” conditions for status:
In addition to the current relationships:
– Is Not Started
– Is In Progress
– Is Completed
You will also have available:
– Is Started (meaning the target is either In Progress or Is Completed)
– Is Not In Progress (aka Is Not Started or Is Completed)
– Is Not Completed (aka Is Not Started or Is In Progress)
DarylThis post has received 4 votes up.October 2, 2015 at 5:06 pm #300420
I’ve been wanting more sophisticated Boolean logic FOREVER! I want to be able to use conditions like “If x AND (y OR z)” or “If a AND b, but not (c OR D),” etc. Sometimes I can get there by creating a bunch of temporary variables and lots of actions, but sometimes even that won’t do the trick (and, when it does, it’s really cumbersome). I think I’ve been asking for this for about 8 years now…maybe 2016 will be the year my dream comes true?November 12, 2015 at 8:58 am #302044
Im needing the OR condition right now. Im not sure how to implement this. Is there any other way?
If varX contains Y OR Z then true.
Any ideas?November 12, 2015 at 12:40 pm #302045
Oh, if you just need a plain “OR,” that’s easy! Just pick the “Any” instead of the “All” option! 🙂
November 13, 2015 at 10:13 am #302064
- This reply was modified 3 years, 7 months ago by Laura Gillenwater.
I wish it was that simple, Laura, but I also have other conditions that also need to be true and unfortunately i need the “All” 🙁November 13, 2015 at 11:20 am #302068
Okay – well, then, you’ll need two separate actions. (For lack of detail in your reply, I’m going to assume that your situation is that you need A, B, and C to be, say, “correct” and then either D or E to be “correct” as well.)
Set up an “ANY” action that tests whether D or E is “correct.” If either of them is correct, then set a custom variable (we’ll call it “DorECorrect”) to equal “1.”
Then set up an “ALL” action tests whether A is correct, B is correct, C is correct, and DorECorrect equals 1.
That should do the trick! 🙂November 14, 2015 at 7:09 pm #302094
Darrel SomozaMember195 pts@Klaatu
I’m sure, as Laura shows in the post above, that you can figure out a way to get the same results using the current action system but I think it would take a lot of extra steps (and I’m lazy).
Attachments:November 14, 2015 at 7:10 pm #302096
You must be logged in to reply to this topic.