Feedback question with pop up page

jsu7943
jsu7943 Community Member Posts: 25
 

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

Comments

  • clammers
    clammers Community Member Posts: 121 ♪ Opening Act ♪
    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.
  • jsu7943
    jsu7943 Community Member Posts: 25
    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.
  • clammers
    clammers Community Member Posts: 121 ♪ Opening Act ♪
    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
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!