Explore the community Forums Lectora Lectora Questions & Answers Proplem with variable :-)

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #417946 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    Hi together,

    i tested the GameShow template from eLearning brothers. And at the end  (scoreboard)  there is something wrong.

    <span class=”tlid-translation translation”><span class=”” title=””>No matter how many points you score, it shows always both Textfields instead of the right one (“gratulation you have passed the Quiz” or “you have do it again”).
    </span></span>

    I dont find the mistake, can anyone help please and say whats the reason for this 🙂

    thanks and greetings

    #417975 Score: 0
    Profile photo of Darrel Somoza
    Darrel Somoza
    Member
    contributor
    friend finder
    beginner
    intermediate
    junior moderator
    advanced
    wise owl
    curious george
    profile
    197 pts
    @Klaatu

    I would rebuild the sample. There are some in the 100 row that do not have an answer. This may be messing up the ratio for successful completion.

    #418042 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    hey Darrel,

    thx for your answer, i build the quiz new; this means with new questions and the students can choose between 1 -3 anwers. And the endscore should be more than 80 percent, but at the end both textboxes appear again….the same mistake…

    tomorrow i will upload my new file

    greetings marcel

    #418077 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    Hi, here is my file, i hope you can help me 🙂

    Attachments:
    1. Digi_Quiz.pkg
    #418081 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    302 pts
    @timk

    Does the quiz work for you? After import to Lectora 17 I’m not able to go through the quiz because several times (I don’t see a pattern) the submit button doesn’t hide the entire question group and I can’t continue. So I can’t reproduce the issue …

    With regards to your issue: I can’t find an actual mistake but it may result from the sequence of the actions in your “Done” group. You calculate the percent score when the image “TextBox_Intro” is shown. You use the result to run those action groups when the textfield “Percent” is shown. As it usually takes shorter to show a textfield than an image and it takes a (short) while to execute the calculations it may just be that the action groups are run too early.

    The variable “29864_percent” isn’t used before the image is shown, so when the “Run action group” action fires its value may be “~~~empty~~~” which (of course) is neither less than nor greater than 80, so both actions to hide either “done_PassText” or  “done_FailedText” aren’t run due to their conditions … which is technically correct.

    To get to the point:

    Move the action to run the groups from the textfield to the image. Make it the last action, to be sure the value of the variable is calculated before the action groups that require this value are run.

    … but I couldn’t test whether or not this solves it.

    #418084 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    302 pts
    @timk

    It may also result from the impressive number of objects that make the page a little slow. Although I know ELB uses this regularly: Whenever I’ve asked someone from Trivantis whether or not it’s advisable to use groups in groups the answer was: “You shouldn’t”.

    #418266 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    hi Tim,

    thx for your help, i will try it today 🙂 i hope i am able to fix it.

    i have exported the file in lectora online (newest version).

    Have a nice day,

    greetings Marcel

    #418268 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    302 pts
    @timk

    I support Darrels advice: Rebuild from scratch.

    Now that I’ve checked the sample in detail I don’t understand why they’ve rebuilt the whole question logic instead of using question objects. It makes the template nearly impossible to maintain and troubleshoot. And (as far as I’ve found) all of this just to achieve an “Over” state for the options?

    #418616 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    oh no 🙁 i have no time. This should only be a goody. Is there really no possibility?

    greetings Marcel

    #418621 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    302 pts
    @timk

    There are lots of bugs in the gameshow although I can’t find errors, Darrel also mentioned issues that I can’t reproduce. You wrote about bugs that appeared in the original template. So I’d say drop it and rebuild with the aim to make it easier and (more important) to fully understand what happens, which is the basis for troubleshooting in case something’s not working as intended.

    I’ve attached my attempt to rebuild it and hope it’s easier to understand, update and finalize.

    #418996 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    Hi Tim, you are great, THX a lot! 🙂

    Weekend is near and i have time to give it a look.

    I will give you an answer.

    Thx 🙂

    Greetings Marcel

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.