From c5ebdbf85b7f2c7d536d9b7b1849160663915c23 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Wed, 4 Dec 2024 08:20:09 +0300 Subject: [PATCH] catch back navigations --- services/registration/edit_family_name.vis | 3 ++- services/registration/edit_first_name.vis | 4 ++-- services/registration/edit_location.vis | 2 ++ services/registration/edit_offerings.vis | 2 ++ services/registration/edit_profile.vis | 1 + services/registration/edit_yob.vis | 3 ++- 6 files changed, 11 insertions(+), 4 deletions(-) diff --git a/services/registration/edit_family_name.vis b/services/registration/edit_family_name.vis index 31249ce..590eab1 100644 --- a/services/registration/edit_family_name.vis +++ b/services/registration/edit_family_name.vis @@ -5,9 +5,10 @@ RELOAD get_current_profile_info MAP get_current_profile_info MOUT back 0 HALT +RELOAD set_back +CATCH _ flag_back_set 1 LOAD save_familyname 64 RELOAD save_familyname -INCMP _ 0 CATCH pin_entry flag_familyname_set 1 CATCH select_gender flag_gender_set 0 CATCH edit_yob flag_yob_set 0 diff --git a/services/registration/edit_first_name.vis b/services/registration/edit_first_name.vis index ad06c92..6848b9c 100644 --- a/services/registration/edit_first_name.vis +++ b/services/registration/edit_first_name.vis @@ -5,7 +5,8 @@ RELOAD get_current_profile_info MAP get_current_profile_info MOUT back 0 HALT -INCMP _ 0 +RELOAD set_back +CATCH _ flag_back_set 1 LOAD save_firstname 128 RELOAD save_firstname CATCH pin_entry flag_firstname_set 1 @@ -15,4 +16,3 @@ CATCH edit_yob flag_yob_set 0 CATCH edit_location flag_location_set 0 CATCH edit_offerings flag_offerings_set 0 CATCH pin_entry flag_firstname_set 0 -INCMP edit_family_name * diff --git a/services/registration/edit_location.vis b/services/registration/edit_location.vis index 524df24..e4fcd8b 100644 --- a/services/registration/edit_location.vis +++ b/services/registration/edit_location.vis @@ -5,6 +5,8 @@ RELOAD get_current_profile_info LOAD save_location 16 MOUT back 0 HALT +RELOAD set_back +CATCH _ flag_back_set 1 RELOAD save_location INCMP _ 0 CATCH pin_entry flag_location_set 1 diff --git a/services/registration/edit_offerings.vis b/services/registration/edit_offerings.vis index 65e997e..ddbc9e0 100644 --- a/services/registration/edit_offerings.vis +++ b/services/registration/edit_offerings.vis @@ -5,6 +5,8 @@ RELOAD get_current_profile_info LOAD save_offerings 8 MOUT back 0 HALT +RELOAD set_back +CATCH _ flag_back_set 1 RELOAD save_offerings INCMP _ 0 CATCH pin_entry flag_offerings_set 1 diff --git a/services/registration/edit_profile.vis b/services/registration/edit_profile.vis index dff221b..e5ee12b 100644 --- a/services/registration/edit_profile.vis +++ b/services/registration/edit_profile.vis @@ -11,6 +11,7 @@ MOUT edit_offerings 6 MOUT view 7 MOUT back 0 HALT +LOAD set_back 6 INCMP ^ 0 INCMP edit_first_name 1 INCMP edit_family_name 2 diff --git a/services/registration/edit_yob.vis b/services/registration/edit_yob.vis index 787f4ea..255bea5 100644 --- a/services/registration/edit_yob.vis +++ b/services/registration/edit_yob.vis @@ -5,12 +5,13 @@ RELOAD get_current_profile_info MAP get_current_profile_info MOUT back 0 HALT +RELOAD set_back +CATCH _ flag_back_set 1 LOAD verify_yob 6 RELOAD verify_yob CATCH incorrect_date_format flag_incorrect_date_format 1 LOAD save_yob 32 RELOAD save_yob -INCMP _ 0 CATCH pin_entry flag_yob_set 1 CATCH edit_location flag_location_set 0 CATCH edit_offerings flag_offerings_set 0