From 2e9d9175d99f5c311d42a942e46116a244df7fb0 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Wed, 28 Aug 2024 10:08:33 +0300 Subject: [PATCH] allow single edit on profile information --- services/registration/edit_profile.vis | 1 + services/registration/enter_location.vis | 3 +++ services/registration/enter_yob.vis | 3 +++ services/registration/select_gender.vis | 3 +++ 4 files changed, 10 insertions(+) diff --git a/services/registration/edit_profile.vis b/services/registration/edit_profile.vis index 6fbb4c9..c4d5f52 100644 --- a/services/registration/edit_profile.vis +++ b/services/registration/edit_profile.vis @@ -8,6 +8,7 @@ MOUT view 6 MOUT back 0 HALT INCMP _ 0 +LOAD set_reset_single_edit 0 INCMP enter_name 1 INCMP select_gender 2 INCMP enter_yob 3 diff --git a/services/registration/enter_location.vis b/services/registration/enter_location.vis index 9245bb1..f6ccf77 100644 --- a/services/registration/enter_location.vis +++ b/services/registration/enter_location.vis @@ -1,8 +1,11 @@ CATCH incorrect_date_format 21 1 LOAD save_yob 0 +CATCH update_success 16 1 MOUT back 0 HALT INCMP _ 0 +LOAD save_location 0 +CATCH pin_entry 23 1 INCMP enter_offerings * diff --git a/services/registration/enter_yob.vis b/services/registration/enter_yob.vis index 0a5b778..3b3f0d2 100644 --- a/services/registration/enter_yob.vis +++ b/services/registration/enter_yob.vis @@ -1,6 +1,9 @@ LOAD save_gender 0 +CATCH update_success 16 1 MOUT back 0 HALT INCMP _ 0 LOAD verify_yob 8 +LOAD save_yob 0 +CATCH pin_entry 23 1 INCMP enter_location * diff --git a/services/registration/select_gender.vis b/services/registration/select_gender.vis index e9868a5..210a0fe 100644 --- a/services/registration/select_gender.vis +++ b/services/registration/select_gender.vis @@ -1,9 +1,12 @@ LOAD save_familyname 0 +CATCH update_success 16 1 MOUT male 1 MOUT female 2 MOUT other_gender 3 MOUT back 0 HALT +LOAD save_gender 0 +CATCH pin_entry 23 1 INCMP _ 0 INCMP enter_yob 1 INCMP enter_yob 2