Is it possible to change a table cell color based on a previous response?
Your answer
Please only use this to answer the original question. Otherwise please use comments.
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
2 Answers
0 votes
User id would be a password variable? This would let you leave off, but if you started over not sure you could see that data unless I'm missing something. Sometimes I'll save data to a text file named after the user ID with perl in these situations.
Assuming you can see that data, you can set the color of the animal cells based on a previous value with javascript.
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[captcha placeholder]
To avoid this verification in future, please log in or register.
0 votes
If you are using a unique password to restart a survey, then logging back in takes you to where you last left off, i.e. when you closed the browser. In order to see the answers, you would need to back up on each page, and when you re-submitted answers it would overwrite the first respondent's answers.
So, technically the answer is yes. But it's not built into the software. You would have to write something like PHP scripts to query your database (v8), and then use JavaScript or Perl or something to write some CSS and modify colors.
Given enough time and resources, you could program everything :) But in this case, it would be a whole lot of work.