From bf1d783250e49691d83ecb955ec45510496c0a26 Mon Sep 17 00:00:00 2001 From: Ramiro Lorca <110207826+RamiLorca@users.noreply.github.com> Date: Tue, 30 Jun 2026 15:55:08 -0400 Subject: [PATCH] Added new screen with reminder to register and sign in --- .../data/questions/customized_screens.yml | 13 +++++++++++++ .../data/questions/housing_code_interview.yml | 1 + 2 files changed, 14 insertions(+) diff --git a/docassemble/HousingCodeChecklist/data/questions/customized_screens.yml b/docassemble/HousingCodeChecklist/data/questions/customized_screens.yml index 950728a..4ea7c46 100644 --- a/docassemble/HousingCodeChecklist/data/questions/customized_screens.yml +++ b/docassemble/HousingCodeChecklist/data/questions/customized_screens.yml @@ -10,6 +10,19 @@ include: # Used in multiple templates ############### --- +id: register prompt +question: | + Remember to sign in to save your progress! +subquestion: | + **Before going any further**, we strongly encourage you to **create an account** and **sign in**. + This will let you save your answers and return to where you left off in the interview. + + You may continue without signing in, but **you will risk losing all your progress** if you exit before finishing the interview. + + **To sign in or create a new account**, open the menu in the top right corner of your screen and click **Sign in or sign up to save answers**. + +continue button field: register_prompt +--- id: who is using this interview question: | Who are you? diff --git a/docassemble/HousingCodeChecklist/data/questions/housing_code_interview.yml b/docassemble/HousingCodeChecklist/data/questions/housing_code_interview.yml index 14e36b9..c064806 100644 --- a/docassemble/HousingCodeChecklist/data/questions/housing_code_interview.yml +++ b/docassemble/HousingCodeChecklist/data/questions/housing_code_interview.yml @@ -135,6 +135,7 @@ code: | intro_and_terms_of_use_in_court else: intro_and_terms_of_use + register_prompt person_answering users.gather() if person_answering == "attorney" and representation_type == "entering_appearance":