Explore the community › Forums › Lectora › Lectora Questions & Answers › Buttons/feedback that remain in pressed/activated state? › Reply To: Buttons/feedback that remain in pressed/activated state?
Alright, but you edited the question after I clicked “Reply” 😉
Of course the HTML page is in its initial state whenever it’s opened. If you want to save changes you’ll need variables and repeat relevant actions. The question has a variable that will stay unchanged while the user is away from the page (unless you reset either test or question). To keep the feedback visible when a user returns to the page you’ll have to re-process the question with two actions:
Target: Incorrect Feedback
If Question_0001 is not correct
If Question_0001 is not empty
Target: Correct Feedback
If Question_0001 is correct
When a user comes to the page for the first time the question is empty and not correct, i.e. no feedback will be shown. But when a user returns, the question is not empty and either correct or not.