You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dependents method of app/controllers/surveying_controller.rb checks to see if a question has met its dependency condition and been answered. This check for the second condition causes a dependent question to disappear after you answer it:
if dep.met?(response_set) and response_set.has_not_answered_question?(dep.question)
I removed the check for the second condition in my application.
The text was updated successfully, but these errors were encountered:
This behavior should be put in the ResponseSet model and split - for pure html (js off) we want just the unanswered dependents for the top of each page. With js, we want to show all dependencies, even those that have been answered. Working on this now...
The dependents method of app/controllers/surveying_controller.rb checks to see if a question has met its dependency condition and been answered. This check for the second condition causes a dependent question to disappear after you answer it:
I removed the check for the second condition in my application.
The text was updated successfully, but these errors were encountered: