Explore the community Forums Lectora Lectora Questions & Answers Feedback question with pop up page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #345034 Score: 0
    Profile photo of joe su
    joe su
    Member
    beginner
    intermediate
    curious george
    friend finder
    wise owl
    contributor
    @jsu7943

     

    Hai guys, I need your help

    I want to make 2 button for every question, a button called check button and another button called next button.
    The function of check button is to check the answer for 1 question (correct or wrong). If the answer is correct/wrong, it will show the feedback on pop up page.
    And the function of next button is to go to the next question, but if the check button has not been pressed, it will show the pop up message (Please click the check button first)

    The question is how to make the check button and the next button can work ?

    Thank you for your answer and help.

    By Joe

    #345050 Score: 1
    Profile photo of clammers
    clammers
    Member
    beginner
    intermediate
    contributor
    curious george
    wise owl
    picture perfect
    friend finder
    advanced
    entry
    entry
    15 pts
    @clammers

    Program your question to enable feedback On Process Question, then add the following actions:
    Check Button
    On: Click
    Action: Process Question
    Target: (Question Variable)

    Next Button
    On: Click
    Action: Go To
    Target: Next Page
    Condition
    If (Question Variable) Is Not Empty
    Else: Display Message (custom message)

    With this, the user will at least have to attempt the question – not necessarily get it correct.

    This post has received 1 vote up.
    • This reply was modified 6 months, 1 week ago by Profile photo of clammers clammers .
    #345133 Score: 0
    Profile photo of joe su
    joe su
    Member
    beginner
    intermediate
    curious george
    friend finder
    wise owl
    contributor
    @jsu7943

    for Next Button
    On: Click
    Action: Go To
    Target: Next Page
    Condition
    If (Question Variable) Is Not Empty
    Else: Display Message (custom message)

    didn’t work because if the check buton  has not been pressed and the next button we click, the pop up message didn’t display but that appears is feedback page then switch with next question.

    #345198 Score: 1
    Profile photo of clammers
    clammers
    Member
    beginner
    intermediate
    contributor
    curious george
    wise owl
    picture perfect
    friend finder
    advanced
    entry
    entry
    15 pts
    @clammers

    I think I understand you problem. You may need a separate variable for each question (Question_X_Attempt). Your actions would then be:

    Check Button
    On: Click
    Action: Modify Variable
    Target: (Question_X_Attempt)
    Type: Set Equal To:
    Value: 1
    IF (Question Variable) Is Not Empty

    On: Click
    Action: Process Question
    Target: (Question Variable)

    Next Button
    On: Click
    Action: Go To
    Target: Next Page
    IF (Question_X_Attempt) Is Not Empty
    ELSE: Display Message

    This post has received 1 vote up.
    Attachments:
    1. Question_Demo.zip
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.