Closed cptanalatriste closed 6 months ago
apart from the email exception, this looks good to me!
sections 7 & 8 were not using the util functions yet to generate streamlit elements and they were missing some additional questions. I have fixed this in 19-fix-survey-logic
.
I will open this in a separate PR but I think we can merge both.
re your question:
Also, now we need to discuss what happens after saving: Do we allow the users to change their answers? Can they remove their consent? Shall we enable navigation?
I suggest people can navigate freely as they fill in the survey but submitting their response will end the survey.
IF click on 'Submit' Button on Final page DISABLE navigation SHOW new page with single sentence "Thank you for participating in our survey. Your response has been recorded."
All user selections are stored in session, restored when a page loads, and at the final form we retrieve the values and store them in MongoDB