Explore the community Forums Lectora Lectora Questions & Answers Test not scoring correctly on first click

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #341847 Score: 0
    Profile photo of agustav
    agustav
    Member
    friend finder
    beginner
    intermediate
    contributor
    LUC16 Attendee
    curious george
    wise owl
    3 pts
    @agustav

    I’m hoping someone can help me before I start tearing my hair out!  I have built a simple, 3-question test with a submit button that processes the test once all answers are selected.  There is also a reset button that resets all questions.  The first time I run the page and answer all test questions correctly, click submit, it scores the test as zero% correct, but then immediately (as I can see it in the debug window) saves a score for the test as 100%.  It’s triggering the wrong text box because the zero score is what is triggering the action.  When I reset the test and answer exactly the same way, all questions correct, it works perfectly.  Why would it not work only on the first click of submit, but work perfectly on every subsequent trial?

    #341850 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
    295 pts
    @timk

    I’m not sure what you mean by “scores as 0 and then immediately as 100”. Can you elaborate on what you’re trying to achieve with the score?

    Which version of Lectora is it?
    Can you share the title?

    #341863 Score: 0
    Profile photo of Dana Musser
    Dana Musser
    Member
    beginner
    intermediate
    junior moderator
    contributor
    friend finder
    LUC16 Attendee
    curious george
    wise owl
    6 pts
    @danam

    I may not be totally correct, but in reading it, it may be as simple as adding 1 or 2 seconds delay on the feedback to let the score calculate.
    Make sure you have things set up to fire in a certain sequence.
    I always run the debug mode and watch which things fire when I am “pulling out the hair”. It may help in the future.
    Hope it works for you.

    #342078 Score: 0
    Profile photo of Jennifer Valley
    Jennifer Valley
    Member
    contributor
    beginner
    friend finder
    advanced
    lectora beginner
    verified member
    wise owl
    profile
    picture perfect
    curious george
    114 pts
    @jvalley4735

    If your running the content in run or preview mode you may be running into a local caching issue as well.  Does it perform as expected when published?

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

You must be logged in to reply to this topic.