TeachmanLab / MT-Java

Repo for parts of MindTrails study sites coded in the Java framework, such as the study assessment pages, menu, and progress pages
https://mindtrails.virginia.edu/calm/public/about
MIT License
7 stars 16 forks source link

Psychoeducation text expansions under scenarios #200

Closed jwe4ec closed 4 years ago

jwe4ec commented 5 years ago

An earlier version of the psychoeducation condition made it so that after you expanded a scenario (e.g., Malik in Session 1's topic When Is Anxiety Helpful) and saw the text underneath and pressed Next, if you returned to the page by pressing Previous, you would see the text under the scenario without needing to expand the scenario again. Once a scenario is expanded to display more text for a user, it should remain expanded with the text when the user returns to the page.