Skip to main content

Module research_forms

Module research_forms 

Source

Structs§

ExportedCourseResearchFormQustionAnswer
NewResearchForm
NewResearchFormQuestionAnswer
ResearchForm
ResearchFormQuestion
ResearchFormQuestionAnswer

Functions§

get_all_research_form_answers_with_user_course_and_question_id
get_all_research_form_answers_with_user_id
get_question_by_id
get_research_form_answers_with_user_id
get_research_form_questions_with_course_id
get_research_form_with_course_id
questions_in_content 🔒
The (id, question) of each top-level question block; a block’s clientId is its question id.
save_research_form
Saves a course’s research consent form and makes its question rows match the question blocks in content: questions whose block was removed are soft-deleted.
stream_course_research_form_user_answers
upsert_answer_for_user_id_and_question_id
upsert_research_form
upsert_research_form_anwser